Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

instructions to generate docs in html like the website #76

Open
jtoy opened this issue Apr 22, 2022 · 2 comments
Open

instructions to generate docs in html like the website #76

jtoy opened this issue Apr 22, 2022 · 2 comments
Labels

Comments

@jtoy
Copy link

jtoy commented Apr 22, 2022

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

@bjornbytes
Copy link
Owner

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants