From f5b35f98e63e68dee73b347f175ee6c7abfe35f0 Mon Sep 17 00:00:00 2001 From: s-weigand Date: Sat, 18 Jan 2025 14:13:30 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=87=F0=9F=A9=B9=20Workaround=20to=20fi?= =?UTF-8?q?x=20pydata=5Fsphinx=5Ftheme=20error=20on=20linkcheck?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Extension error (pydata_sphinx_theme.pygments): Handler for event 'build-finished' threw an exception (exception: [Errno 2] No such file or directory: '/home/runner/work/pyglotaran-extras/pyglotaran-extras/docs/_build/linkcheck/_static/pygments.css') make: *** [Makefile:25: linkcheck] Error 2 make: Leaving directory '/home/runner/work/pyglotaran-extras/pyglotaran-extras/docs' --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index f9edcb8..758a56a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,6 +24,10 @@ pyglotaran_extras.create_config_schema(HERE/"_static") +# Workaround for error caused by pydata-sphinx-theme==0.16.1 during link check +# TODO: Remove workaround when fix is available +(HERE / "_build/linkcheck/_static").mkdir(parents=True, exist_ok=True) + # -- General configuration --------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here.