| |
@@ -1,6 +1,4 @@
|
| |
- # Fedora Docs Template
|
| |
-
|
| |
- This repository contains a minimal source structure for a new Fedora Docs source.
|
| |
+ # Fedora Docs for Fedora Badges
|
| |
|
| |
## Structure
|
| |
|
| |
@@ -14,20 +12,14 @@
|
| |
`-- ROOT ......................... 5.
|
| |
|-- assets
|
| |
| `-- images ............... 6.
|
| |
- | `-- pizza.png
|
| |
|-- nav.adoc ................. 7.
|
| |
`-- pages .................... 8.
|
| |
- |-- architecture.adoc
|
| |
- |-- community.adoc
|
| |
- |-- faq.adoc
|
| |
- |-- index.adoc
|
| |
- |-- pizza-dough.adoc
|
| |
- `-- pizza-owen.adoc
|
| |
+ `-- ...
|
| |
```
|
| |
|
| |
1. Metadata definition.
|
| |
- 2. A script that does a local build. Uses docker.
|
| |
- 3. A script that shows a preview of the site in a web browser by running a local web server. Uses docker.
|
| |
+ 2. A script that does a local build. Uses podman or docker.
|
| |
+ 3. A script that shows a preview of the site in a web browser by running a local web server.
|
| |
4. A definition file for the build script.
|
| |
5. A "root module of this documentation component". Please read below for an explanation.
|
| |
6. **Images** to be used on any page.
|
| |
@@ -47,7 +39,7 @@
|
| |
|
| |
**NOTE**: Please note that if you reference pages from other repositoreis, 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](https://pagure.io/fedora-docs/docs-fp-o/) for instructions.
|
| |
|
| |
- Both scripts use docker, so please make sure you have it installed on your system. Please see below for instructions.
|
| |
+ Both scripts use podman or docker, so please make sure you have one of them installed on your system. Please see below for instructions.
|
| |
|
| |
To build and preview the site, run:
|
| |
|
| |
@@ -57,11 +49,10 @@
|
| |
|
| |
The result will be available at http://localhost:8080
|
| |
|
| |
- ### Installing docker on Fedora
|
| |
+ ### Installing podman on Fedora
|
| |
|
| |
```
|
| |
- $ sudo dnf install docker
|
| |
- $ sudo systemctl start docker && sudo systemctl enable docker
|
| |
+ $ sudo dnf install podman
|
| |
```
|
| |
|
| |
### Preview as a part of the whole Fedora Docs site
|
| |
I noticed none of the build scripts were in the repo and the README was still the original template. I imported the scripts from one of the other docs repos.