THIS IS A WORK IN PROGRESS. VISIT THE OFFICIAL FOREMAN OR KATELLO DOCUMENTATION IF YOU ARE SEEKING HELP.
This git repository contains PoC of improving Foreman documentation.
This is a tree of documentation based on Red Hat Satellite 6 official books. Contributions are welcome. See README in the guides/ subdirectory for more information.
The landing page for docs.theforeman.org is available as a Hugo project. See README in the web/ subdirectory for more information.
Github actions perform HTML (with link validation), PDF and WEB artifact creation and if succeeded and branch is master or stable, artifacts are downloaded, extracted and deployed (commited into gh-pages). Deployment does not delete files, in order to remove some unwanted content, manual deletion and push into gh-pages must be performed.
When a commit is pushed into master:
- All artifacts are built.
- Static WEB and HTML is downloaded and copied into
/or/nightlyrespectively. - Changes are pushed into
gh-pagesbranch.
When a commit is pushed into X.Y:
- All artifacts are built.
- HTML artifact is downloaded and copied into
/X.Y. - Changes are pushed into
gh-pagesbranch.
- Create a copy of /web/content/nightly.md as
X.Y.mdand edit it accordingly. - Edit /web/content/versions.md and add the new version to the menu.
- Push the changes into
master. - Check the site if links and landing page appeared correctly.
- Create a new
X.Ybranch. - Update
TargetVersionandTargetVersionMaintainUpgradeinguides/common/attributes.adoc - Push into
X.Ybranch. - HTML guildes should be deployed into
/X.Y - Set
DocStatetounsupportedinguides/common/attributes.adoc
See LICENSE files in individual subdirectories.