Commit Graph

4 Commits

Author SHA1 Message Date
Andreas Jaeger d9c1dc80ae Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable 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: Icc4368708d2f1a11cb976789d8e06496b231302e
2020-05-30 16:48:31 +02:00
Andreas Jaeger d635d016c1 Cleanup py27 support and docs
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove install_command from tox.ini
- Update to current hacking version; fix warning found
- Remove unused requirements, update to newer versions for python3

Change-Id: I27fa5ef5cb23650e5210f714ce0c3dccdc564e8b
2020-04-09 21:51:59 +02:00
Ghanshyam Mann 37b99ecd30 [ussuri][goal] Drop python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

Update and cleanup requrirements.

Change to use openstackdocstheme, oslosphinx does not work with Python
3.
Fix redirect.py for newer sphinx versions, app.builder.info does not
exist anymore.

Remove py27 testing, we'll add py36 testing in followup with fixes for
problems found.

Use modern sphinx-build for building.

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: Ib467fca6f9033fc331c153ba52a7a292057bb75c
2020-02-02 14:42:51 +01:00
Nguyen Hai Truong 941aee1d2e Update document building tox target
This patch set updates the tox targets for doc and reno building so it is
in line with other OpenStack projects' structure.

Change-Id: Ie475e49afab69e4df4e75120a9e70cc56b6616dd
2018-11-07 00:25:24 -08:00