Skip to content

Commit

Permalink
🚇🩹 Workaround to fix pydata_sphinx_theme error on linkcheck
Browse files Browse the repository at this point in the history
Extension error (pydata_sphinx_theme.pygments):
Handler <function overwrite_pygments_css at 0x7f93feb0e4d0> 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'
  • Loading branch information
s-weigand committed Jan 18, 2025
1 parent 3650143 commit f5b35f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f5b35f9

Please sign in to comment.