Skip to content

Commit 7824e02

Browse files
committed
Fixed Sphinx building issues and enabled nit-picky mode by default to fix #30
1 parent f8c17ec commit 7824e02

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,7 @@
6060
# Add any paths that contain custom static files (such as style sheets) here,
6161
# relative to this directory. They are copied after the builtin static files,
6262
# so a file named "default.css" will overwrite the builtin "default.css".
63-
html_static_path = ['_static']
63+
# html_static_path = ['_static']
64+
65+
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
66+

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ commands =
3131
mkdir -p docs/_static
3232
sphinx-apidoc -o docs/ python_utils
3333
rm -f docs/modules.rst
34-
sphinx-build -W -b html -d docs/_build/doctrees docs docs/_build/html {posargs}
34+
sphinx-build -n -W -b html -d docs/_build/doctrees docs docs/_build/html {posargs}
3535
deps = -r{toxinidir}/docs/requirements.txt
3636

3737
[flake8]

0 commit comments

Comments
 (0)