From e887aaa6172eae16d00057216c82be1307cfdfca Mon Sep 17 00:00:00 2001 From: Roland Meister Date: Sun, 10 Feb 2013 13:47:42 +0100 Subject: [PATCH 1/3] Bug #1093: restrict image width for epub builder. --- sphinx/themes/epub/static/epub.css | 1 + 1 file changed, 1 insertion(+) diff --git a/sphinx/themes/epub/static/epub.css b/sphinx/themes/epub/static/epub.css index 9ce90fae2..b46c0873c 100644 --- a/sphinx/themes/epub/static/epub.css +++ b/sphinx/themes/epub/static/epub.css @@ -22,6 +22,7 @@ a:link, a:visited { img { border: 0; + max-width: 100%; } /* -- relbar ---------------------------------------------------------------- */ From 32414bf3d3d18c2ea78da945f7fcaa714773ec1b Mon Sep 17 00:00:00 2001 From: Roland Meister Date: Thu, 14 Feb 2013 21:34:26 +0100 Subject: [PATCH 2/3] Add orphan documents as epub_post_files. --- doc/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index e9998d237..ef3ff68d7 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -35,6 +35,8 @@ epub_publisher = 'http://sphinx-doc.org/' epub_scheme = 'url' epub_identifier = epub_publisher epub_pre_files = [('index.html', 'Welcome')] +epub_post_files = [('install.html', 'Installing Sphinx'), + ('develop.html', 'Sphinx development')] epub_exclude_files = ['_static/opensearch.xml', '_static/doctools.js', '_static/jquery.js', '_static/searchtools.js', '_static/underscore.js', '_static/basic.css', 'search.html', '_static/websupport.js'] From 0525c97427c23433ed39cd9350d8368eda843c74 Mon Sep 17 00:00:00 2001 From: Roland Meister Date: Thu, 14 Feb 2013 21:46:11 +0100 Subject: [PATCH 3/3] Rename pythonorg.jpg to proper pythonorg.png. --- doc/install.rst | 2 +- doc/{pythonorg.jpg => pythonorg.png} | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename doc/{pythonorg.jpg => pythonorg.png} (100%) diff --git a/doc/install.rst b/doc/install.rst index 3af60dad5..d4457899e 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -77,7 +77,7 @@ Go to http://python.org . This site is a headquarter of the Python. Look at Left sidebar and "Quick Links", Click "Windows Installer" to download. -.. image:: pythonorg.jpg +.. image:: pythonorg.png .. note:: diff --git a/doc/pythonorg.jpg b/doc/pythonorg.png similarity index 100% rename from doc/pythonorg.jpg rename to doc/pythonorg.png