Skip to content

Commit

Permalink
🧪 Make Sphinx not fail on warnings
Browse files Browse the repository at this point in the history
This is fine for a maintenance branch with older deps.
  • Loading branch information
webknjaz committed Apr 17, 2024
1 parent 3e0d983 commit 59db134
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ version: 2
sphinx:
builder: dirhtml
configuration: docs/conf.py
fail_on_warning: true

# Build documentation with MkDocs
# mkdocs:
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ commands =
{tty:--color} \
-a \
-n \
-W --keep-going \
--keep-going \
-d "{temp_dir}{/}.doctrees" \
. \
"{envdir}{/}docs_out"
Expand Down Expand Up @@ -127,7 +127,7 @@ commands =
{[python-cli-options]isolate} \
-m sphinx \
-j auto \
-a -n -W \
-a -n \
--keep-going \
-b doctest --color \
-d "{temp_dir}{/}.doctrees" \
Expand All @@ -154,7 +154,7 @@ commands =
{[python-cli-options]isolate} \
-m sphinx \
-j auto \
-a -n -W \
-a -n \
--keep-going \
-b linkcheck --color \
-d "{temp_dir}{/}.doctrees" \
Expand All @@ -181,7 +181,7 @@ commands =
{[python-cli-options]isolate} \
-m sphinx \
-j auto \
-a -n -W \
-a -n \
--keep-going \
-b spelling --color \
-d "{temp_dir}{/}.doctrees" \
Expand Down

0 comments on commit 59db134

Please sign in to comment.