Added spellcheker

pull/1210/head
Karl Hobley 2015-04-17 22:49:16 +01:00
rodzic 80da0344d7
commit 27facef89e
3 zmienionych plików z 16 dodań i 0 usunięć

Wyświetl plik

@ -54,6 +54,11 @@ html:
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
spelling:
$(SPHINXBUILD) -b spelling $(ALLSPHINXOPTS) $(BUILDDIR)/spelling
@echo
@echo "Spellcheck complete."
dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo

Wyświetl plik

@ -50,6 +50,7 @@ os.environ['DATABASE_ENGINE'] = 'django.db.backends.sqlite3'
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinxcontrib.spelling',
]
# Add any paths that contain templates here, relative to this directory.
@ -116,6 +117,12 @@ pygments_style = 'sphinx'
#keep_warnings = False
# splhinxcontrib.spelling settings
spelling_lang = 'en_US'
spelling_word_list_filename='spelling_wordlist.txt'
# -- Options for HTML output ----------------------------------------------

Wyświetl plik

@ -7,3 +7,7 @@ Pillow>=2.7.0
# For coverage and PEP8 linting
coverage>=3.7.0
flake8>=2.2.0
# For spellchecking the documentation
sphinxcontrib-spelling==2.1.1
pyenchant==1.6.6