Browse files

Add autosummary extension and add cwd to sys.path for importing dummy…

… settings module
  • Loading branch information...
1 parent 7b5b783 commit 4a8343a36cbfdbfa566b5d48044a48bad697c1fa @diazona committed Sep 6, 2010
Showing with 6 additions and 2 deletions.
  1. +6 −2 docs/
@@ -16,13 +16,17 @@
# If extensions (or modules to document with autodoc) are in another directory,
# 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.
+ os.path.abspath('..'), # root of the Modulo source tree
+ os.path.abspath('.') # modulo.database needs a to import;
+]) # a dummy one is provided in the current directory
# -- General configuration -----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.todo', 'sphinx.ext.coverage']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

0 comments on commit 4a8343a

Please sign in to comment.