This repository contains sources of the Fedora Magazine documentation.
|-- README.md |-- antora.yml ....................... 1. |-- build.sh ......................... 2. |-- preview.sh ....................... 3. |-- site.yml ......................... 4. `-- modules `-- ROOT ......................... 5. |-- assets | `-- images ............... 6. | `-- pizza.png |-- nav.adoc ................. 7. `-- pages .................... 8. |-- index.adoc |-- page.adoc `-- another-page.adoc
This repo includes scripts to build and preview the contents of this repository.
NOTE: Please note that if you reference pages from other repositories, such links will be broken in this local preview as it only builds this repository. If you want to rebuild the whole Fedora Docs site, please see the Fedora Docs build repository for instructions.
Both scripts work on Fedora (using Podman) and macOS (using Docker).
To build and preview the site, run:
$ ./build.sh && ./preview.sh
The result will be available at http://localhost:8080
Fedora Workstation doesn't come with Podman preinstalled by default — so you might need to install it using the following command:
$ sudo dnf install podman