Commit Graph

6 Commits

Author SHA1 Message Date
wu.shiming 8ef17575c8 remove unicode from code
In Python 3, all strings are represented in Unicode.In Python 2 are
stored internally as 8-bit ASCII, hence it is required to attach 'u'
to make it Unicode. It is no longer necessary now.'

Change-Id: I5f761b1d4bd04345bb339d251b8de95817a76cce
2021-03-04 10:33:52 +08:00
Andreas Jaeger 8aeaf7e98e 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.

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: I9845c13f4d87c755c56922d3a7fba9a8adfbfb18
2020-05-30 18:38:54 +02:00
pengyuesheng adb8076094 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: I95aa4478756873eec5f7480ba3ac0e5e4eea0a43
2019-08-01 10:35:53 +08:00
Andreas Jaeger c70ab43107 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: I0919ad158b4d8cae993f5fd137d4759402d0851c
2017-11-17 10:18:18 +01:00
Kirill Zaitsev 9872e6a365 Use openstackdocstheme over oslosphinx
This commit is part of general doc-migration effort. It replaces
oslosphinx with openstackdocstheme and marks docs warnings to be treated
as errors.

Kuryr projects do not seem to have any docs in the openstack-manuals, so
there are no docs we need to pull from that repo.
However being the official project kuryr would benefit from unifying
its docs with the rest of openstack projects as well as using
openstackdocstheme, theme intended for official projects
https://docs.openstack.org/openstackdocstheme/latest/

See https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
and https://etherpad.openstack.org/p/doc-migration-tracking for more
information

Change-Id: I4b854a830268beea0e463a1c75f73e8d523f3bfb
2017-07-03 14:26:43 +03:00
Tin Lam 8440008b19 Add reno support to kuryr
Adding releasenotes support to the kuryr project similar
to other OpenStack services.

Co-Authored-By: Jaivish Kothari(janonymous) <janonymous.codevulture@gmail.com>
Change-Id: Ibdbcdbcc15f1d791976d12ea08eefa8f1fa33eba
Closes-Bug: #1620582
2016-10-12 09:38:04 +05:30