Use mdbook for documentation (fixes #375) #9
Loading…
Reference in New Issue
No description provided.
Delete Branch "nutomic/lemmy:mdbook"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I basically moved all the documentation out of the readme, and into the docs folder, in a format that can be used by mdbook. See here for documentation on how this can be used.
What's left to do is throw the output of
mdbook build docs/
(generated underdocs/book/
) onto some server (its all static files). For now its probably fine to do this manually, but we could also setup a CI task. We also need to add a link to the documentation in the readme.Moved translation docs back to readme, and copied install docs in both places like we said.
I also updated the x86 Dockerfile to include docs with the image. I dont have any way to build the Docker images for other architectures, so I left those alone.
We also need to add links to the documentation both in the readme and in the Lemmy frontend.
Ah gotcha. I'll work on serving that html up in the front end now.