Skip to content

Commit

Permalink
Use different env var.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Mar 11, 2014
1 parent a7f8f19 commit 658a410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'sphinx.ext.ifconfig',
'sphinx.ext.viewcode',
)
if os.getenv('DOCS'):
if os.getenv('SPELLCHECK'):
extensions += 'sphinxcontrib.spelling',
spelling_show_suggestions = True
spelling_lang = 'en_US'
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ deps = coverage

[testenv:spell]
setenv =
DOCS = 1
SPELLCHECK = 1
commands =
sphinx-build -b spelling docs dist/docs
usedevelop = true
Expand Down

0 comments on commit 658a410

Please sign in to comment.