Skip to content

Commit 30b9e16

Browse files
authored
Merge pull request #20751 from meeseeksmachine/auto-backport-of-pr-20748-on-v3.4.x
Backport PR #20748 on branch v3.4.x (Ensure _static directory exists before copying CSS.)
2 parents 51989b4 + c7e8507 commit 30b9e16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def _copy_css_file(app, exc):
258258
if exc is None and app.builder.format == 'html':
259259
src = cbook._get_data_path('plot_directive/plot_directive.css')
260260
dst = app.outdir / Path('_static')
261+
dst.mkdir(exist_ok=True)
261262
shutil.copy(src, dst)
262263

263264

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy