Commit Graph

9 Commits

Author SHA1 Message Date
Andreas Jaeger 4b0382070a 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: I0057fe10b462ce5ae430b9ad01e8f7d72be0f13a
2020-05-31 20:38:29 +02:00
Andreas Jaeger a5fe49a956 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

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: Ibea136743f9a82d0e9ff35bc59f54a4c8afda74b
2020-02-04 20:34:32 +01:00
pengyuesheng aa373c592f 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.

Change-Id: I34b5d91bb5eea3680d915a262bee4a24e2ae2752
2019-10-12 15:19:26 +08:00
Monty Taylor 2e5b38088a
Add missing release notes
None of the patches came with release notes, which makes the release
notes page a sad panda.

Change-Id: I746af836643e3a7d7d3f4095aa0095176d13ada3
2018-08-07 07:57:15 -05:00
Monty Taylor f9dca6f788
Add factory helper function which returns a singleton
Not that ServiceTypes is super expensive or anything, but it's also
an encapsultation of static data, so there's really no need to construct
more than one of them in a program.

Change-Id: I2515fd9be27421006ed22a3ab01bef8cb48196f8
2018-01-12 11:20:50 -06:00
Monty Taylor dd115a6208
Remove reference to stable/pike from releasenotes
os-service-types is purposely branchless as it is a vessel to convey
current data (much like tzdata).

Remove stable/pike references from the releasenotes.

Change-Id: I27f13d21c37c49eb8119aa44a4bd46cab52846b6
2017-12-01 09:39:12 -06:00
OpenStack Release Bot 01ef43b675 Update reno for stable/pike
Change-Id: I89fa26246328d78ac4703da1ed58bd0011259a78
2017-07-28 21:04:10 +00:00
Monty Taylor 48a94e00a7
Implement fetching and accessor methods
The ServiceTypes class is the main entry point for python programmers.
It should allow them to answer the questions they have about the data
without necessarily walking the structure. It can also return the raw
structure if people want to get at it.

We need to know the project codename for services for doing API doc
publication validation and also for being able to send legacy
microversion headers. The information is in the data, use it.

In order to construct and send microversion headers for projects with
aliases, we need to know ALL of the aliases plus the official name,
because we don't know which one of the values will be the correct name
the service is looking for for a given version. The microversion spec,
however, requires that consumers be able to handle a header that
contains a list of services and to ignore the ones it isn't looking for.

By providing a a list of all the possible values we make it easy to
construct a header for a service given a service_type that should work
for all known identifiers of the service and that is future compatible
with the service-type and microversion specifyier aligning.

Co-Authored-By: Doug Hellmann <doug@doughellmann.com>
Change-Id: I57641c9e3c27688b6d7709b1bb07292740d26659
2017-07-19 13:18:14 +09:00
Monty Taylor 1865fa56f8 Add cookiecutter boilerplate
Removed babel related things - we're not expecting to have translations.

Change-Id: I510195c6c83c99d78c90571ff0fdea8219833d95
2017-07-14 13:43:28 -04:00