From 6d29b6ecc5afca2fe5c1bec12ce4c98cbf2b8240 Mon Sep 17 00:00:00 2001 From: Stefano Borini <sborini@enthought.com> Date: Tue, 18 Jul 2017 15:08:46 +0100 Subject: [PATCH] Added introduction and fixed conf path --- doc/source/conf.py | 6 ++++-- doc/source/introduction.rst | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 doc/source/introduction.rst diff --git a/doc/source/conf.py b/doc/source/conf.py index 0e6fe67..289f469 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -6,8 +6,10 @@ import sys import os -sys.path.insert(0, os.path.join(os.path.abspath(__file__), "..", "..")) - +sys.path.insert(0, os.path.join( + os.path.dirname(os.path.abspath(__file__)), "..", "..") + ) +print(sys.path) MOCK_MODULES=[] def _warn_node(self, msg, node, **kwargs): diff --git a/doc/source/introduction.rst b/doc/source/introduction.rst new file mode 100644 index 0000000..1914d9d --- /dev/null +++ b/doc/source/introduction.rst @@ -0,0 +1,2 @@ +Introduction +------------ -- GitLab