We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d8c28d commit 07b0588Copy full SHA for 07b0588
1 file changed
src/pydata_sphinx_theme/pygments.py
@@ -99,5 +99,6 @@ def overwrite_pygments_css(app: Sphinx, exception=None):
99
100
# re-write pygments.css
101
pygments_css = Path(app.builder.outdir) / "_static" / "pygments.css"
102
+ # Ensure the _static folder exists for all builders
103
pygments_css.parent.mkdir(exist_ok=True)
104
pygments_css.write_text(get_pygments_stylesheet(light_theme, dark_theme))
0 commit comments