[Python-modules-commits] r28216 - in packages/plainbox/trunk/debian/patches (1 file)

zyga-guest at users.alioth.debian.org zyga-guest at users.alioth.debian.org
Mon Mar 17 10:02:07 UTC 2014


    Date: Monday, March 17, 2014 @ 10:02:06
  Author: zyga-guest
Revision: 28216

Update documentation-theme patch

Modified:
  packages/plainbox/trunk/debian/patches/documentation-theme

Modified: packages/plainbox/trunk/debian/patches/documentation-theme
===================================================================
--- packages/plainbox/trunk/debian/patches/documentation-theme	2014-03-17 09:59:34 UTC (rev 28215)
+++ packages/plainbox/trunk/debian/patches/documentation-theme	2014-03-17 10:02:06 UTC (rev 28216)
@@ -1,6 +1,6 @@
 --- a/docs/conf.py
 +++ b/docs/conf.py
-@@ -108,7 +108,7 @@
+@@ -108,18 +108,11 @@
  # Use our custom theme. For now it only adds Disqus.com support but we may
  # customize it further later on. The theme is called 'plainbox' and has one
  # option which controls if disqus is active or not.
@@ -9,3 +9,14 @@
  
  # Theme options are theme-specific and customize the look and feel of a theme
  # further.  For a list of options available for each theme, see the
+ # documentation.
+-#
+-# Due to the way disqus works, it's only going to work on
+-# plainbox.readthedocs.org so only use it if building for readthedocs.
+-
+-html_theme_options = {
+-    'show_disqus': 'true' if os.environ.get("READTHEDOCS", None) == 'True' else ''
+-}
+ 
+ # Add any paths that contain custom themes here, relative to this directory.
+ html_theme_path = ['_theme']




More information about the Python-modules-commits mailing list