[Python-modules-commits] [terminaltables] 02/05: enable Sphinx html_copy_source

Carl Suster arcresu-guest at moszumanska.debian.org
Thu Jan 12 05:01:41 UTC 2017


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

arcresu-guest pushed a commit to branch master
in repository terminaltables.

commit 7d3174df83fd37b4cdcd23487cbcc5f2a7ce797b
Author: Carl Suster <carl at contraflo.ws>
Date:   Sat Jan 7 14:39:14 2017 +1100

    enable Sphinx html_copy_source
    
    We would like for the HTML source files to be installed, and they are
    needed for the search page. In theory this could be done by passing an
    argument `-Dhtml_copy_source=1` in debian/rules, however this causes
    HAS_SOURCE to be equal to 1 instead of True so dh_sphinxdoc fails with a
    "doesn't look like a Sphinc search page" error.
    
    Forwarded: no
---
 docs/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/conf.py b/docs/conf.py
index 7580d0c..12ab980 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -26,7 +26,7 @@ html_context = dict(
     github_version=os.environ.get('TRAVIS_BRANCH', 'master'),
     source_suffix='.rst',
 )
-html_copy_source = False
+html_copy_source = True
 html_favicon = 'favicon.ico'
 html_theme = 'sphinx_rtd_theme'
 html_title = project

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



More information about the Python-modules-commits mailing list