Commit Graph

7 Commits

Author SHA1 Message Date
likui 3bdae37673 remove unicode from code
Change-Id: Iadc87779bf513c9d04847b6cf8ecbc60b300d7db
Implements: blueprint remove-unicode
2021-01-03 13:03:32 +08:00
Andreas Jaeger 0ce00bb569 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.

Set openstackdocs_auto_name to use 'project' as name.

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.

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.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ib5706db978edfdddb88230ee81a563c7976f238a
2020-05-22 17:20:01 +00:00
Andreas Jaeger 4757668582 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 section from setup.cfg: Wheel is not needed for python
  3 only repo
- Remove html_last_updated_fmt from source/conf.py, this is not
  needed anymore.

Change-Id: If9708106263493396693771e9bd5265e26de460c
2020-04-04 11:21:19 +02:00
Andreas Jaeger 610b66ceff 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: I63aeef045ca3804adadfe020d2269b2ee5b11721
2017-11-16 20:51:39 +01:00
Trevor McCasland b9a20edf92 Update the trove docs to follow the docs theme
We were using the old theme on trove docs.

We should update to new theme, it includes the new logo as well!

You can see the difference in the themes here,

new, https://docs.openstack.org/admin-guide/
old, https://docs.openstack.org/developer/python-troveclient/

Change-Id: If5ff925d258f7b4008aff32b1677d7806395b5c9
2017-07-13 10:59:55 -05:00
Andreas Jaeger 43a88e440f Enable release notes translation
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.

Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.

Change-Id: I6af6b4e92f0953f673ea1a5c0f2162662cb14584
2016-10-06 20:52:24 +02:00
Peter Stachowski 553e3041e8 Add reno for release notes management
Add reno to generate release notes for the Trove client.

Change-Id: I8e475e1148ec32f9beb3398ecbb5effccd7ea4fb
2016-04-08 00:45:49 +00:00