Use mdbook for documentation (fixes #375) #9

Manually merged
dessalines merged 3 commits from nutomic/lemmy:mdbook into master 2020-01-01 23:00:39 +00:00
Owner

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 under docs/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.

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](https://rust-lang.github.io/mdBook/index.html). What's left to do is throw the output of `mdbook build docs/` (generated under `docs/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.
Author
Owner

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.

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.
Author
Owner

We also need to add links to the documentation both in the readme and in the Lemmy frontend.

We also need to add links to the documentation both in the readme and in the Lemmy frontend.
Owner

Ah gotcha. I'll work on serving that html up in the front end now.

Ah gotcha. I'll work on serving that html up in the front end now.
dessalines closed this pull request 2020-01-01 23:00:39 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LemmyNet/lemmy#9
No description provided.