Explorar o código

Utilities/Sphinx: Tell linkcheck to not treat timeouts as broken

Sphinx 7.3 warns:

    sphinx/builders/linkcheck.py:86: RemovedInSphinx80Warning:
    The default value for 'linkcheck_report_timeouts_as_broken'
    will change to False in Sphinx 8, ...

Configure that behavior explicitly.
Brad King hai 1 ano
pai
achega
f60b4c553e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Utilities/Sphinx/conf.py.in

+ 2 - 0
Utilities/Sphinx/conf.py.in

@@ -103,3 +103,5 @@ linkcheck_allowed_redirects = {
     r'https://openjdk\.java\.net/jeps/313': r'https://openjdk\.org:443/jeps/313',
     r'https://openjdk\.java\.net/jeps/313': r'https://openjdk\.org:443/jeps/313',
     r'https://www\.sphinx-doc\.org': r'https://www\.sphinx-doc\.org/en/master/',
     r'https://www\.sphinx-doc\.org': r'https://www\.sphinx-doc\.org/en/master/',
 }
 }
+
+linkcheck_report_timeouts_as_broken = False