Skip to content

Commit a9f06e8

Browse files
committed
Fix warnings in Sphinx build
1 parent e5a4fc5 commit a9f06e8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
# Add any paths that contain custom static files (such as style sheets) here,
127127
# relative to this directory. They are copied after the builtin static files,
128128
# so a file named "default.css" will overwrite the builtin "default.css".
129-
html_static_path = ["_static"]
129+
# html_static_path = ["_static"]
130130

131131
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
132132
# using the given strftime format.
@@ -263,4 +263,4 @@
263263

264264

265265
# Example configuration for intersphinx: refer to the Python standard library.
266-
intersphinx_mapping = {"http://docs.python.org/": None}
266+
intersphinx_mapping = {"python": ("http://docs.python.org/", None)}

docs/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Same applies to IntegerField:
6767

6868

6969
SelectField & SelectMultipleField
70-
-----------
70+
---------------------------------
7171

7272
WTForms-Components provides enhanced versions of WTForms SelectFields. Both WTForms-Components
7373
SelectField and SelectMultipleField support the following enhancements:
@@ -211,7 +211,7 @@ In the following example we define a start_time and a start_date field, which do
211211
Email validator
212212
---------------
213213

214-
Validates an email address. This validator is based on `Django's email validator`_ and is stricter than the standard email validator included in WTForms.
214+
Validates an email address. This validator is based on Django's email validator and is stricter than the standard email validator included in WTForms.
215215

216216
Example:
217217
::

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ deps =
1919
[testenv:docs]
2020
basepython = py312
2121
deps = -r docs/requirements.txt
22-
commands = sphinx-build docs docs/_build
22+
commands = sphinx-build docs docs/_build --fail-on-warning

0 commit comments

Comments
 (0)