2018-02-02 10:58:00 +01:00
|
|
|
# Basic checklist/stylesheet used for copy editing BOLTs
|
|
|
|
|
2019-09-25 12:34:18 +02:00
|
|
|
Contributions should comply with this checklist/stylesheet to maintain correct, clear, consistent, and concise BOLTS.
|
2017-11-10 08:26:09 +01:00
|
|
|
|
|
|
|
- spelling
|
2018-10-09 23:32:49 +02:00
|
|
|
- run `tools/spellcheck.sh --check [0-9][0-9]-*.md`
|
|
|
|
- update `.aspell.en.pws` with any missing words
|
|
|
|
- typos
|
2017-11-10 08:26:09 +01:00
|
|
|
- sentence structure
|
|
|
|
- sentence fragments
|
|
|
|
- run-on sentences
|
|
|
|
- dangling, misplaced modifiers
|
2017-11-10 20:49:19 +01:00
|
|
|
- consistent paragraph tense (e.g. past, present, future)
|
|
|
|
- passive voice (e.g. avoid 'we')
|
2017-12-16 07:27:42 +01:00
|
|
|
- use 'local/remote' terminology rather than 'us/them' or 'we/they'
|
2017-11-11 07:41:57 +01:00
|
|
|
- exception: `Introduction` section
|
2017-11-10 08:26:09 +01:00
|
|
|
- capitalization
|
|
|
|
- table of contents
|
|
|
|
- headers
|
2017-12-11 05:38:24 +01:00
|
|
|
- capitalize list items containing complete sentences
|
2017-11-18 21:00:36 +01:00
|
|
|
- commonly forgotten: 'Lightning', 'ID'
|
|
|
|
- distinguish between network and currency unit
|
|
|
|
- e.g. "The Bitcoin network transfers bitcoins."
|
2017-11-10 08:26:09 +01:00
|
|
|
- punctuation
|
|
|
|
- correct comma, colon, semi-colon, em-dash placement
|
2017-11-24 07:15:16 +01:00
|
|
|
- for conjoined items, use comma before conjunction
|
|
|
|
- e.g. 'this, that, and the other'
|
2017-11-10 08:26:09 +01:00
|
|
|
- appropriate use of parenthesis
|
2017-11-24 07:15:16 +01:00
|
|
|
- only use periods after list items if they contain complete sentences
|
|
|
|
- exceptions: `Requirements` lists
|
2017-12-11 05:38:24 +01:00
|
|
|
- abbreviations
|
|
|
|
- e.g., i.e., etc., a.k.a.
|
2017-11-10 08:26:09 +01:00
|
|
|
- formatting
|
|
|
|
- single spaces between sentences
|
|
|
|
- consistent use of _emphasis_, **strong**, `code`, CAPS, 'quotes'
|
|
|
|
- single line separators between paragraphs and page elements
|
2017-12-11 05:38:24 +01:00
|
|
|
- ensure correct header weights
|
2017-11-21 03:50:38 +01:00
|
|
|
- numbers and calculations
|
|
|
|
- spell out small (<10) amounts
|
|
|
|
- type digits and enumerations
|
2017-11-24 06:21:29 +01:00
|
|
|
- e.g. 'two 2-byte blocks set to 0s', 'one 4-byte block set to 1s', 'the other one is equal to 1'
|
|
|
|
- exceptions, e.g. 'non-zero', '1 byte in length'
|
|
|
|
- data measurements
|
|
|
|
- type digits for quantities of information, use hyphen when unit is an adjective
|
|
|
|
- e.g. 'a 32-bit block is 32 bits in length'
|
2017-11-21 03:50:38 +01:00
|
|
|
- for typed calculations
|
|
|
|
- space both sides of operators (except '^' and negative numbers)
|
|
|
|
- e.g. 5 - 3^2 * 4 = -31
|
|
|
|
- for calculation descriptions
|
|
|
|
- write out operators
|
|
|
|
- e.g. 1 less than 3 equals 2
|
2017-11-10 08:26:09 +01:00
|
|
|
- list structure
|
|
|
|
- 2 spaces before item
|
|
|
|
- indent 2 spaces
|
2017-11-11 07:35:33 +01:00
|
|
|
- `Requirements` sections
|
|
|
|
- colon after conditions
|
2017-11-15 11:55:16 +01:00
|
|
|
- comma before sub-items
|
2017-11-10 08:26:09 +01:00
|
|
|
- period at branch ends
|
|
|
|
- example:
|
2017-11-10 20:49:19 +01:00
|
|
|
```
|
|
|
|
A sending node:
|
|
|
|
- MAY do this.
|
2017-11-11 07:35:33 +01:00
|
|
|
- if this, AND this:
|
|
|
|
- SHOULD do this.
|
|
|
|
- otherwise:
|
|
|
|
- MUST do this,
|
2017-11-15 11:55:16 +01:00
|
|
|
- but MUST NOT...in this case.
|
2017-11-10 20:49:19 +01:00
|
|
|
```
|
2017-11-10 08:26:09 +01:00
|
|
|
- links
|
|
|
|
- broken links
|
|
|
|
- link text
|
|
|
|
- correct anchors/urls
|
|
|
|
- references
|
2017-11-10 20:49:19 +01:00
|
|
|
- format e.g. <sup>[1](#reference-1)</sup>
|
2017-11-10 08:26:09 +01:00
|
|
|
- tags
|
2017-12-11 05:38:24 +01:00
|
|
|
- consistent usage, e.g. [TODO:], [FIXME:]
|