From a5f1795869d2b627abe8dd037afd55b644dae34b Mon Sep 17 00:00:00 2001 From: Hangdong Zhang Date: Tue, 18 Jul 2017 17:43:46 +0800 Subject: 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: Ic847deff2b8344a35a31b76edc63296b01bde64c --- CONTRIBUTING.rst | 4 ++-- README.rst | 2 +- ceilometerclient/i18n.py | 2 +- ceilometerclient/v2/samples.py | 4 ++-- doc/source/api.rst | 2 +- doc/source/index.rst | 4 ++-- doc/source/shell.rst | 2 +- setup.cfg | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 6967cbd..b5abcbd 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -1,13 +1,13 @@ If you would like to contribute to the development of OpenStack, you must follow the steps documented at: - http://docs.openstack.org/infra/manual/developers.html#development-workflow + https://docs.openstack.org/infra/manual/developers.html#development-workflow Once those steps have been completed, changes to OpenStack should be submitted for review via the Gerrit tool, following the workflow documented at: - http://docs.openstack.org/infra/manual/developers.html#development-workflow + https://docs.openstack.org/infra/manual/developers.html#development-workflow Pull requests submitted through GitHub will be ignored. diff --git a/README.rst b/README.rst index fdb7fc7..d1dccd5 100644 --- a/README.rst +++ b/README.rst @@ -21,7 +21,7 @@ provides a Python API (the ``ceilometerclient`` module) and a command-line tool * `Source`_ .. _PyPi: https://pypi.python.org/pypi/python-ceilometerclient -.. _Online Documentation: http://docs.openstack.org/developer/python-ceilometerclient +.. _Online Documentation: https://docs.openstack.org/python-ceilometerclient/latest/ .. _Launchpad project: https://launchpad.net/python-ceilometerclient .. _Blueprints: https://blueprints.launchpad.net/python-ceilometerclient .. _Bugs: https://bugs.launchpad.net/python-ceilometerclient diff --git a/ceilometerclient/i18n.py b/ceilometerclient/i18n.py index 26861e3..a567932 100644 --- a/ceilometerclient/i18n.py +++ b/ceilometerclient/i18n.py @@ -14,7 +14,7 @@ """oslo.i18n integration module. -See http://docs.openstack.org/developer/oslo.i18n/usage.html . +See https://docs.openstack.org/oslo.i18n/latest/user/usage.html. """ diff --git a/ceilometerclient/v2/samples.py b/ceilometerclient/v2/samples.py index e68a761..8752a0d 100644 --- a/ceilometerclient/v2/samples.py +++ b/ceilometerclient/v2/samples.py @@ -30,7 +30,7 @@ class OldSample(base.Resource): """Represents API v2 OldSample object. Model definition: - http://docs.openstack.org/developer/ceilometer/webapi/v2.html#OldSample + https://docs.openstack.org/ceilometer/latest/webapi/v2.html#OldSample """ def __repr__(self): return "" % self._info @@ -85,7 +85,7 @@ class Sample(base.Resource): """Represents API v2 Sample object. Model definition: - http://docs.openstack.org/developer/ceilometer/webapi/v2.html#Sample + https://docs.openstack.org/ceilometer/latest/webapi/v2.html#Sample """ def __repr__(self): return "" % self._info diff --git a/doc/source/api.rst b/doc/source/api.rst index b64afe1..df6eaf5 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -33,7 +33,7 @@ Use queries to narrow your search (more info at `Ceilometer V2 API reference`__) >>> cclient.new_samples.list(q=query, limit=10) [, ...] -__ http://docs.openstack.org/developer/ceilometer/webapi/v2.html#Query +__ https://docs.openstack.org/ceilometer/latest/webapi/v2.html#Query Reference --------- diff --git a/doc/source/index.rst b/doc/source/index.rst index 7fdbb12..8317e1d 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -12,7 +12,7 @@ OpenStack Ceilometer API. least -- to get an idea of the concepts. By understanding the concepts this library should make more sense. - __ http://docs.openstack.org/developer/ceilometer/ + __ https://docs.openstack.org/ceilometer/latest/ Contents: @@ -33,7 +33,7 @@ Code is hosted at `git.openstack.org`_. Submit bugs to the Ceilometer project on .. _git.openstack.org: https://git.openstack.org/cgit/openstack/python-ceilometerclient .. _Launchpad: https://launchpad.net/ceilometer -.. _Gerrit: http://docs.openstack.org/infra/manual/developers.html#development-workflow +.. _Gerrit: https://docs.openstack.org/infra/manual/developers.html#development-workflow Run tests with ``python setup.py test``. diff --git a/doc/source/shell.rst b/doc/source/shell.rst index 1c10c48..a35a9a1 100644 --- a/doc/source/shell.rst +++ b/doc/source/shell.rst @@ -58,4 +58,4 @@ Use queries to narrow your search (more info at `Ceilometer V2 API reference`__) ceilometer sample-list --meter cpu_util --query 'resource_id=5a301761-f78b-46e2-8900-8b4f6fe6675a' --limit 10 -__ http://docs.openstack.org/developer/ceilometer/webapi/v2.html#Query +__ https://docs.openstack.org/ceilometer/latest/webapi/v2.html#Query diff --git a/setup.cfg b/setup.cfg index 2cc1c9c..5df04f3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,7 +5,7 @@ description-file = README.rst author = OpenStack author-email = openstack-dev@lists.openstack.org -home-page = http://docs.openstack.org/developer/python-ceilometerclient +home-page = https://docs.openstack.org/python-ceilometerclient/latest/ classifier = Environment :: OpenStack Intended Audience :: Information Technology -- cgit v1.2.1