X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/4edce19176898736fc4914b7eb08d907566f0547..a7c05c72e5a1740f6ad7faac157a326cca4efb2a:/docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index a879f03..ece87fc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,15 +17,18 @@ 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.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext"))) +sys.path.append(os.path.abspath(os.path.dirname(os.path.dirname(__file__)))) + +os.environ['DJANGO_SETTINGS_MODULE'] = 'dummy-settings' # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. -#needs_sphinx = '1.0' +needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['djangodocs'] +extensions = ['djangodocs', 'sphinx.ext.autodoc'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']