redhat-cop / automation-good-practices

Recommended practices for all elements of automation using Ansible, starting with collections and roles, continuing with playbooks, inventories and plug-ins... These good practices are planned to be used by all Red Hat teams interested but can of course be used by others.
268 stars 66 forks source link

Publish good practices to GitHub pages #14

Closed ericzolf closed 3 years ago

ericzolf commented 3 years ago

There are two commits in this PR:

The first one adds a docs/index.html file.

The idea would be to generate docs/index.html (and CONTRIBUTE.html) later on automatically through a pipeline. The same pipeline could create also the PDF

For now manual creation will do, so that https://redhat-cop.github.io/automation-good-practices/ offers a rendered version of the good practices.

The 2nd commit changes the recommendations' title into sections. This makes the table of content much more meaningful and renders also better in PDF: image Compared to the previous rendering: image

I kept two separate commits so that you can compare the outputs of the HTML.