Skip to content

Commit

Permalink
enabling spell checking for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Nov 12, 2017
1 parent e10add2 commit a077b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import six
import sys
sys.path.insert(0, os.path.abspath('..'))
import nose2unitth
Expand All @@ -42,11 +41,9 @@
'sphinx.ext.todo',
'sphinxcontrib.bibtex',
'sphinxcontrib.googleanalytics',
'sphinxcontrib.spelling',
]

if six.PY3:
extensions.append('sphinxcontrib.spelling')

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Sphinx >= 1.6
sphinx_rtd_theme
robpol86-sphinxcontrib-googleanalytics
sphinxcontrib-bibtex
sphinxcontrib-spelling; python_version >= '3.0'
sphinxcontrib-spelling

0 comments on commit a077b71

Please sign in to comment.