2015-05-26 10:13:07 -04:00
|
|
|
---
|
|
|
|
layout: doc
|
|
|
|
title: DocStyle
|
|
|
|
permalink: /doc/DocStyle/
|
|
|
|
redirect_from: /wiki/DocStyle/
|
|
|
|
---
|
|
|
|
|
|
|
|
Guidelines for Documentation Contributors
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
* Use spaces instead of tabs.
|
|
|
|
* Hard wrap Markdown lines at 80 characters.
|
|
|
|
* Hard wrap Git commit message lines at 72 characters.
|
|
|
|
* This leaves exactly four spaces on each side of the commit message when
|
|
|
|
viewed in the default `git log` format.)
|
|
|
|
* If appropriate, make numerals in numbered lists match between Markdown source
|
|
|
|
and HTML output.
|
|
|
|
* In the event that a user is required to read the Markdown
|
|
|
|
source directly, this will make it easier to follow, e.g., numbered steps in
|
|
|
|
a set of instructions.
|
2015-07-23 07:19:16 -04:00
|
|
|
* Use hanging indentations
|
2015-05-26 10:13:07 -04:00
|
|
|
where appropriate.
|
2015-07-23 07:19:16 -04:00
|
|
|
* Use `[reference-style][ref]` links.
|
2015-05-26 10:13:07 -04:00
|
|
|
`[ref]: http://daringfireball.net/projects/markdown/syntax#link`
|