From ca0219f972663bb09a7ff34095cbf7e1892eb034 Mon Sep 17 00:00:00 2001 From: Hangdong Zhang Date: Tue, 18 Jul 2017 16:52:16 +0800 Subject: [PATCH] Update and optimize documentation links 1. Update URLs according to document migration 2. Update the dead and outdated links 3. Optimize (e.g. http -> https) Change-Id: I63c0f87a6a0b1e0c36dfbd52cef65ede376ae222 --- README.rst | 6 +++--- doc/source/contributor/contributing.rst | 12 ++++++------ ironicclient/common/http.py | 2 +- setup.cfg | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.rst b/README.rst index 1f793a7..e2eb0d3 100644 --- a/README.rst +++ b/README.rst @@ -2,8 +2,8 @@ Team and repository tags ======================== -.. image:: https://governance.openstack.org/badges/python-ironicclient.svg - :target: https://governance.openstack.org/reference/tags/index.html +.. image:: https://governance.openstack.org/tc/badges/python-ironicclient.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html .. Change things from this point on @@ -103,7 +103,7 @@ the subcommands available, run:: $ openstack help baremetal * License: Apache License, Version 2.0 -* Documentation: https://docs.openstack.org/python-ironicclient +* Documentation: https://docs.openstack.org/python-ironicclient/latest/ * Source: https://git.openstack.org/cgit/openstack/python-ironicclient * Bugs: https://bugs.launchpad.net/python-ironicclient diff --git a/doc/source/contributor/contributing.rst b/doc/source/contributor/contributing.rst index 18e8cab..a0dd201 100644 --- a/doc/source/contributor/contributing.rst +++ b/doc/source/contributor/contributing.rst @@ -27,8 +27,8 @@ signed OpenStack's contributor's agreement. .. seealso:: - * http://docs.openstack.org/infra/manual/developers.html - * http://wiki.openstack.org/CLA + * https://docs.openstack.org/infra/manual/developers.html + * https://wiki.openstack.org/wiki/CLA LaunchPad Project ----------------- @@ -40,16 +40,16 @@ notifications of important events. .. seealso:: - * http://launchpad.net - * http://launchpad.net/python-ironicclient - * http://launchpad.net/~openstack + * https://launchpad.net + * https://launchpad.net/python-ironicclient + * https://launchpad.net/~openstack Project Hosting Details ----------------------- Bug tracker - http://launchpad.net/python-ironicclient + https://launchpad.net/python-ironicclient Mailing list (prefix subjects with ``[ironic]`` for faster responses) http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev diff --git a/ironicclient/common/http.py b/ironicclient/common/http.py index 0c6de89..d4b60bb 100644 --- a/ironicclient/common/http.py +++ b/ironicclient/common/http.py @@ -333,7 +333,7 @@ class HTTPClient(VersionNegotiationMixin): # TODO(deva): implement graceful client downgrade when connecting # to servers that did not support microversions. Details here: - # http://specs.openstack.org/openstack/ironic-specs/specs/kilo/api-microversions.html#use-case-3b-new-client-communicating-with-a-old-ironic-user-specified # noqa + # https://specs.openstack.org/openstack/ironic-specs/specs/kilo-implemented/api-microversions.html#use-case-3b-new-client-communicating-with-a-old-ironic-user-specified # noqa if resp.status_code == http_client.NOT_ACCEPTABLE: negotiated_ver = self.negotiate_version(self.session, resp) diff --git a/setup.cfg b/setup.cfg index 0d34735..02c4f88 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,7 +4,7 @@ summary = OpenStack Bare Metal Provisioning API Client Library description-file = README.rst author = OpenStack author-email = openstack-dev@lists.openstack.org -home-page = https://docs.openstack.org/developer/python-ironicclient +home-page = https://docs.openstack.org/python-ironicclient/latest/ classifier = Environment :: OpenStack Intended Audience :: Information Technology