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 478b058 commit 1e3c8a0Copy full SHA for 1e3c8a0
doc/source/conf.py
@@ -87,8 +87,14 @@
87
88
exclude_patterns = ['**.ipynb_checkpoints']
89
90
-spelling_word_list_filename = ['spelling_wordlist.txt', 'names_wordlist.txt']
91
-spelling_ignore_pypi_package_names = True
+# Tries to import sphixcontrib.spelling - if not available pass
+try:
92
+ import sphinxcontrib.spelling
93
+ extensions.append('sphinxcontrib.spelling')
94
+ spelling_word_list_filename = ['spelling_wordlist.txt', 'names_wordlist.txt']
95
+ spelling_ignore_pypi_package_names = True
96
+except ModuleNotFoundError:
97
+ pass
98
99
with open("index.rst") as f:
100
index_rst_lines = f.readlines()
0 commit comments