diff doc/conf.py @ 54:aa8345dae995

Generate readable HTML documentation and an API documentation
author Franz Glasner <hg@dom66.de>
date Tue, 27 Feb 2018 23:42:11 +0100
parents 6c7f90dbce98
children 51a8fa011659
line wrap: on
line diff
--- a/doc/conf.py	Tue Feb 27 23:00:32 2018 +0100
+++ b/doc/conf.py	Tue Feb 27 23:42:11 2018 +0100
@@ -12,9 +12,9 @@
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #
-# import os
-# import sys
-# sys.path.insert(0, os.path.abspath('.'))
+import os
+import sys
+sys.path.insert(0, os.path.dirname(os.path.abspath('.')))
 
 
 # -- Project information -----------------------------------------------------