api-ref: add link to SLO docs from multipart-manifest=put param

Drive-by: run api-ref tox env under py3.

Change-Id: Iebce47eabcb3b198d4aa7c1b8cfaf8f53300f7f9
This commit is contained in:
Tim Burke 2019-03-29 16:06:31 -07:00
parent d016693875
commit ffe51501c2
3 changed files with 8 additions and 1 deletions

View File

@ -162,6 +162,11 @@ try:
except OSError: except OSError:
warnings.warn('Cannot get last updated time from git repository. ' warnings.warn('Cannot get last updated time from git repository. '
'Not setting "html_last_updated_fmt".') 'Not setting "html_last_updated_fmt".')
else:
if not isinstance(html_last_updated_fmt, str):
# for py3
html_last_updated_fmt = html_last_updated_fmt.decode('ascii')
# If true, SmartyPants will be used to convert quotes and dashes to # If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities. # typographically correct entities.

View File

@ -1109,6 +1109,8 @@ multipart-manifest_put:
description: | description: |
If you include the ``multipart-manifest=put`` query parameter, the object If you include the ``multipart-manifest=put`` query parameter, the object
is a static large object manifest and the body contains the manifest. is a static large object manifest and the body contains the manifest.
See `Static large objects <https://docs.openstack.org/swift/latest
/api/large_objects.html#static-large-objects>`_ for more information.
in: query in: query
required: false required: false
type: string type: string

View File

@ -157,7 +157,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:api-ref] [testenv:api-ref]
# This environment is called from CI scripts to test and publish # This environment is called from CI scripts to test and publish
# the API Ref to developer.openstack.org. # the API Ref to developer.openstack.org.
basepython = python2.7 basepython = python3
deps = -r{toxinidir}/doc/requirements.txt deps = -r{toxinidir}/doc/requirements.txt
commands = commands =
rm -rf api-ref/build rm -rf api-ref/build