move documentation sources to docs/source
authorJan Dittberner <jan@dittberner.info>
Sun, 24 Feb 2013 21:13:12 +0000 (22:13 +0100)
committerJan Dittberner <jan@dittberner.info>
Sun, 24 Feb 2013 21:13:12 +0000 (22:13 +0100)
* docs/source/conf.py
  - add toplevel directory to Python search path to allow building of
    documentation using system sphinx installation

docs/source/conf.py [moved from docs/conf.py with 98% similarity]
docs/source/credits.rst [moved from docs/credits.rst with 100% similarity]
docs/source/devdocs.rst [moved from docs/devdocs.rst with 100% similarity]
docs/source/index.rst [moved from docs/index.rst with 100% similarity]
docs/source/sourcecode.rst [moved from docs/sourcecode.rst with 100% similarity]
setup.cfg

similarity index 98%
rename from docs/conf.py
rename to docs/source/conf.py
index b2c9a85..8eb44c9 100644 (file)
@@ -19,7 +19,8 @@ import sys, os
 # If your extensions are in another directory, add it here. If the directory
 # is relative to the documentation root, use os.path.abspath to make it
 # absolute, like shown here.
-#sys.path.append(os.path.abspath('.'))
+sys.path.append(
+    os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')))
 
 # General configuration
 # ---------------------
similarity index 100%
rename from docs/credits.rst
rename to docs/source/credits.rst
similarity index 100%
rename from docs/devdocs.rst
rename to docs/source/devdocs.rst
similarity index 100%
rename from docs/index.rst
rename to docs/source/index.rst
index 3b1d4d5..e1069a2 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -6,7 +6,7 @@ tag_svn_revision = true
 find_links = http://www.pylonshq.com/download/
 
 [build_sphinx]
-source-dir = docs
+source-dir = docs/source
 build-dir = docs/html
 all_files = 1