File | Mode | Size |
---|---|---|
.gitignore | 100644 | 13B |
COPYING | 100644 | 34KiB |
README.md | 100644 | 1,173B |
helpztags | 100755 | 2,278B |
vimd2h.py | 100755 | 7,998B |
vimdoc2html.py | 100755 | 2,985B |
vimhelp.css | 100644 | 1,093B |
This is a script to convert Vim documentation file into HTML.
The basic usage is:
./vimdoc2html.py plugin.txt
or if the script is somewhere in the $PATH
:
vimdoc2html.py plugin.txt
The only "advanced" usage is currently enabled by -r
or --raw
flag, in which
case instead of outputting complete standalone HTML page only minimal output is
produced. This way after customizing style/template only the contents can be
replaced.
HTML formatting is performed via modified version of vimh2h.py by Carlo Teubner <(first name) dot (last name) at gmail dot com>. This one is simplified to remove unused here code and a bit improved to add anchors to each tag definition. CSS style is from there too.
Tags are extracted via helpztags
tool written by Jakub Turski
yacoob@chruptak.plukwa.net and Artur R. Czechowski arturcz@hell.pl. It's
supplied alongside for convenience and to provide a couple of changes, see
there.