Merge "doc migration"

This commit is contained in:
Jenkins 2017-07-20 06:34:02 +00:00 committed by Gerrit Code Review
commit 7ab6bf0415
9 changed files with 32 additions and 14 deletions

View File

@ -18,7 +18,9 @@ from keystoneauth1 import adapter
class Client(object):
"""Client for the Congress v1 API.
Example::
Example
::
from keystoneauth1.identity import v2
from keystoneauth1 import session
from congressclient.v1 import client

View File

@ -1,4 +1,4 @@
============
Contributing
============
.. include:: ../../CONTRIBUTING.rst
.. include:: ../../../CONTRIBUTING.rst

View File

@ -9,16 +9,21 @@ Welcome to python-congressclient's documentation!
Contents:
.. toctree::
:maxdepth: 2
:maxdepth: 1
readme
installation
usage
contributing
Indices and tables
==================
user/readme
install/index
user/index
contributor/index
reference/index
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. # Below are items we don't want to show doc consumers but need to be
# included to avoid sphinx warning/error.
# api/autoindex hidden because the information is already in modindex above
.. toctree::
:hidden:
reference/api/autoindex

View File

@ -1 +0,0 @@
.. include:: ../../README.rst

View File

@ -0,0 +1,5 @@
==========
References
==========
* :ref:`modindex`

View File

@ -1,6 +1,6 @@
========
=====
Usage
========
=====
To use python-congressclient in a project::

View File

@ -0,0 +1,5 @@
##########
README
##########
.. include:: ../../../README.rst

View File

@ -58,12 +58,14 @@ openstack.congressclient.v1 =
[pbr]
autodoc_index_modules = True
api_doc_dir = reference/api
warnerrors = True
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
warning-is-error = 1
[upload_sphinx]
upload-dir = doc/build/html