Commit Graph

7 Commits

Author SHA1 Message Date
tushargite96 7bb2019c28 Update doc8 version
doc8 only supports python version less than 3.4

[1] https://pypi.org/project/doc8/0.8.0/

Change-Id: Ie857674f1fd5137570ee715818f91d840a8fad96
2022-08-29 15:40:50 +05:30
Andreas Jaeger 00c573d0d9 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: Iefbde88aa089a12a34fa1243c4d626127bb2bec6
2020-05-30 16:24:59 +02:00
Andreas Jaeger 44988971ef Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Fix problems found by sphinx-build

Change-Id: I258ba61fb3c2c5e83e71109dab941e304dde3f76
2020-04-25 16:42:22 +02:00
Brian Rosmaita 48f54bab22 Retarget specs to ussuri
Move some specs that didn't get completed in Train but which are
being worked on for delivery in ussuri to the appropriate directory,
and set up redirects so that train URLs for the specs will redirect
to the current location.

Change-Id: Ic73f4801b8307ad2a0c9be0f3ab6c12b4019e0e7
2020-01-13 22:17:24 -05:00
Ghanshyam Mann 4f13d5906a [ussuri][goal] Drop python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

specs repo has py2 specific requirement which is removed
or tox optimization.

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

Change-Id: I3792543bc58fa21c33c34cf09972a74b9a039208
2019-12-13 00:48:34 +00:00
jacky06 707a1b4181 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I722f8d5804b0daea33ee20d10a4eab903f57a6f7
2019-06-18 22:42:54 +08:00
Sean McGinnis 121d2b5355 Clean up required packages
This patch does two things to clean up gate package requirements,
adding a bindep file and moving packages to the right location.

Bindep controls which system packages are installed. If a project
does not have a bindep.txt file present, the gate jobs will fall
back to a common list of packages. These include things like
mariadb and various clients that are not needed for specs repos.
Added a basic bindep.txt file with just the things we need to
ensure are present for building the docs in specs.

There are also plans to stop looking at requirements.txt for specs
since these repos do not install Python code. The two locations
that are looked at are test-requirements.txt for running included
tests, and doc/requirements.txt for anything needed for doc builds
such as sphinx and plugins.

Change-Id: I3a222d7eec32b0d5ae6ef4ad20b34603931e13d6
2017-11-17 16:53:57 -06:00