|
|
b1e9e2 |
# CentOS Documentation websites
|
|
|
b1e9e2 |
|
|
|
b1e9e2 |
## CentOS official documentation
|
|
|
b1e9e2 |
|
|
|
b1e9e2 |
## CentOS SIGs documentation
|
|
|
b1e9e2 |
|
|
|
b1e9e2 |
We are hosting a "mkdocs-as-a-service" instance that SIGs can use to have [online documentation](https://sigs.centos.org).
|
|
|
b1e9e2 |
It was decided to use [mkdocs](https://www.mkdocs.org) as it's easy to setup and it's just using MarkDown files, so easy to import/export if there is a need to migrate from (or migrate to)
|
|
|
b1e9e2 |
|
|
|
b1e9e2 |
The workflow goes like this :
|
|
|
b1e9e2 |
|
|
|
b1e9e2 |
* SIG have existing git project, hosting mkdocs.yml and docs/*.md files (see https://www.mkdocs.org/getting-started/)
|
|
|
b1e9e2 |
* They create a ticket on our infra tracker asking to be added (SIG name, description and public git url - can be anywhere as long as it's public and so we can `git clone` it)
|
|
|
b1e9e2 |
* Infra team is adding this in the `httpd_docs_sigs_list` ansible variables (host_vars)
|
|
|
b1e9e2 |
* Every two minutes (by default), each enabled SIG will have its upstream git repo checked and site rendered/pushed if needed
|
|
|
b1e9e2 |
|
|
|
b1e9e2 |
!!! note
|
|
|
b1e9e2 |
Worth knowing that we are using a specific container with podman that has a specific theme ( [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) ) but all SIGs can decide to stick with a default theme present in the mkdocs app
|
|
|
b1e9e2 |
|
|
|
b1e9e2 |
Link to [Ansible role](https://github.com/CentOS/ansible-role-httpd/blob/master/tasks/vhost-docs-sigs.yml)
|