-
-
Notifications
You must be signed in to change notification settings - Fork 684
Description
currently WARNINGs are treated as errors, and we filter out harmless ones. Since Sphinx 3.0, docbuilds are localised, and fail if locale is e.g. French, cf.
https://groups.google.com/d/msg/sage-release/7wBxNRbJaaU/hzptnsQpCQAJ
Currently we have the list of these warnings maintained in src/sage_setup/docbuild/sphinxbuild.py.
Setting LANG=C provides a workaround.
However, this is far from optimal. At some point sphinx had ignore_warnings: cfelder/sphinx@2600eef#diff-639ce3a52583644f64e3dce953a93a39
which then got renamed to suppress_warnings (but still only allows to suppress a subset of warnings, it appears)
CC: @jhpalmieri @heluani
Component: documentation
Author: Dima Pasechnik
Branch/Commit: u/dimpase/build/setlocale_to_C_docbuild @ cf52d9a
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/30002