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.
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: Ia09a198905ef04b5ea0c2dac440882c45d8b147c
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:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: I1251a9904fcc146ec615ba2c7f93a1b675e3220f
Python 3.8 removed the linux_distribution support, we need
to switch to the distro package.
To pass testing, we need to update to a newer flake8 version.
Also update setuptools annotation since Python 2.x support
has been dropped.
Change-Id: I40768af80ff376866b1070026a93fd3f4bb1c2e4
oslosphinx has been retired[1] and is no longer compatible with the
latest Sphinx. Use openstackdocstheme instead.
[1] https://review.opendev.org/649070
Change-Id: Idb2fd37dcff7a6fe05d4874134ace49c227a78ae
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I538e86c3fe10d09bc3b0f259d33a49aeb4ffd2e2
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
the python 3.x version of flake8 finds more python 3.x
portability issues than the 2.x, as more checks are
enabled/active there.
Change-Id: Ie702ec7ce85e47b2ab6905f548be0b974077525e
- Convert README from markdown to restructured text
- Add documentation template for Sphinx
- Add setup.cfg file so that sphinx build is done in
doc/build/html as expected by infra scripts.
This is the way OpenStack projects usually do documentation.
Change-Id: I7e40a2e6fe14e63bd33f9b1ea1f31db23c7501b8
In addition to the tox.ini, there are some more changes
to enable testing:
- require flake8 in test-requirements.txt
- fix current pep8 errors
- add .gitignore including the .tox dir
Change-Id: I4cf9d8fc1c9a2eb4929fddb4a18a7db87481017c