We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa3c8a commit ef40735Copy full SHA for ef40735
doc/conf.py
@@ -36,7 +36,6 @@
36
'sphinx.ext.autodoc',
37
'sphinx.ext.todo',
38
'sphinx.ext.ifconfig',
39
- 'sphinxcontrib.spelling',
40
'sphinx.ext.intersphinx',
41
'sphinxcontrib.restbuilder',
42
'sphinx.ext.napoleon',
@@ -220,6 +219,9 @@
220
219
# -- Spelling ---
221
222
if any("spell" in arg for arg in sys.argv):
+ # sphinxcontrib.spelling needs the native "enchant" library, which often is
223
+ # missing, so only use the extension if we are specifically spell-checking.
224
+ extensions += ['sphinxcontrib.spelling']
225
names_file = tempfile.NamedTemporaryFile(mode='w', prefix="coverage_names_", suffix=".txt")
226
with open("../CONTRIBUTORS.txt") as contributors:
227
names = set(re.split(r"[^\w']", contributors.read()))
0 commit comments