summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlingyongxu <lyxu@fiberhome.com>2017-08-28 16:52:27 +0800
committerlingyongxu <lyxu@fiberhome.com>2017-08-28 16:53:11 +0800
commit71537882e7aea03dc5de7c6e794d1a3be7c80e28 (patch)
tree009c39a6039d08b46847894b5987990fad56f933
parent17e27e80d017176500ea7f9cd057d9d39ead39a1 (diff)
downloadoslo-log-71537882e7aea03dc5de7c6e794d1a3be7c80e28.tar.gz
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
-rw-r--r--doc/source/user/examples/_i18n.py2
-rw-r--r--doc/source/user/examples/usage.py2
-rw-r--r--doc/source/user/examples/usage_context.py4
-rw-r--r--doc/source/user/examples/usage_helper.py2
-rw-r--r--doc/source/user/examples/usage_i18n.py4
-rw-r--r--doc/source/user/usage.rst4
6 files changed, 9 insertions, 9 deletions
diff --git a/doc/source/user/examples/_i18n.py b/doc/source/user/examples/_i18n.py
index 3bc9256..77fd043 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 155d533..a9650e2 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 dc449c5..dd5aead 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 4a27485..79d4892 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 59dac7f..9ce0f17 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 d1a74da..652eb61 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 <example_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: