lovr-docs icon indicating copy to clipboard operation
lovr-docs copied to clipboard

instructions to generate docs in html like the website

Open jtoy opened this issue 3 years ago • 2 comments

So people can read docs like the website, but locally.

jtoy avatar Apr 22 '22 18:04 jtoy

The conversion to HTML is done in lovr.org. I want to switch to static generation so HTML/JSON/etc. can be generated with a simple script, but haven't prioritized it yet.

bjornbytes avatar Apr 22 '22 18:04 bjornbytes

I have implemented static generation in a single Lua file: .lua/generate.lua on the redbean branch. I'm working on switching over to this but there are some problems with the markdown library and webhooks blocking that.

The output files can be viewed on their own, but a further step could be to concatenate them all together to get an "all the docs on one page" thing.

bjornbytes avatar Oct 22 '22 02:10 bjornbytes