Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writing guidelines #32

Merged
merged 4 commits into from
Apr 20, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions docs-styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

This is the documentation styleguide for our natural language descriptions used in the CLI tools, and elsewhere. Please conform to this spec.

### TOC

- [Code references](#code-references)
- [Acronyms](#acronyms)
- [Accepted forms:](#accepted-forms)
- [Linguistic rules](#linguistic-rules)
- [Ungendering](#ungendering)
- [Motivation](#motivation)

## Code references

* Use `backticks` for every code example inside of a normal description. In the CLI, where you cannot use backticks, use 'single quotes' for commands.
Expand All @@ -21,3 +30,27 @@ 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.

## Ungendering

Avoid gendering in writing. Do not assume that the user/reader is of a certain gender.

Do's:

```
Users install IPFS on their computers.
Users can choose what to broadcast in the DHT.
```

Don'ts:

```
The user installs IPFS on his computer.
User A can choose if the hash of her newly added file is broadcasted.
```

Established canon, like Alice and Bob for cryptography, can still be used in the gendered way.

#### 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.