mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-12-02 13:32:43 -05:00
Added: * `make build-docs`: builds the documentation to `docs/_site`, to test if anything is broken. * `make serve-docs`: runs a server for serving the documentation files, by default at `http://127.0.0.1:4000/FreshRSS/`. * Can also specify e.g. `DOCS_HOST=0.0.0.0 DOCS_PORT=8080`. * `make clean-docs`: deletes `docs/{_site,.jekyll-cache}`. The new commands are available in `make help`: ``` Documentation build-docs Test building Jekyll documentation serve-docs Run local server for serving docs clean-docs Clean up generated Jekyll files ``` [docs/README.md](https://github.com/FreshRSS/FreshRSS/blob/edge/docs/README.md) was updated with new information regarding the commands.
This is the documentation deployed using GitHub Pages, published at https://freshrss.github.io/FreshRSS/en/.
To test if the documentation builds, run: make build-docs.
To run a local server for serving the documentation files, use: make serve-docs.
The documentation should be reachable at http://127.0.0.1:4000/FreshRSS/.
Optionally, you can specify another host and port for the server to listen on e.g. make serve-docs DOCS_HOST=0.0.0.0 DOCS_PORT=8080.
In order for the command to work, you must have Make and Ruby installed on your machine.
After you're done, you can clean up the files generated by Jekyll: make clean-docs (the _site and .jekyll-cache directories).