[med-svn] [python-mne] 47/353: DOC: fix for doc math issue
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:24:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to tag 0.4
in repository python-mne.
commit 900bd2f674445b3a592d5697c7dd4d877f6e73e4
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Fri Jan 6 09:36:29 2012 +0100
DOC: fix for doc math issue
---
doc/sphinxext/gen_rst.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/doc/sphinxext/gen_rst.py b/doc/sphinxext/gen_rst.py
index 1f96275..669d52d 100644
--- a/doc/sphinxext/gen_rst.py
+++ b/doc/sphinxext/gen_rst.py
@@ -218,7 +218,10 @@ def setup(app):
# on Sphinx 1.0.7
build_image_dir = 'build/html/_images'
if os.path.exists(build_image_dir):
- shutil.rmtree(build_image_dir)
+ filelist = os.listdir(build_image_dir)
+ for filename in filelist:
+ if filename.endswith('png'):
+ os.remove(os.path.join(build_image_dir, filename))
build_download_dir = 'build/html/_downloads'
if os.path.exists(build_download_dir):
shutil.rmtree(build_download_dir)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git
More information about the debian-med-commit
mailing list