[Python-modules-commits] [python-django] 02/06: Disable creation of _sources directory by Sphinx

Raphaël Hertzog hertzog at moszumanska.debian.org
Wed Dec 30 15:46:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

hertzog pushed a commit to branch debian/jessie-updates
in repository python-django.

commit 09dc3a85f5a42a5695687c8105cc39f884c19931
Author: Raphaël Hertzog <hertzog at debian.org>
Date:   Sun Oct 11 12:06:13 2015 +1100

    Disable creation of _sources directory by Sphinx
    
     We do this to save some space as the sources of the documentation
     are not really useful in a binary package.
     .
     This is a Debian specific patch.
    Forwarded: not-needed
    Origin: vendor
    
    Patch-Name: 02_disable-sources-in-sphinxdoc.diff
---
 docs/conf.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index 6df8dd8..90e4d69 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -200,7 +200,10 @@ html_additional_pages = {}
 #html_split_index = False
 
 # If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
+html_show_sourcelink = False
+
+# Do not ship a copy of the sources
+html_copy_source = False
 
 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
 #html_show_sphinx = True

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django.git



More information about the Python-modules-commits mailing list