gitlab-org--gitlab-foss/doc_styleguide.md

23 lines
883 B
Markdown
Raw Normal View History

2015-05-25 20:18:07 -04:00
# Documentation styleguide
This styleguide recommends best practices to improve documentation and to keep it organized and easy to find.
2015-05-25 20:26:57 -04:00
## Text
2015-05-25 20:18:07 -04:00
* Make sure that the documentation is added in the correct directory and that there's a link to it somewhere useful.
2015-05-25 20:26:57 -04:00
* Add only one H1 or title in each document, by adding '#' at the begining of it (when using markdown). For subtitles, use '##', '###' and so on.
2015-05-25 20:18:07 -04:00
* Do not duplicate information.
* Be brief and clear.
* Whenever it applies, add documents in alphabetical order.
2015-05-25 20:18:07 -04:00
## When adding images to a document
* Create a directory to store the images with the specific name of the document where the images belong. It could be in the same directory where the .md document that you're working on is located.
* Images should have a specific, non-generic name that will differentiate them.
2015-05-25 20:18:54 -04:00
* Keep all file names in lower case.