Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e501826

Browse files
committed
Merge branch 'v1.0.x'
2 parents ce24b40 + af378c2 commit e501826

2 files changed

Lines changed: 7 additions & 74 deletions

File tree

doc/make.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ def html():
3939
figures_dest_path = 'build/html/pyplots'
4040
if os.path.exists(figures_dest_path):
4141
shutil.rmtree(figures_dest_path)
42-
shutil.copytree('pyplots', figures_dest_path)
42+
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)
4349

4450
def latex():
4551
check_build()

doc/pyplots/make.py

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)