Skip to content

Commit

Permalink
🚑 Make Sphinx nitpicky about broken references
Browse files Browse the repository at this point in the history
Fixes #2424
  • Loading branch information
webknjaz committed Oct 15, 2020
1 parent ff5d8c4 commit b170eac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,7 @@
],
),
}


# Be strict about any broken references:
nitpicky = True
11 changes: 10 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,16 @@ extras =
testing
changedir = docs
commands =
python -m sphinx . {toxinidir}/build/html
{envpython} -m sphinx \
-j auto \
-b html \
--color \
-a \
-n \
-W \
-d "{temp_dir}/.doctrees" \
. \
"{toxinidir}/build/html"

[testenv:finalize]
skip_install = True
Expand Down

0 comments on commit b170eac

Please sign in to comment.