Skip to content

Commit

Permalink
Merge pull request #106 from ipfs/feature/doc-fixes
Browse files Browse the repository at this point in the history
Bash prompts and single-word heading capitalization
  • Loading branch information
RichardLitt committed Apr 20, 2016
2 parents 6b9c341 + 9f7efd2 commit aab8094
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs-styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This is the documentation styleguide for our natural language descriptions used

* Use `backticks` for every code example inside of a normal description. In the CLI, where you cannot use backticks, use 'single quotes' for commands.
* Default settings should always be specified in a new sentence, not in parentheses, at the end. Default: like this.
* For command line arguments, do not include a `$` or `>` before commands in man pages. Instead, indent. A `$` or `>` may be included in READMEs; prefer `>` over `$`, as it is more universal.

### Acronyms

Expand All @@ -31,6 +32,13 @@ This is the documentation styleguide for our natural language descriptions used
* End phrases with a period. (Like that one).
* Capitalize the first letter of a phrase or sentence.

## Headings

* Single word headings in man pages should be capitalized. They should not be followed by a colon. Enumerated examples:
- `EXAMPLES`
- `NOTES`
- `WARNING`

## Ungendering

Avoid gendering in writing. Do not assume that the user/reader is of a certain gender.
Expand All @@ -54,3 +62,12 @@ Established canon, like Alice and Bob for cryptography, can still be used in the
#### Motivation

Avoiding gendering in community interaction has multiple benefits. Using a male or female pronoun alienates and unfairly prioritizes one gender in favor of another. For instance, saying "the user and his computer" may feel alienating to women, or vice versa. Luckily, in English, the pronoun 'their' can be used as both a singular and a plural form (cf. [Singular they](https://en.wikipedia.org/wiki/Singular_they)). Saying, "the user and their computer" is entirely acceptable and alleviates the issue.

## Changes

This is a living document and may be updated from time to time. Please refer to the git history for this document to view the changes.

## Credit and License
This styleguide is based on the [Linux man-pages manual](http://man7.org/linux/man-pages/man7/man-pages.7.html).

This document may be reused under a [Creative Commons Attribution-ShareAlike License](http://creativecommons.org/licenses/by-sa/4.0/).

0 comments on commit aab8094

Please sign in to comment.