summary refs log tree commit diff
path: root/docs/documentation_style
blob: c365d09dfff56d2d47b9d42329d0bcfed2709ad6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
===================
Documentation Style
===================

A brief single sentence to describe what this file contains; in this case a
description of the style to write documentation in.


Sections
========

Each section should be separated from the others by two blank lines. Headings
should be underlined using a row of equals signs (===). Paragraphs should be
separated by a single blank line, and wrap to no further than 80 columns.

[[TODO(username): if you want to leave some unanswered questions, notes for
further consideration, or other kinds of comment, use a TODO section. Make sure
to notate it with your name so we know who to ask about it!]]

Subsections
-----------

If required, subsections can use a row of dashes to underline their header. A
single blank line between subsections of a single section.


Bullet Lists
============

 * Bullet lists can use asterisks with a single space either side.
 
 * Another blank line between list elements.


Definition Lists
================

Terms:
  Start in the first column, ending with a colon

Definitions:
  Take a two space indent, following immediately from the term without a blank
  line before it, but having a blank line afterwards.