Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Jaeger bbc0e139d5 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_version to not auto-version the documents.

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.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

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: I26cabdc85596be44fca36cad2a609b8fca0e50e0
2020-05-30 18:37:12 +02:00
Andreas Jaeger be98d6d605 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:
  * 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: I2602377334889d08ea3832a7f115b2937af2aa42
2020-04-05 09:37:51 +02:00
Vishakha Agarwal a9e8ec4e3c [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ldappool 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

Change-Id: Iafa765c5aa8ac83656003d8addf698795ce93e1a
2019-12-17 15:14:50 +00:00
Vishakha Agarwal 8f2f2e3827 Follow the PTI for docs
Use sphinx-build instead of the pbr sphinx extention for building docs
as instructed by the PTI[1].

We remove the reference to the ChangeLog file that is usually generated
by pbr and instead refer to the published reno release notes. Also fixes
the header formatting for the index page, as the headers weren't
rendering at all.

[1] https://governance.openstack.org/tc/reference/pti/python.html

Change-Id: I36142eeb1590c551c6df3bd7d0bc7b7a4a8c692f
2019-10-09 06:17:09 -07:00
jacky06 732fc6bec7 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Replace git.openstack.org URLs with opendev.org URLs

Change-Id: Id9f496f57acd2d5a388920e6bdebe52c40a98073
2019-06-19 14:40:58 +08:00
zhouxinyong 82dc4dfb4a Replacing the HTTP protocal with HTTPS in index.rst.
Change-Id: I96c38a2e05b8fa986ee2dd17e745a1b0f342670a
2018-11-14 04:15:35 +08:00
Colleen Murphy 2626d58c4d Add plumbing to support reno release notes
Change-Id: I1b4187ca74586912c36bfa3650951a1e8b5fa7a2
2018-10-31 14:10:27 -07:00
Van Hung Pham bdfa6d59cc Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: I47d858fafd5d57f00cab9d7a4b87950320febf70
2017-06-30 15:37:13 +07:00
pallavi 68d46529c6 Fix html_last_updated_fmt for Python3.
html_last_updated_fmt option is interpreted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: I896d6d962e4c7f932bc7e0a566a3b47205be61fb
Closes-Bug:#1693670
2017-06-09 15:05:07 +05:30
Steve Martinelli 96d81b06e2 add .gitreview and fix ldappool gate
the docs job wasn't passing, and no .gitreview file

Change-Id: Ida0d366d924e2bcfc1b4efc14411240ee70490ae
2016-05-12 13:50:05 -07:00