From 4c5306e4bcb85b2ab5cbc0ebe301b30f74462c45 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Thu, 30 Apr 2015 20:42:03 +0000 Subject: [PATCH] add svg to the build process git-svn-id: http://svn.code.sf.net/p/pyx/code/trunk/pyx@3648 a4f5e268-e194-4f32-bce1-d30804cbbcc5 --- www/Makefile | 2 +- www/pt2html.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/Makefile b/www/Makefile index 0b656d9f..cfba63c9 100644 --- a/www/Makefile +++ b/www/Makefile @@ -28,7 +28,7 @@ copy: for d in "" $$(grep / ../examples/INDEX); \ do \ mkdir -p build/examples/$$d; \ - for t in png py ipynb jpg dat eps pdf; \ + for t in png py ipynb jpg dat eps pdf svg; \ do \ cp ../examples/$$d*.$$t build/examples/$$d 2> /dev/null; \ done; \ diff --git a/www/pt2html.py b/www/pt2html.py index 7a0da0f6..252ba371 100755 --- a/www/pt2html.py +++ b/www/pt2html.py @@ -150,7 +150,7 @@ class example: self.thumbpng = "%s_thumb.png" % basename self.thumbwidth, self.thumbheight = Image.open("%s_thumb.png" % relname).size self.downloads = [] - for suffix in ["py", "ipynb", "dat", "jpg", "eps", "pdf"]: + for suffix in ["py", "ipynb", "dat", "jpg", "eps", "pdf", "svg"]: try: filesize = "%.1f KB" % (os.path.getsize("%s.%s" % (relname, suffix)) / 1024.0) except OSError: -- 2.11.4.GIT