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
This commit is contained in:
parent
17e27e80d0
commit
71537882e7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user