1 Star 0 Fork 1

Yxn / gitlab

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
doc_styleguide.md 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
Job van der Voort 提交于 2015-06-29 15:17 . update documentation styleguide

Documentation styleguide

This styleguide recommends best practices to improve documentation and to keep it organized and easy to find.

Text

  • Split up long lines, this makes it much easier to review and edit. Only double line breaks are shown as a full line break in markdown. 80 characters is a good line length.
  • For subtitles, make sure to start with the largest and go down, meaning: # for the title, ## for subtitles and ### for subtitles of the subtitles, etc.
  • Make sure that the documentation is added in the correct directory and that there's a link to it somewhere useful.
  • 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.
  • Do not duplicate information.
  • Be brief and clear.
  • Whenever it applies, add documents in alphabetical order.

Images

  • 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.
  • Keep all file names in lower case.
1
https://gitee.com/Yxnt/gitlab.git
git@gitee.com:Yxnt/gitlab.git
Yxnt
gitlab
gitlab
7-13-zh

搜索帮助