From 0409ab5977e1bea841d246691d295118d59ec0bf Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Tue, 24 May 2022 19:40:30 -0500 Subject: [PATCH] test: Ignore LHEP DOI URLs during Sphinx linkcheck (#1866) * Ignore DOI URLs for LHEP from Sphinx linkcheck tests as the DOI for 'SModelS database update v1.2.3' (https://doi.org/10.31526/lhep.2020.158) is causing 'ConnectTimeoutError's in CI. - This is only happening in GitHub Actions CI. It was not reproducible locally. * zfit Issue 120 was moved to zfit-development Issue 56 on 2020-03-12. Updating the Issue URL avoids a 404 status and a 'broken' linkcheck status. --- docs/conf.py | 6 +++++- docs/governance/ROADMAP.rst | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 4ef3e47f77..da0c2647d8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -464,5 +464,9 @@ def setup(app): } # c.f. https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder -linkcheck_ignore = ['cli.html#pyhf-xml2json'] +linkcheck_ignore = [ + 'cli.html#pyhf-xml2json', + # https://doi.org/10.31526/lhep.2020.158 is causing linkcheck connection timeouts in CI + r'https://doi\.org/10\.31526/.*', +] linkcheck_retries = 50 diff --git a/docs/governance/ROADMAP.rst b/docs/governance/ROADMAP.rst index b4b82e150e..65992ac5db 100644 --- a/docs/governance/ROADMAP.rst +++ b/docs/governance/ROADMAP.rst @@ -118,8 +118,8 @@ Roadmap 4. **Research** - - |uncheck| Add pyfitcore/Statisfactory integrations (Issue #344, `zfit - Issue 120 `__) [2019-Q4] + - |uncheck| Add pyfitcore/Statisfactory integrations (Issue #344, `zfit-development + Issue 56 `__) [2019-Q4] - |uncheck| Hardware acceleration scaling studies (Issues #93, #301) [2019-Q4 → 2020-Q1] - |uncheck| Speedup through Numba (Issue #364) [2019-Q3 → 2019-Q4]