Commit bdcce8b8 authored by Akihiro Motoki's avatar Akihiro Motoki
Browse files

rearrange existing documentation to fit the new standard layout

Minor formatting improvements found during the document check
are also done.

Change-Id: I55d582100c40961a5b0f5ec4b2ea9a55f2d8d8a1
parent 464c9b62
If you would like to contribute to the development of OpenStack,
you must follow the steps in this page:
http://docs.openstack.org/infra/manual/developers.html
http://docs.openstack.org/infra/manual/developers.html
Once those steps have been completed, changes to OpenStack
should be submitted for review via the Gerrit tool, following
the workflow documented at:
http://docs.openstack.org/infra/manual/developers.html#development-workflow
http://docs.openstack.org/infra/manual/developers.html#development-workflow
Pull requests submitted through GitHub will be ignored.
Bugs should be filed on Launchpad, not GitHub:
https://bugs.launchpad.net/oslo.versionedobjects
https://bugs.launchpad.net/oslo.versionedobjects
......@@ -2,4 +2,4 @@
Contributing
==============
.. include:: ../../CONTRIBUTING.rst
.. include:: ../../../CONTRIBUTING.rst
.. include:: ../../ChangeLog
......@@ -13,29 +13,18 @@ upgrade compatibility across distributed services.
* Source: http://git.openstack.org/cgit/openstack/oslo.versionedobjects
* Bugs: http://bugs.launchpad.net/oslo.versionedobjects
Contents
========
----
.. toctree::
:maxdepth: 2
installation
api/index
usage
examples
opts
contributing
install/index
user/index
configuration/index
reference/index
contributor/index
Release Notes
=============
.. toctree::
:maxdepth: 1
history
Indices and tables
==================
.. rubric:: Indices and tables
* :ref:`genindex`
* :ref:`modindex`
......
=====
API
=====
=============
API Reference
=============
.. toctree::
:maxdepth: 2
......
......@@ -9,7 +9,7 @@ IOT lightbulb
Full source located at :example:`iot_bulb`.
.. literalinclude:: ../../oslo_versionedobjects/examples/iot_bulb.py
.. literalinclude:: ../../../oslo_versionedobjects/examples/iot_bulb.py
:language: python
:linenos:
:lines: 14-
......
.. include:: ../../../ChangeLog
===========================
Using oslo.versionedobjects
===========================
.. toctree::
:maxdepth: 2
usage
examples
.. history contains a lot of sections, toctree with maxdepth 1 is used.
.. toctree::
:maxdepth: 1
history
......@@ -1129,7 +1129,7 @@ def obj_tree_get_versions(objname, tree=None):
level object with other objects as fields. It walks the tree recursively
to determine all the objects (by symbolic name) that could be contained
within the top-level object, and the maximum versions of each. The result
is a dict like:
is a dict like::
{'MyObject': '1.23', ... }
......
......@@ -1036,7 +1036,7 @@ class UUIDField(AutoTypedField):
your own objects/fields.py
:Example:
.. code-block:: python
.. code-block:: python
import oslo_versionedobjects.fields as ovo_fields
......@@ -1049,8 +1049,8 @@ class UUIDField(AutoTypedField):
class UUIDField(ovo_fields.AutoTypedField):
AUTO_TYPE = UUID()
and then in your objects use
``<your_projects>.object.fields.UUIDField``.
and then in your objects use
``<your_projects>.object.fields.UUIDField``.
This will become default behaviour in the future.
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment