llvm-project
3d7b99b9 - [clang][docs] Suppress Sphinx highlighting failure warnings in conf.py (#220118)

Commit
5 days ago
[clang][docs] Suppress Sphinx highlighting failure warnings in conf.py (#220118) Following the upgrade to Sphinx 8.2 (#219299), Pygments syntax highlighting fallbacks (e.g. on custom C++ attribute syntaxes like `[[clang::...]]`) emit `[misc.highlighting_failure]` warnings when retrying in relaxed mode. Because sphinx-build runs with `-W`, these warnings abort the documentation build. Mirror the configuration in `llvm/docs/conf.py` by setting `suppress_warnings = ["misc.highlighting_failure"]`. AI tool usage: An AI assistant was used to help research and draft the documentation updates.
Author
Parents
Loading