summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHangdong Zhang <hdzhang@fiberhome.com>2017-07-18 17:43:46 +0800
committerHangdong Zhang <hdzhang@fiberhome.com>2017-07-18 17:44:29 +0800
commita5f1795869d2b627abe8dd037afd55b644dae34b (patch)
treefb02e22065ee9fee3058506ca3dc2a5e760e85f4
parent3d4ec1b5fe9159d16a8d8e8f426f94149e2a9088 (diff)
downloadpython-ceilometerclient-a5f1795869d2b627abe8dd037afd55b644dae34b.tar.gz
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
-rw-r--r--CONTRIBUTING.rst4
-rw-r--r--README.rst2
-rw-r--r--ceilometerclient/i18n.py2
-rw-r--r--ceilometerclient/v2/samples.py4
-rw-r--r--doc/source/api.rst2
-rw-r--r--doc/source/index.rst4
-rw-r--r--doc/source/shell.rst2
-rw-r--r--setup.cfg2
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 "<OldSample %s>" % 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 "<Sample %s>" % 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)
[<Sample ...>, ...]
-__ 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