This tool is meant to clone the sumneko/lua-language-server wiki's repo and output the documentation as HTML files, instead of Markdown. It is possible that this could be used for other repositories by switching out the links defined near the top of index.ts
, but I don't really support it. This tool is just a quick script to do a relatively simple job.
You will need nodejs
and git
.
- Clone the repo
npm i
to install dependenciestsc
to compile TS into JSnpm run generate
to generate HTML files ornpm run generate-zip
to get the files as a zip
You should now have a html/
directory or doc.zip
that contains all of the HTML and CSS, as well as a sub-directory images/
with all of the images from the wiki.