move documentation sources to docs/source

* docs/source/conf.py
  - add toplevel directory to Python search path to allow building of
    documentation using system sphinx installation
This commit is contained in:
Jan Dittberner 2013-02-24 22:13:12 +01:00
parent 4304c425f7
commit f778c21b0e
6 changed files with 3 additions and 2 deletions

View 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
# ---------------------

View File

@ -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