Thanks to visit codestin.com Credit goes to github.com
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 3bf76b9 commit 4aca025Copy full SHA for 4aca025
2 files changed
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