Content hierarchy
Documentation should follow a hierarchy, this is true both for the content and how titles are organized. In most cases, you can refer to a template and reuse the hierarchy exposed there. When you write a page that does not derive from a template, please follow the guidelines exposed here.
Content
When you need to show a command, please show it at the top of your page as much as possible. This will ensure that users can easily copy/paste code without having to scan the whole page.
It is okay to be very descriptive and thorough, however not every detail should have the same weight. If you are documenting a function with many arguments, please start with the most common ones first, gradually defining the ones that people are less likely to use.
Titles
Pages need to start with text, not a title. Titles should always follow the following hierarchy:
This will improve readability and SEO. Example:
Bad practices
- Repetitive subtitles
- Too many Tip/Info/Warning. Please use maximum 1-2 per page.