Commit Graph

7 Commits

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

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: I8a1ab16a84cdbbaf7b22b5dc58aab54980866415
2020-06-01 15:54:08 +02:00
Andreas Jaeger 944da81279 Cleanup py27 support
This repo is now testing only with Python 3, so let's 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 requirements, no need for python_version anymore
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE instead of UPPER_CONSTRAINTS_FILE since
  the later is obsolete
- Increase lower constraints to fullfill package requests

Change-Id: I7126c2646f272b3f8c568630293a194bc5ba98a9
2020-04-28 21:20:48 +02:00
Ghanshyam Mann aa2bdc68e6 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

sahara-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

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

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I9bbca7e2d317090dc2d05d08ccf8c45206cd160c
2019-11-18 12:02:49 +00:00
pengyuesheng a97d060ab9 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

This will show other versions of the doc, too.

Change-Id: I803117010bfbf6a7a5a17c1f6ca6109fc465e187
2019-07-01 15:46:34 +08:00
pengyuesheng 8d12d6669a Update sphinx dependency
Sphinx 2.0 no longer works on python 2.7,
so we need to start capping it there as well

Change-Id: I875f7a04ab6a136e5956f04aa3546cf1aeaf4010
2019-06-25 17:26:01 +08:00
OpenStack Proposal Bot abeedb5633 Updated from global requirements
Change-Id: Ifd421cd220bf64ee558642e3b5a9a2b0f73a3c3f
2018-03-15 08:08:41 +00:00
Andreas Jaeger ca02545ad6 Avoid tox-install.sh
Instead of using tox-install.sh, we can install
horizon now directly from pypi - or use the current branch in CI system
using tox-siblings.

Create doc/requirements.txt for doc requirements as well, it's use
currently only for releasenotes. Remove obsolete oslosphinx requirement.
Remove docs environment - this project has no docs, only releasenotes.

Update tox.ini for this change and add horizon to requirements
file.

Change-Id: I72a942149a88183a32afc0440ead7b927bdc93b5
2018-03-14 15:01:10 +01:00