File tree Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Expand file tree Collapse file tree 4 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ :orphan:
2+
13sphinx-codeautolink
24===================
35
Original file line number Diff line number Diff line change @@ -51,6 +51,13 @@ Caveats
5151
5252Sphinx semantics
5353----------------
54+ Warnings
55+ ********
56+ For an easier time with debugging, we recommend enabling all warnings,
57+ treating them as errors with ``-W `` and only ignoring specific warning types
58+ with :confval: `suppress_warnings `. This is also easier if
59+ :confval: `show_warning_types ` is set.
60+
5461Clean build
5562***********
5663For correct partial builds, code reference information is saved to a file
@@ -64,6 +71,7 @@ Sphinx cache
6471A function specified in :confval: `codeautolink_custom_blocks ` prevents Sphinx
6572from caching documentation results. Consider using an importable instead.
6673For more information, see the discussion in :issue: `76 `.
74+ You can also suppress the warning.
6775
6876Parallel build and custom parsers
6977*********************************
Original file line number Diff line number Diff line change 3232# Builtin options
3333html_theme = "sphinx_rtd_theme"
3434python_use_unqualified_type_names = True
35+ show_warning_types = True
3536
3637# Extension options
3738codeautolink_autodoc_inject = True
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ commands = pydocstyle src
6060description = Build Sphinx documentation
6161allowlist_externals = sphinx-build
6262change_dir = docs
63- commands = sphinx-build -M html src build
63+ commands = sphinx-build -M html src build -W
6464
6565[testenv:black-check]
6666description = Check code formatting
You can’t perform that action at this time.
0 commit comments