kopia lustrzana https://gitlab.com/sane-project/standard
Add spell checking support
rodzic
f36d138141
commit
bd38480d9f
|
@ -9,6 +9,7 @@ test:
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -qq
|
- apt-get update -qq
|
||||||
- apt-get install -qqy --no-install-recommends
|
- apt-get install -qqy --no-install-recommends
|
||||||
|
python3-enchant
|
||||||
python3-setuptools
|
python3-setuptools
|
||||||
python3-wheel
|
python3-wheel
|
||||||
- pip3 --quiet install -r requirements.txt
|
- pip3 --quiet install -r requirements.txt
|
||||||
|
@ -17,6 +18,7 @@ test:
|
||||||
# sphinx-build invocations.
|
# sphinx-build invocations.
|
||||||
- unset CI
|
- unset CI
|
||||||
- sphinx-build -M linkcheck . _build/
|
- sphinx-build -M linkcheck . _build/
|
||||||
|
- sphinx-build -M spelling . _build/ -W --keep-going
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
|
4
conf.py
4
conf.py
|
@ -29,6 +29,7 @@ release = version
|
||||||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
||||||
# ones.
|
# ones.
|
||||||
extensions = [
|
extensions = [
|
||||||
|
'sphinxcontrib.spelling'
|
||||||
]
|
]
|
||||||
|
|
||||||
# Unconditional addition breaks 'sphinx-build'. Versioning support is
|
# Unconditional addition breaks 'sphinx-build'. Versioning support is
|
||||||
|
@ -57,6 +58,9 @@ today_fmt = '2008-05-03'
|
||||||
|
|
||||||
highlight_language = 'c'
|
highlight_language = 'c'
|
||||||
|
|
||||||
|
spelling_lang = 'en-US'
|
||||||
|
spelling_word_list_filename = 'wordlist.txt'
|
||||||
|
|
||||||
# -- Options for HTML output -------------------------------------------------
|
# -- Options for HTML output -------------------------------------------------
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
sphinx_rtd_theme
|
sphinx_rtd_theme
|
||||||
sphinx-versions
|
sphinx-versions
|
||||||
|
sphinxcontrib-spelling
|
||||||
|
|
Ładowanie…
Reference in New Issue