Skip to content

Commit

Permalink
Merge branch 'doc_cleanup' of https://github.com/mdboom/matplotlib in…
Browse files Browse the repository at this point in the history
…to mdboom-doc_cleanup
  • Loading branch information
mdboom committed Mar 4, 2011
2 parents 17a1d11 + cfa165c commit af378c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 74 deletions.
8 changes: 7 additions & 1 deletion doc/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ def html():
figures_dest_path = 'build/html/pyplots'
if os.path.exists(figures_dest_path):
shutil.rmtree(figures_dest_path)
shutil.copytree('pyplots', figures_dest_path)
shutil.copytree(
'pyplots', figures_dest_path,
ignore=shutil.ignore_patterns("*.pyc"))

# Clean out PDF files from the _images directory
for filename in glob.glob('build/html/_images/*.pdf'):
os.remove(filename)

def latex():
check_build()
Expand Down
73 changes: 0 additions & 73 deletions doc/pyplots/make.py

This file was deleted.

0 comments on commit af378c2

Please sign in to comment.