Skip to content

Commit

Permalink
Use configuration file to ignore irrelevant warning of Sphinx>=7
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperCraeghs committed Sep 12, 2024
1 parent a5c451f commit 8589450
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ whitelist_externals =
make
mlx-warnings
commands=
mlx-warnings --sphinx --exact-warnings 1 --command make -C doc html
mlx-warnings --config warnings_config.yml --command make -C doc html

[testenv:sphinx-latest]
deps=
Expand All @@ -77,4 +77,4 @@ whitelist_externals =
make
mlx-warnings
commands=
mlx-warnings --sphinx --exact-warnings 1 --command make -C doc html
mlx-warnings --config warnings_config.yml --command make -C doc html
18 changes: 18 additions & 0 deletions warnings_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sphinx:
enabled: true
min: 1
max: 1
exclude:
- 'WARNING: cannot cache unpickable configuration value: .traceability_attributes_sort. \(because it contains a function, class, or module object\)'
doxygen:
enabled: false
junit:
enabled: false
xmlrunner:
enabled: false
coverity:
enabled: false
robot:
enabled: false
polyspace:
enabled: false

0 comments on commit 8589450

Please sign in to comment.