Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration suppress_warnings -> 'ref.term' is ignored #13161

Open
astromatt opened this issue Dec 1, 2024 · 0 comments
Open

Configuration suppress_warnings -> 'ref.term' is ignored #13161

astromatt opened this issue Dec 1, 2024 · 0 comments
Labels

Comments

@astromatt
Copy link

astromatt commented Dec 1, 2024

Describe the bug

Despite adding 'ref.term' to suppress_warnings in my conf.py sphinx build still throws:

WARNING: duplicate term description of ..., other instance in ...

I have narrowed down this to:

dangling_warnings = {

How to Reproduce

  1. Add 'ref.term' to suppress_warnings in your conf.py
  2. Create two ReST documents: a.rst and b.rst
  3. Add glossary with the same term in both
  4. Run build
  5. Warning is still visible

Environment Information

Platform:              darwin; (macOS-15.1.1-arm64-arm-64bit-Mach-O)
Python version:        3.13.0 (main, Oct  7 2024, 05:02:14) [Clang 16.0.0 (clang-1600.0.26.3)])
Python implementation: CPython
Sphinx version:        8.1.3
Docutils version:      0.21.2
Jinja2 version:        3.1.4
Pygments version:      2.18.0
Sphinx                        8.1.3
sphinx-rtd-theme              3.0.2
sphinxcontrib-applehelp       2.0.0
sphinxcontrib-devhelp         2.0.0
sphinxcontrib-htmlhelp        2.1.0
sphinxcontrib-jquery          4.1
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          2.0.0
sphinxcontrib-serializinghtml 2.0.0


### Sphinx extensions

Doesn't matter

### Additional context

_No response_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant