rearrange the documentation to fit into the new standard layout

Change-Id: Ibe6548b444a8f030ea7ba034b7d63622e32d3917
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-06-28 12:42:18 -04:00
parent 1cf2f426ce
commit 01dead7bdd
10 changed files with 35 additions and 25 deletions

View File

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

View File

@ -0,0 +1,9 @@
===========================
Contributing to oslo.i18n
===========================
.. toctree::
:maxdepth: 2
contributing
policy

View File

@ -1 +0,0 @@
.. include:: ../../ChangeLog

View File

@ -6,28 +6,14 @@ The oslo.i18n library contain utilities for working with
internationalization (i18n) features, especially translation for text
strings in an application or library.
Contents
========
.. toctree::
:maxdepth: 2
usage
guidelines
api
policy
contributing
user/index
reference/index
contributor/index
Release Notes
=============
.. toctree::
:maxdepth: 1
history
Indices and tables
==================
.. rubric:: Indices and tables
* :ref:`modindex`
* :ref:`search`

View File

@ -1,6 +1,8 @@
=====
API
=====
.. _api:
===============
oslo.i18n API
===============
oslo_i18n
=========

View File

@ -12,8 +12,8 @@ to the user. Those do not need to be translated.
.. seealso::
* :doc:`usage`
* :doc:`api`
* :ref:`usage`
* :ref:`api`
Gettext Contextual Form and Plural Form
=======================================

View File

@ -0,0 +1 @@
.. include:: ../../../ChangeLog

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

@ -0,0 +1,11 @@
=================
Using oslo.i18n
=================
.. toctree::
:maxdepth: 2
usage
guidelines
history

View File

@ -1,3 +1,5 @@
.. _usage:
=====================================================
How to Use oslo.i18n in Your Application or Library
=====================================================