rearrange the existing docs into the new standard layout

Change-Id: I1cf25aade215aad3ce9050af7c9fa8987564863c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-06-28 17:15:45 -04:00
parent c6705f4e0b
commit 3241a7d9c4
13 changed files with 44 additions and 17 deletions

2
.gitignore vendored
View File

@ -17,7 +17,7 @@ etc/*.conf
etc/*.ini etc/*.ini
AUTHORS AUTHORS
ChangeLog ChangeLog
doc/source/api/* doc/source/reference/api/*
doc/build/* doc/build/*
dist dist
designateclient/versioninfo designateclient/versioninfo

View File

@ -0,0 +1,8 @@
====================
Contributors Guide
====================
.. toctree::
contributing
functional-tests

View File

@ -5,38 +5,30 @@ python-designateclient
python-designateclient provides python bindings and command line tools for both python-designateclient provides python bindings and command line tools for both
Designate v1 and v2 APIs. Designate v1 and v2 APIs.
The :doc:`Python API bindings <bindings>` are provided by the The :ref:`Python API bindings <bindings>` are provided by the
:program:`designateclient` module. :program:`designateclient` module.
There are two separate command line interfaces to work with the two API There are two separate command line interfaces to work with the two API
versions: versions:
v2: the designate plugin for the :program:`openstack` command line tool. More information can be v2: the designate plugin for the :program:`openstack` command line tool. More information can be
found on the :doc:`designate v2 command line tool page <shell-v2>`. found on the :ref:`designate v2 command line tool page <shell-v2>`.
v1: the :program:`designate` command line tool. More information can be found v1: the :program:`designate` command line tool. More information can be found
on the :doc:`designate v1 command line tool page <shell>`. on the :ref:`designate v1 command line tool page <shell>`.
You'll need credentials for an OpenStack cloud that implements the Designate You'll need credentials for an OpenStack cloud that implements the Designate
API in order to use the client. API in order to use the client.
Contents
======================
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
installation install/index
bindings user/index
shell-v2 contributor/index
shell reference/index
shell-examples
contributing
functional-tests
api/autoindex
Indices and tables .. rubric:: Indices and tables
==================
* :ref:`genindex` * :ref:`genindex`
* :ref:`modindex` * :ref:`modindex`

View File

@ -0,0 +1,7 @@
==================================
python-designateclient Reference
==================================
.. toctree::
api/autoindex

View File

@ -1,3 +1,5 @@
.. _bindings:
=========================== ===========================
Python Bindings - v1 and v2 Python Bindings - v1 and v2
=========================== ===========================

10
doc/source/user/index.rst Normal file
View File

@ -0,0 +1,10 @@
==============================
Using python-designateclient
==============================
.. toctree::
bindings
shell-v2
shell
shell-examples

View File

@ -1,3 +1,5 @@
.. _shell-v2:
=========================== ===========================
OpenStack CLI (v2 API only) OpenStack CLI (v2 API only)
=========================== ===========================

View File

@ -1,3 +1,5 @@
.. _shell:
========================================================= =========================================================
Designate Command Line Tool (compatible with v1 API only) Designate Command Line Tool (compatible with v1 API only)
========================================================= =========================================================

View File

@ -178,3 +178,7 @@ universal = 1
[pbr] [pbr]
autodoc_index_modules = True autodoc_index_modules = True
api_doc_dir = reference/api
autodoc_exclude_modules =
designateclient.tests.*
designateclient.functionaltests.*