| 1 |
From 28610c28ab6417d095f7935e5ba7a39ea1480c37 Mon Sep 17 00:00:00 2001 |
| 2 |
From: SVN-Git Migration <[email protected]> |
| 3 |
Date: Thu, 8 Oct 2015 08:35:04 -0700 |
| 4 |
Subject: Add cairocffi local module path so Sphinx can find them during the |
| 5 |
build |
| 6 |
|
| 7 |
Last-Update: 2014-09-22 |
| 8 |
|
| 9 |
Patch-Name: fix_import_sphinxdoc.patch |
| 10 |
--- |
| 11 |
docs/conf.py | 3 +++ |
| 12 |
1 file changed, 3 insertions(+) |
| 13 |
|
| 14 |
diff --git a/docs/conf.py b/docs/conf.py |
| 15 |
index 0b93a44..345dcfb 100644 |
| 16 |
--- a/docs/conf.py |
| 17 |
+++ b/docs/conf.py |
| 18 |
@@ -1,5 +1,8 @@ |
| 19 |
import re |
| 20 |
import os |
| 21 |
+import sys |
| 22 |
+sys.path.insert(0, os.path.abspath("..")) |
| 23 |
+ |
| 24 |
|
| 25 |
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', |
| 26 |
'sphinx.ext.coverage'] |