From 0e9e35c8c5d504cfa82c51a67616d9e870f1247c Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Fri, 14 Jun 2024 09:38:17 +0200 Subject: [PATCH] Ignore Elsevier url in linkcheck as it somehow blocks Sphinx --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index f7df4884..7281999d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -155,6 +155,10 @@ except TypeError: branch_or_commit = str(git_head.commit) +linkcheck_ignore = [ + 'https://www.sciencedirect.com/science/article/abs/pii/S0095447017301389', # sciencedirect.com (Elsevier), 403 Client Error: Forbidden for url +] + rst_epilog = """ .. |binder_badge_examples| image:: https://mybinder.org/badge_logo.svg :target: https://mybinder.org/v2/gh/YannickJadoul/Parselmouth/{binder_ref}?urlpath=lab/tree/docs/examples