From 8cb64e746c3cf52743439065ba5e922b995b1718 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Wed, 20 Nov 2024 14:47:34 -0500 Subject: [PATCH] fix linkcheck (#1671) phys rev does not play nicely --- sphinx_docs/source/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sphinx_docs/source/conf.py b/sphinx_docs/source/conf.py index a266702ffb..64e5ef03d1 100644 --- a/sphinx_docs/source/conf.py +++ b/sphinx_docs/source/conf.py @@ -223,8 +223,11 @@ def get_version(): linkcheck_retries = 3 linkcheck_timeout = 100 +linkcheck_allow_unauthorized = True +linkcheck_ignore = [r"https://doi.org/10.1103/[Pp]hys[Rr]ev*"] user_agent = "Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0" + # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples