In python 3, all strings are considered as unicode string.
This patch drops the explicit unicode literal (u'...')
or (u"..") appearances from the unicode strings.
Change-Id: Ia3daf3f63ddfe0a6494ecb02413d495743ca0d3d
OpenStack is dropping the py2.7 support in ussuri cycle.
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 ancient pbr section from setup.cfg
- Update requirements
- Use newer openstackdocstheme and setup storyboard support for it
- Remove Babel as requirement, this is not needed here anymore.
Change-Id: I0fd6fbdcbe788b0dfc2b1e20989b0a19ceec59f5
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
This will show other versions of the doc, too.
Change-Id: Id73bbf0a844dee39f9c72df72b1bdb49fa094806
Make space for v2.
It should not break too much existing links, only the links to
local anchors (like #clusters, #jobs, etc) will be broken,
because it is not possible to redirect server-side based on an
URL fragment like that.
Luckily the generated content ends all in the same HTML page,
so the old links will end up in the new top-level index
which points to the index for v1.1 API documentation (and later
for v2). Not too bad.
Change-Id: I9a75e6567798b8d6d3deed8fc66e362ad2d86b5a
Sahara projects migrated to storyboard.openstack.org.
Replace the references to Launchpad, including the rename of
a documentation page focuse on launchpad (which would
probably require a redirect on the openstack.org site),
and clean up some old details about blueprints.
Fix the bug links in the openstackdocstheme configuration.
Change-Id: I30642356f1b1076a874f14fc43fad234fa9a098d
Use the configuration options described in the documentation of
openstackdocstheme and clean up some old options on the way.
Change-Id: I16972c7fa1102baf66bd4478e03c0f6c77096788
Fix the Sphinx html_last_updated_fmt for Python3.
The html_last_updated_fmt option is interpeted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.
Change-Id: Iccad9d5766e0e6641133b7d5dd8c49e13adb2b1f
With current os-api-ref and Sphinx 1.5, there were a couple of problems
in building api-ref: Wrong order of entries, wrong names.
Fix all so that api-ref builds again.
Also, tread warnings as errors for built so that no new problems get
introduced.
Change-Id: I6fbae3e93632472c60f848868b55cb7206ee76a9
There is something wrong in API ref, this changes fixed it:
1. change the response parameter description of "description",
"id" and "name" and so on
2. some request parameter in the url path should be marked as
"required"
Change-Id: I738fc5a3f490f9cc321349445249f7dcd9aaf4e7
Closes-Bug: 1636522
The keystone resource was renamed from 'tenant' to 'project',
this patch replaces 'tenant' with 'project' in api-ref
documents of sahara.
Change-Id: I1f41757b3ec90f88926681d4a0b7767764c37c4a
Closes-Bug: #1626678
There is missprints in description of success/
error codes of POST, PUT, PATCH and DELETE
requests.
Change-Id: I251aedd6742e39fc0ba6ddbb72214cfc0f7ed099
Closes-bug: #1631410
In Id3a71841f5b9a9ea7bb5803afd967ab4feadfe10 the in tree copy of
os-api-ref was migrated to the upstream version. The html_static_path
setting in conf.py was forgotten in the patch, which caused a warning
when building the API reference.
This patch comments out the setting from conf.py to prevent the
warning.
TrivialFix
Change-Id: I595a5a85db9fbacdf17f1bc4706ee4cc6705d81a
Currently, Sahara api-ref is not configured with logABug feature.
When users click "Report bug" button, it leads to
"bugs.launchpad.net/openstack-manuals" which is default.
We should change it to "bugs.launchpad.net/sahara/"
Change-Id: Ifab40f90d447680b9a03451756a91705e1596702
To comply with recent documentation policies
the API documentaion should be maintained within
the project source repository.
Change-Id: I0f854eea33d1a895580589e91c17c89e42b3df0a