senlin/doc
melissaml c4d9ae77a7 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Set openstackdocs_auto_name to use 'project' as name.

Change pygments_style to 'native' since old theme version always
used 'native' and the theme now respects the setting and using 'sphinx'
can lead to some strange rendering.

openstackdocstheme renames some variables, so follow the
renames before the next release removes them. A couple of variables
are also not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I5db2dc63ea51f0005aa1244b5b9c692ec23ce314
2020-05-22 17:15:04 +08:00
..
source Switch to newer openstackdocstheme and reno versions 2020-05-22 17:15:04 +08:00
specs add line to fix Unexpected indentation 2018-11-07 16:15:18 +00:00
.gitignore Initial version 2014-12-15 00:02:08 +08:00
Makefile Initial version copied from Heat 2014-12-10 17:21:00 +08:00
README.rst Remove senlin-admin skeleton 2017-07-03 10:00:56 +02:00
requirements.txt Switch to newer openstackdocstheme and reno versions 2020-05-22 17:15:04 +08:00

README.rst

Building the developer docs

Dependencies

You'll need to install python Sphinx package and oslosphinx package:

sudo pip install sphinx oslosphinx

If you are using the virtualenv you'll need to install them in the virtualenv.

Get Help

Just type make to get help:

make

It will list available build targets.

Build Doc

To build the man pages:

make man

To build the developer documentation as HTML:

make html

Type make for more formats.

Test Doc

If you modify doc files, you can type:

make doctest

to check whether the format has problem.