Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… settings module
  • Loading branch information...
commit 4a8343a36cbfdbfa566b5d48044a48bad697c1fa 1 parent 7b5b783
@diazona authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 docs/
8 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']
Please sign in to comment.
Something went wrong with that request. Please try again.