fixes for readthedocs
authorMoritz Kiefer <moritz.kiefer@gmail.com>
Tue, 15 Jan 2013 17:07:25 +0000 (18:07 +0100)
committerMoritz Kiefer <moritz.kiefer@gmail.com>
Tue, 15 Jan 2013 17:07:25 +0000 (18:07 +0100)
.gitignore
docs/Makefile [moved from doc/Makefile with 100% similarity]
docs/source/conf.py [moved from doc/source/conf.py with 99% similarity]
docs/source/index.rst [moved from doc/source/index.rst with 100% similarity]

index d0bf5504822ac8081af64f40967162325a6d4f3d..e27f187cb39a88ba002525f0c8632c30c2171f8e 100644 (file)
@@ -1,4 +1,4 @@
 *~
 *.swp
-doc/build/*
+docs/build/*
 diaspy/__pycache__/*
similarity index 100%
rename from doc/Makefile
rename to docs/Makefile
similarity index 99%
rename from doc/source/conf.py
rename to docs/source/conf.py
index 369460d97b9470fc613275e59cb7a8027d897578..a8e57d7803f3e8169ea1d57b7ae433b2de1c96db 100644 (file)
@@ -18,7 +18,7 @@ import sys, os
 # 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.
 #sys.path.insert(0, os.path.abspath('.'))
-sys.path.insert(0, '..')
+sys.path.insert(0, os.path.abspath(__file__))
 
 # -- General configuration -----------------------------------------------------
 
similarity index 100%
rename from doc/source/index.rst
rename to docs/source/index.rst