This repository contains documentation related to Fedora ELN project. It is published via Fedora Docs:
|-- README.md
|-- antora.yml ....................... 1.
|-- build.sh ......................... 2.
|-- preview.sh ....................... 3.
|-- site.yml ......................... 4.
`-- modules
`-- ROOT ......................... 5.
|-- assets
| `-- images ............... 6.
| `-- pizza.png
| `-- attachments .......... 7.
| `-- carryout-menu.pdf
|-- nav.adoc ................. 8.
`-- pages .................... 9.
|-- architecture.adoc
|-- community.adoc
|-- faq.adoc
|-- index.adoc
|-- pizza-dough.adoc
`-- pizza-owen.adoc
- Metadata definition.
- A script that does a local build. Uses docker or podman.
- A script that shows a preview of the site in a web browser by running a local web server. Uses docker or podman.
- A definition file for the build script.
- A "root module of this documentation component".
- Images to be used on any page.
- Downloadable attachments to be used on any page.
- Menu definition. Also defines the hierarchy of all the pages.
- Pages with the actual content. They can be also organised into subdirectories if desired.
$ sudo dnf install podman
$ ./build.sh
$ ./preview.sh
The result will be available at http://localhost:8080
When using Linux, it is also possible to pass --refresh
argument to automatically
rebuild the documentation on source change.