From 71537882e7aea03dc5de7c6e794d1a3be7c80e28 Mon Sep 17 00:00:00 2001 From: lingyongxu Date: Mon, 28 Aug 2017 16:52:27 +0800 Subject: [PATCH] Update the documentation link for doc migration This patch is proposed according to the Direction 10 of doc migration(https://etherpad.openstack.org/p/doc-migration-tracking). Change-Id: I93d6f470f3a271dc33194aea0518ac9e3531153d --- doc/source/user/examples/_i18n.py | 2 +- doc/source/user/examples/usage.py | 2 +- doc/source/user/examples/usage_context.py | 4 ++-- doc/source/user/examples/usage_helper.py | 2 +- doc/source/user/examples/usage_i18n.py | 4 ++-- doc/source/user/usage.rst | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/source/user/examples/_i18n.py b/doc/source/user/examples/_i18n.py index 3bc9256c..77fd0437 100644 --- a/doc/source/user/examples/_i18n.py +++ b/doc/source/user/examples/_i18n.py @@ -16,7 +16,7 @@ """A demonstration of oslo.i18n integration module that is used in projects wanting to implement Oslo i18n translation. - See http://docs.openstack.org/developer/oslo.i18n/usage.html + See https://docs.openstack.org/oslo.i18n/latest/user/index.html """ import oslo_i18n diff --git a/doc/source/user/examples/usage.py b/doc/source/user/examples/usage.py index 155d533f..a9650e20 100644 --- a/doc/source/user/examples/usage.py +++ b/doc/source/user/examples/usage.py @@ -23,7 +23,7 @@ oslo.i18n, oslo.serialization and oslo.utils. More information about Oslo Logging can be found at: - http://docs.openstack.org/developer/oslo.log/usage.html + https://docs.openstack.org/oslo.log/latest/user/index.html """ from oslo_config import cfg diff --git a/doc/source/user/examples/usage_context.py b/doc/source/user/examples/usage_context.py index dc449c57..dd5aeadc 100644 --- a/doc/source/user/examples/usage_context.py +++ b/doc/source/user/examples/usage_context.py @@ -23,8 +23,8 @@ oslo.i18n, oslo.serialization and oslo.utils. More information about Oslo Logging can be found at: - http://docs.openstack.org/developer/oslo.log/usage.html - http://docs.openstack.org/developer/oslo.context/usage.html + https://docs.openstack.org/oslo.log/latest/user/index.html + https://docs.openstack.org/oslo.context/latest/user/index.html """ from oslo_config import cfg diff --git a/doc/source/user/examples/usage_helper.py b/doc/source/user/examples/usage_helper.py index 4a274859..79d48920 100644 --- a/doc/source/user/examples/usage_helper.py +++ b/doc/source/user/examples/usage_helper.py @@ -23,7 +23,7 @@ oslo.i18n, oslo.serialization and oslo.utils. More information about Oslo Logging can be found at: - http://docs.openstack.org/developer/oslo.log/usage.html + https://docs.openstack.org/oslo.log/latest/user/index.html """ # Use default Python logging to display running output diff --git a/doc/source/user/examples/usage_i18n.py b/doc/source/user/examples/usage_i18n.py index 59dac7f6..9ce0f17c 100644 --- a/doc/source/user/examples/usage_i18n.py +++ b/doc/source/user/examples/usage_i18n.py @@ -22,8 +22,8 @@ oslo.i18n, oslo.serialization and oslo.utils. More information about Oslo Logging can be found at: - http://docs.openstack.org/developer/oslo.log/usage.html - http://docs.openstack.org/developer/oslo.i18n/usage.html + https://docs.openstack.org/oslo.log/latest/user/index.html + https://docs.openstack.org/oslo.i18n/latest/user/index.html """ from oslo_config import cfg diff --git a/doc/source/user/usage.rst b/doc/source/user/usage.rst index d1a74da7..652eb613 100644 --- a/doc/source/user/usage.rst +++ b/doc/source/user/usage.rst @@ -88,7 +88,7 @@ log levels. Logging within an application should use `Oslo International Utilities (i18n)`_ marker functions to provide language translation capabilities. -.. _Oslo International Utilities (i18n): http://docs.openstack.org/developer/oslo.i18n/ +.. _Oslo International Utilities (i18n): http://docs.openstack.org/oslo.i18n/latest .. literalinclude:: examples/usage_i18n.py :linenos: @@ -100,7 +100,7 @@ Source: :ref:`examples/usage_i18n.py ` With the use of `Oslo Context`_, log records can also contain additional contextual information applicable for your application. -.. _Oslo Context: http://docs.openstack.org/developer/oslo.context/ +.. _Oslo Context: http://docs.openstack.org/oslo.context/latest .. literalinclude:: examples/usage_context.py :linenos: