More updating of readme

This commit is contained in:
Eric Holscher 2015-06-07 08:10:26 -07:00
parent 31924ec371
commit 33914e992c

View File

@ -69,9 +69,14 @@ Then add it to your Sphinx project's ``conf.py``:
extensions = ['autoapi.extension']
# Document Python Code
autoapi_type = 'python'
autoapi_dir = 'path/to/python/files'
# Or, Document Go Code
autoapi_type = 'go'
autoapi_dir = 'path/to/go/files'
Then in your ``index.rst``, add autoapi to your TOC tree:
.. code:: rst
@ -84,6 +89,9 @@ This is needed because we will be outputting rst files into the ``autoapi`` dire
This adds it into the global TOCTree for your project,
so that it appears in the menus.
We hope to be able to dynamically add items into the TOCTree, and remove this step.
However, it is currently required.
See all available configuration options in :doc:`config`.
Customize