Commit Graph

6 Commits

Author SHA1 Message Date
Andreas Jaeger 2917320d31 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.

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.

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: I84ad61a25101e9bcf67908382d272b447b605fd9
2020-05-22 17:16:38 +00:00
Andreas Jaeger e7685d5df6 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I28b14bfc8430d75271308ee91925e58b55b6dcc2
2020-04-04 16:34:45 +02:00
jacky06 912c96d408 tox: Keeping going with docs and cleanup setup.cfg
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

2. pbr hasn't need the hook configuration since forever [2]

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
[2] c84876dc0f

Change-Id: I22e930f9876ca29750093a78e4bf3a7d4a479eb9
2020-01-20 22:45:10 +01:00
Tetsuro Nakamura aa7690b48c Stop testing with py2
Python 2 is no longer supported. Python 3 is required.
This patch stops testing with Python 2 and issues the release note.

Change-Id: I7dc416927ea23d581dbee366d54a733ee53498cf
2019-12-06 04:15:12 +00:00
zhangboye 88a78868f7 Cap sphinx for py2 to match global requirements
Change-Id: I44b9d8003566793e54ebdc15cbb95450841fd3cd
2019-06-06 18:01:45 +08:00
Pierre Riteau d22c8e3ebe Add reno for release notes management
Change-Id: Idad067060648eab4350a312048b750109ea5b1c4
2018-06-26 14:56:31 +02:00