[Python-modules-commits] [mutagen] 03/06: Use the Debian package of the sphinx-rtd theme

Tristan Seligmann mithrandi at moszumanska.debian.org
Sun Jul 3 22:27:25 UTC 2016


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

mithrandi pushed a commit to branch master
in repository mutagen.

commit b6402458646897cdf93092bd816de93d11f265c5
Author: Tristan Seligmann <mithrandi at debian.org>
Date:   Thu Oct 8 09:57:12 2015 -0700

    Use the Debian package of the sphinx-rtd theme
    
    Forwarded: no
    Last-Update: 2014-12-08
    Patch-Name: use-rtd-package
---
 docs/conf.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/conf.py b/docs/conf.py
index f2fc667..ae92bd7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -2,6 +2,7 @@
 
 import os
 import sys
+import sphinx_rtd_theme
 
 dir_ = os.path.dirname(os.path.realpath(__file__))
 sys.path.insert(0, dir_)
@@ -31,6 +32,8 @@ exclude_patterns = ['_build']
 bug_url_template = "https://github.com/quodlibet/mutagen/issues/%s"
 pr_url_template = "https://github.com/quodlibet/mutagen/pull/%s"
 bbpr_url_template = "https://bitbucket.org/lazka/mutagen/pull-requests/%s"
+html_theme = "sphinx_rtd_theme"
+html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
 
 autodoc_member_order = "bysource"
 default_role = "obj"

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



More information about the Python-modules-commits mailing list