Add and configure sphinxcontrib-spelling
This commit is contained in:
13
docs/conf.py
13
docs/conf.py
@@ -42,6 +42,7 @@ extensions = [
|
|||||||
"sphinx.ext.todo",
|
"sphinx.ext.todo",
|
||||||
"sphinx.ext.viewcode",
|
"sphinx.ext.viewcode",
|
||||||
"sphinx.ext.napoleon",
|
"sphinx.ext.napoleon",
|
||||||
|
"sphinxcontrib.spelling",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
@@ -195,3 +196,15 @@ napoleon_numpy_docstring = False
|
|||||||
# napoleon_use_admonition_for_examples = False
|
# napoleon_use_admonition_for_examples = False
|
||||||
# napoleon_use_admonition_for_notes = False
|
# napoleon_use_admonition_for_notes = False
|
||||||
# napoleon_use_admonition_for_references = False
|
# napoleon_use_admonition_for_references = False
|
||||||
|
|
||||||
|
# -- Options for spelling extension ----------------------------------------------
|
||||||
|
|
||||||
|
spelling_word_list_filename = [
|
||||||
|
"spelling/names.txt",
|
||||||
|
"spelling/technical.txt",
|
||||||
|
"spelling/fixes.txt",
|
||||||
|
]
|
||||||
|
spelling_ignore_wiki_words = False
|
||||||
|
# spelling_ignore_acronyms = False
|
||||||
|
spelling_ignore_python_builtins = False
|
||||||
|
spelling_ignore_importable_modules = False
|
||||||
|
3
docs/spelling/fixes.txt
Normal file
3
docs/spelling/fixes.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
premade
|
||||||
|
todo
|
||||||
|
emoji
|
3
docs/spelling/names.txt
Normal file
3
docs/spelling/names.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Facebook
|
||||||
|
GraphQL
|
||||||
|
GitHub
|
14
docs/spelling/technical.txt
Normal file
14
docs/spelling/technical.txt
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
iterables
|
||||||
|
timestamp
|
||||||
|
metadata
|
||||||
|
spam
|
||||||
|
spammy
|
||||||
|
admin
|
||||||
|
admins
|
||||||
|
unsend
|
||||||
|
unsends
|
||||||
|
unmute
|
||||||
|
spritemap
|
||||||
|
online
|
||||||
|
inbox
|
||||||
|
subclassing
|
@@ -56,6 +56,7 @@ test = [
|
|||||||
]
|
]
|
||||||
docs = [
|
docs = [
|
||||||
"sphinx~=2.0",
|
"sphinx~=2.0",
|
||||||
|
"sphinxcontrib-spelling~=4.0"
|
||||||
]
|
]
|
||||||
lint = [
|
lint = [
|
||||||
"black",
|
"black",
|
||||||
|
Reference in New Issue
Block a user