The site is generated from the AsciiDoc files in the doc folder of nREPL’s GitHub repo and is published to https://docs.cider.mx. Antora is used to convert the manual into HTML. The filesystem layout is described at https://docs.antora.org/antora/2.0/component-structure/
To make changes to the manual you simply have to change the files under doc
.
The manual will be regenerated manually periodically.
Installing the Antora is super simple:
$ make npm
Check out the detailed installation instructions if you run into any problems.
You can build the documentation locally from this repo.
$ cd docs.cider.mx
$ make build
After you’re done with the initial setup you can use the deploy
task to push changes to the site:
$ make deploy
Note
|
You’ll need commit access to the repository for this to work. |
To check the generated site you can simply open docs/index.html
in your favourite browser.
If you want to make changes to the manual’s page structure you’ll have to edit nav.adoc.