2016-11-24 13:57:53 +00:00
|
|
|
========================
|
|
|
|
Team and repository tags
|
|
|
|
========================
|
|
|
|
|
2017-08-15 02:07:05 +00:00
|
|
|
.. image:: https://governance.openstack.org/tc/badges/openstack-manuals.svg
|
|
|
|
:target: https://governance.openstack.org/tc/reference/tags/index.html
|
2016-11-24 13:57:53 +00:00
|
|
|
|
|
|
|
.. Change things from this point on
|
|
|
|
|
2018-05-31 09:16:10 +00:00
|
|
|
=================
|
2013-12-04 20:07:43 +00:00
|
|
|
OpenStack Manuals
|
2018-05-31 09:16:10 +00:00
|
|
|
=================
|
2012-03-06 23:27:48 +00:00
|
|
|
|
2013-12-04 20:07:43 +00:00
|
|
|
This repository contains documentation for the OpenStack project.
|
2012-03-06 23:27:48 +00:00
|
|
|
|
2016-01-16 00:55:49 +00:00
|
|
|
For more details, see the `OpenStack Documentation Contributor
|
2017-09-13 19:56:23 +00:00
|
|
|
Guide <https://docs.openstack.org/doc-contrib-guide/>`_.
|
2011-11-20 21:58:41 +00:00
|
|
|
|
2013-12-04 20:07:43 +00:00
|
|
|
It includes these manuals:
|
|
|
|
|
2017-11-01 07:16:15 +00:00
|
|
|
* Architecture Design Guide
|
|
|
|
* Documentation Contributor Guide
|
|
|
|
* High Availability Guide
|
|
|
|
* Installation Guide
|
|
|
|
* Virtual Machine Image Guide
|
2011-11-20 21:58:41 +00:00
|
|
|
|
2012-07-07 22:33:06 +00:00
|
|
|
In addition to the guides, this repository contains:
|
2012-03-06 23:27:48 +00:00
|
|
|
|
2017-11-01 07:16:15 +00:00
|
|
|
* docs.openstack.org contents: ``www``
|
2016-01-16 00:55:49 +00:00
|
|
|
|
|
|
|
Building
|
|
|
|
========
|
2016-05-18 10:22:16 +00:00
|
|
|
|
2016-01-16 00:55:49 +00:00
|
|
|
Various manuals are in subdirectories of the ``doc/`` directory.
|
|
|
|
|
|
|
|
Guides
|
|
|
|
------
|
2016-05-18 10:22:16 +00:00
|
|
|
|
2017-02-24 21:11:03 +00:00
|
|
|
Some pre-requisites are needed to build the guides. If you are using a Linux
|
|
|
|
operating system you can generate a report of missing local requirements with
|
|
|
|
the ``bindep`` command::
|
|
|
|
|
|
|
|
$ tox -e bindep
|
|
|
|
|
2016-10-14 02:15:41 +00:00
|
|
|
All guides are in the RST format. You can use ``tox`` to prepare
|
2017-07-17 15:27:00 +00:00
|
|
|
virtual environment and build all guides (HTML only)::
|
2016-01-16 00:55:49 +00:00
|
|
|
|
2016-10-14 02:15:41 +00:00
|
|
|
$ tox -e docs
|
2016-01-16 00:55:49 +00:00
|
|
|
|
|
|
|
You can also build a specific guide.
|
2016-05-18 10:22:16 +00:00
|
|
|
|
2017-07-10 19:01:09 +00:00
|
|
|
For example, to build *OpenStack Virtual Machine Image Guide*, use the
|
|
|
|
following command::
|
2016-01-16 00:55:49 +00:00
|
|
|
|
2017-07-10 19:01:09 +00:00
|
|
|
$ tox -e build -- image-guide
|
2016-01-16 00:55:49 +00:00
|
|
|
|
|
|
|
You can find the root of the generated HTML documentation at::
|
|
|
|
|
2017-07-10 19:01:09 +00:00
|
|
|
doc/image-guide/build/html/index.html
|
2016-01-16 00:55:49 +00:00
|
|
|
|
2017-02-21 13:40:58 +00:00
|
|
|
To build a specific guide with a PDF file, add a ``-pdf`` option like::
|
|
|
|
|
2017-07-10 19:01:09 +00:00
|
|
|
$ tox -e build -- image-guide --pdf
|
2017-02-21 13:40:58 +00:00
|
|
|
|
|
|
|
The generated PDF file will be copied to the root directory of the
|
|
|
|
generated HTML documentation.
|
|
|
|
|
2018-01-16 18:34:37 +00:00
|
|
|
PDF builds are accomplished using LaTeX as an intermediate format. Currently,
|
|
|
|
you can generate a PDF file for a limited number of guides. The supported list
|
|
|
|
is maintained in the ``tools/build-all-rst.sh`` file.
|
2011-09-20 13:50:34 +00:00
|
|
|
|
2018-01-16 18:34:37 +00:00
|
|
|
If you get the error message ``make: xelatex: No such file or directory``, it
|
|
|
|
means your local environment does not have LaTeX installed. Read
|
|
|
|
`Getting LaTeX <https://www.latex-project.org/get/>`_ and
|
|
|
|
`Install dependencies for building documentation
|
|
|
|
<https://docs.openstack.org/doc-contrib-guide/docs-builds.html#install-dependencies-for-building-documentation>`_
|
|
|
|
for instructions.
|
|
|
|
|
|
|
|
Testing of changes and building of all manuals
|
|
|
|
==============================================
|
2014-01-02 16:01:48 +00:00
|
|
|
|
2016-05-18 10:22:16 +00:00
|
|
|
Install the Python tox package and run ``tox`` from the top-level
|
2017-02-26 18:50:07 +00:00
|
|
|
directory to use the same tests that are done as part of the OpenStack
|
|
|
|
CI jobs.
|
2014-01-02 16:01:48 +00:00
|
|
|
|
|
|
|
If you like to run individual tests, run:
|
2014-02-02 09:44:49 +00:00
|
|
|
|
2018-01-16 18:34:37 +00:00
|
|
|
* ``tox -e checkbuild`` - to actually build the manual; this also generates a
|
|
|
|
directory ``publish-docs`` that contains the built files for inspection
|
2017-07-17 15:27:00 +00:00
|
|
|
* ``tox -e checklang`` - to build translated manuals
|
2018-01-16 18:34:37 +00:00
|
|
|
* ``tox -e linters`` - to run the niceness tests, for example, to see extra
|
|
|
|
whitespaces
|
2017-07-17 15:27:00 +00:00
|
|
|
* ``tox -e linkcheck`` - to run the tests for working remote URLs
|
2014-01-02 16:01:48 +00:00
|
|
|
|
2017-07-17 15:27:00 +00:00
|
|
|
The ``tox`` command uses the openstack-doc-tools package to run the
|
2014-01-02 16:01:48 +00:00
|
|
|
tests.
|
|
|
|
|
2012-03-06 23:27:48 +00:00
|
|
|
|
2016-03-15 21:56:16 +00:00
|
|
|
Generated files
|
|
|
|
---------------
|
|
|
|
|
|
|
|
Some documentation files are generated using tools. These files include
|
2016-10-14 02:15:41 +00:00
|
|
|
a ``do not edit`` header and should not be modified by hand.
|
|
|
|
Please see `Generated files
|
2017-09-13 19:56:23 +00:00
|
|
|
<https://docs.openstack.org/doc-contrib-guide/doc-tools.html>`_.
|
2016-03-15 21:56:16 +00:00
|
|
|
|
2014-01-03 09:24:25 +00:00
|
|
|
|
|
|
|
Bugs
|
|
|
|
====
|
|
|
|
|
|
|
|
Bugs should be filed on Launchpad, not GitHub:
|
|
|
|
|
2017-11-01 07:16:15 +00:00
|
|
|
https://bugs.launchpad.net/openstack-manuals
|
2012-03-06 23:27:48 +00:00
|
|
|
|
2011-09-20 13:50:34 +00:00
|
|
|
|
2018-07-17 14:14:41 +00:00
|
|
|
Release Notes
|
|
|
|
=============
|
|
|
|
|
|
|
|
https://docs.openstack.org/releasenotes/openstack-manuals
|
|
|
|
|
|
|
|
|
2011-09-20 13:50:34 +00:00
|
|
|
Installing
|
|
|
|
==========
|
2016-05-18 10:22:16 +00:00
|
|
|
|
2017-01-30 22:36:05 +00:00
|
|
|
Refer to https://docs.openstack.org to see where these documents are
|
|
|
|
published and to learn more about the OpenStack project.
|