diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index 9c30acbb37..5d7f7f3edc 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -162,6 +162,11 @@ try: except OSError: warnings.warn('Cannot get last updated time from git repository. ' '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 # typographically correct entities. diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index bc5ed086f6..3950dcfc89 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -1109,6 +1109,8 @@ multipart-manifest_put: description: | If you include the ``multipart-manifest=put`` query parameter, the object is a static large object manifest and the body contains the manifest. + See `Static large objects `_ for more information. in: query required: false type: string diff --git a/tox.ini b/tox.ini index 787f30ce37..901ec157f3 100644 --- a/tox.ini +++ b/tox.ini @@ -157,7 +157,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html [testenv:api-ref] # This environment is called from CI scripts to test and publish # the API Ref to developer.openstack.org. -basepython = python2.7 +basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf api-ref/build