This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.
Also, this patch makes minor changes in the documentation source
code to make sure that the .pdf and .html documentation looks
good.
Story: 2006070
Task: 35454
Change-Id: I74a151163812a3dc8fde9f85739882a54ad11fd3
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_auto_name to use 'project' as name.
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.
Create separate doc/requirements.txt file and use it, this allows
to continue testing with py35 and build docs that require py36.
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.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Ic97beaec35ff633380688beb93318273ab6ca15c
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
Change-Id: I40cf60b58847cee619bcac0a60c760bebd001954
PEP 0263 (http://legacy.python.org/dev/peps/pep-0263/) is not
used anywhere else and should be removed when it's not needed.
Change-Id: I08aa9e8e740c5f6506a76aaf5bea3402f97ac41a
Once upon a time there was an inside joke, now it's even more so,
but at least it doesn't stomp on the namespace of bash.
Change-Id: I57c5d564fc60d93d154e750ba628277c771d2e66
bash8 is still using sphinx.doc, which isn't available anymore
in my build environment (eg: Debian). This patch replaces the
oslo.sphinx by oslosphinx in conf.py
Change-Id: Ia2b65532d62d31aa2ff5c17e20f11a0ee5dd3f8c