From 4f240e19f64de1349d32d4086a4ae3c224a014ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D1=82=D0=B5=D0=BF=D0=B0=D0=BD=D0=B5=D0=BD=D0=BA?= =?UTF-8?q?=D0=BE=20=D0=9E=D0=BB=D1=8C=D0=B3=D0=B0?= Date: Sun, 14 Mar 2021 16:30:14 +0300 Subject: [PATCH] Add spelling settings and install tox but spelling is not still working --- docs/Makefile | 1 + docs/source/conf.py | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index 461302a..e2faff5 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -21,3 +21,4 @@ help: spelling: $(SPHINXBUILD) -b spelling -W $(ALLSPHINXOPTS) $(BUILDDIR)/spelling +# $(SPHINXBUILD) -b spelling 'docs/source' 'docs/build' diff --git a/docs/source/conf.py b/docs/source/conf.py index 87fb134..25cd641 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -192,9 +192,18 @@ autodoc_default_flags = ['members'] # spell checking spelling_lang = 'ru_RU' -spelling_word_list_filename = 'spelling_wordlist.txt' +tokenizer_lang = 'ru_RU' +spelling_word_list_filename = ['spelling_wordlist.txt', 'another_list.txt'] +spelling_exclude_patterns=['ignored_*'] spelling_show_suggestions = True +spelling_show_whole_line=True +spelling_warning=True spelling_ignore_pypi_package_names = True +spelling_ignore_wiki_words=True +spelling_ignore_acronyms=True +spelling_ignore_python_builtins=True +spelling_ignore_importable_modules=True +spelling_ignore_contributor_names=True # -- Options for todo extension ----------------------------------------------