8000
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.
2 parents 17a1d11 + cfa165c commit af378c2Copy full SHA for af378c2
doc/make.py
@@ -39,7 +39,13 @@ def html():
39
figures_dest_path = 'build/html/pyplots'
40
if os.path.exists(figures_dest_path):
41
shutil.rmtree(figures_dest_path)
42
- shutil.copytree('pyplots', figures_dest_path)
+ shutil.copytree(
43
+ 'pyplots', figures_dest_path,
44
+ ignore=shutil.ignore_patterns("*.pyc"))
45
+
46
+ # Clean out PDF files from the _images directory
47
+ for filename in glob.glob('build/html/_images/*.pdf'):
48
+ os.remove(filename)
49
50
def latex():
51
check_build()
doc/pyplots/make.py
0 commit comments