[Python-modules-commits] [cairocffi] 03/06: Add cairocffi local module path so Sphinx can find them during the build

Jean-Christophe Jaskula jcjaskula-guest at moszumanska.debian.org
Sat Oct 24 18:22:44 UTC 2015


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

jcjaskula-guest pushed a commit to branch master
in repository cairocffi.

commit 28610c28ab6417d095f7935e5ba7a39ea1480c37
Author: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
Date:   Thu Oct 8 08:35:04 2015 -0700

    Add cairocffi local module path so Sphinx can find them during the build
    
    Last-Update: 2014-09-22
    
    Patch-Name: fix_import_sphinxdoc.patch
---
 docs/conf.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/conf.py b/docs/conf.py
index 0b93a44..345dcfb 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,5 +1,8 @@
 import re
 import os
+import sys
+sys.path.insert(0, os.path.abspath(".."))
+
 
 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',
               'sphinx.ext.coverage']

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



More information about the Python-modules-commits mailing list