Skip to content

Commit

Permalink
update(docguides): add rst-format rules description
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Oliveira <[email protected]>
  • Loading branch information
danielRep committed Dec 6, 2023
1 parent 5dfb2fe commit 1af4773
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/development/doc_guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,16 @@ To run the `doc8 <https://github.com/PyCQA/doc8>`_ format checker:
make rst-format
Besides checking for invalid reST format styles (D000 rule), the ``rst-format`` also checks
for:

.. note::
- lines longer than 99 characters - D001
- no trailing whitespace - D002
- no tabulation for indentation - D003
- no carriage returns (use unix newlines) - D004
- no newline at end of file - D005

**Spelling Dictionaries**

The spell checker uses standard enchant dictionaries to validate words. However, some specific
Expand Down
1 change: 1 addition & 0 deletions source/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ Submodules
subdirectory
scalability
codebase
unix

0 comments on commit 1af4773

Please sign in to comment.