From 0893e830177596b8acb82cd78975856ff0ace645 Mon Sep 17 00:00:00 2001 From: Moritz Kiefer Date: Tue, 15 Jan 2013 18:07:25 +0100 Subject: [PATCH] fixes for readthedocs --- .gitignore | 2 +- {doc => docs}/Makefile | 0 {doc => docs}/source/conf.py | 2 +- {doc => docs}/source/index.rst | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename {doc => docs}/Makefile (100%) rename {doc => docs}/source/conf.py (99%) rename {doc => docs}/source/index.rst (100%) diff --git a/.gitignore b/.gitignore index d0bf550..e27f187 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *~ *.swp -doc/build/* +docs/build/* diaspy/__pycache__/* diff --git a/doc/Makefile b/docs/Makefile similarity index 100% rename from doc/Makefile rename to docs/Makefile diff --git a/doc/source/conf.py b/docs/source/conf.py similarity index 99% rename from doc/source/conf.py rename to docs/source/conf.py index 369460d..a8e57d7 100644 --- a/doc/source/conf.py +++ b/docs/source/conf.py @@ -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 ----------------------------------------------------- diff --git a/doc/source/index.rst b/docs/source/index.rst similarity index 100% rename from doc/source/index.rst rename to docs/source/index.rst -- 2.25.1