[Python-modules-commits] [python-mkdocs] 03/05: Use themes from /usr/share/mkdocs/themes

Brian May bam at moszumanska.debian.org
Wed May 11 00:45:41 UTC 2016


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

bam pushed a commit to branch master
in repository python-mkdocs.

commit 31150740d5b7b66013f63192aced354883cb5022
Author: Brian May <bam at debian.org>
Date:   Mon May 2 15:53:46 2016 +1000

    Use themes from /usr/share/mkdocs/themes
    
    See https://lists.debian.org/debian-python/2016/04/msg00042.html
---
 mkdocs/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mkdocs/__init__.py b/mkdocs/__init__.py
index 170bf76..6fe2e34 100644
--- a/mkdocs/__init__.py
+++ b/mkdocs/__init__.py
@@ -5,6 +5,8 @@ from __future__ import unicode_literals
 
 import sys
 
+sys.path.insert(1, "/usr/share/mkdocs/themes")
+
 if sys.version_info < (2, 7):
     sys.stderr.write(("WARNING: Support for Python 2.6 will be dropped in the "
                       "1.0.0 release of MkDocs\n\n"))

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



More information about the Python-modules-commits mailing list