Skip to content

Commit

Permalink
Maintenance: Disable failure on warnings for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvuckovic committed Aug 3, 2023
1 parent 5802e48 commit 424f829
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,14 @@ jobs:
- name: Build Documentation
shell: bash -eux {0}
env:
# TODO: Re-enable failure on warnings when all translation issues are handled.
fail_on_warning: # -W --keep-going
run: |
cd ${{ inputs.docs_path }}
python -m sphinx -T -E -W --keep-going -b html -d _build/doctrees -D language=en . _build/html
python -m sphinx -T -E -W --keep-going -b readthedocssinglehtmllocalmedia -d _build/doctrees -D language=en . _build/htmlzip
python -m sphinx -T -E -W --keep-going -b epub -d _build/doctrees -D language=en . _build/epub
python -m sphinx -T -E $fail_on_warning -b html -d _build/doctrees -D language=en . _build/html
python -m sphinx -T -E $fail_on_warning -b readthedocssinglehtmllocalmedia -d _build/doctrees -D language=en . _build/htmlzip
python -m sphinx -T -E $fail_on_warning -b epub -d _build/doctrees -D language=en . _build/epub
- name: Compute short SHA
id: sha
Expand Down
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ build:

sphinx:
configuration: conf.py
fail_on_warning: true
# TODO: Re-enable failure on warnings when all translation issues are handled.
# fail_on_warning: true

formats:
- htmlzip
Expand Down

0 comments on commit 424f829

Please sign in to comment.