As the project matures, and the community grows, I would like to revive an old discussion and suggest that we set
some guidelines for contributing to the project's documentation.
I would like to propose that we establish a minimal sub-set of rules, based on the
existing tools for proofing and producing said documentation.
The following rules should be considered:
- H1 document title headers should be expressed by # with over-line (rows on top and bottom) of the text
- Only ONE H1 header should allowed per document, ideally placed on top of the page.
- H2 headers should be expressed by * with over-line
- H2 header's text should be UNIQUE in per document basis
- H3 headers should be expressed by a row of '='
- H4 headers should be expressed by a row of '-'
- H3 and H4 headers have no limitation about naming. They can have similar names on the same document, as long as they have different parents.
- H5 headers should be expressed by a row of '^'
- H5 headers will be rendered in document body but not in menus on the navigation bar.
- Do not use more than 5 level of heading
- When writing guide, which are expected to be able to be readable by command line tools, it would be best practice to add long complicated tables, and UML diagrams in the bottom of the page and using internal references(auto-label). Please refer to
the `tfm_sw_requirement.rst`
as an example
- No special formatting should be allowed in Headers ( code, underline, strike-through etc )
- Long URLs and external references should be placed at the bottom of the page and referenced in the body of the document
- New introduced terms and abbreviations should be added to Glossary and directly linked by the `:term:` notation across all documents using it.
When something new, which is not covered is required, the rule should be first to follow the any reference to of an existing document, and the Python Documentation rules otherwise.
Please let me know if you have any questions/objection or proposals or new rules you would like to consider. Any feedback is more than welcome.
Minos