From 3db6ddd6e480a7cb45e947290816f3dd42ac66c5 Mon Sep 17 00:00:00 2001
From: Hangdong Zhang <hdzhang@fiberhome.com>
Date: Fri, 21 Jul 2017 15:42:56 +0800
Subject: [PATCH] Update the documentation link for doc migration

Change-Id: I1a5a354675b3ca6a7dbb5ab2dc78bf60209fa2b5
---
 README.rst           | 2 +-
 doc/manpages/swift.1 | 2 +-
 doc/source/cli.rst   | 6 +++---
 setup.cfg            | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/README.rst b/README.rst
index 42ec2772..38104392 100644
--- a/README.rst
+++ b/README.rst
@@ -43,7 +43,7 @@ __ http://github.com/openstack/swift
 * `How to Contribute`_
 
 .. _PyPI: https://pypi.python.org/pypi/python-swiftclient
-.. _Online Documentation: http://docs.openstack.org/developer/python-swiftclient
+.. _Online Documentation: https://docs.openstack.org/python-swiftclient/latest/
 .. _Launchpad project: https://launchpad.net/python-swiftclient
 .. _Blueprints: https://blueprints.launchpad.net/python-swiftclient
 .. _Bugs: https://bugs.launchpad.net/python-swiftclient
diff --git a/doc/manpages/swift.1 b/doc/manpages/swift.1
index d44a7d5c..f7723826 100644
--- a/doc/manpages/swift.1
+++ b/doc/manpages/swift.1
@@ -208,4 +208,4 @@ swift \-A https://127.0.0.1:443/auth/v1.0 \-U swiftops:swiftops \-K swiftops sta
 .SH DOCUMENTATION
 .LP
 More in depth documentation about OpenStack Swift as a whole can be found at
-.BI https://docs.openstack.org/developer/swift
+.BI https://docs.openstack.org/swift/latest/
diff --git a/doc/source/cli.rst b/doc/source/cli.rst
index 1277caa5..bded3497 100644
--- a/doc/source/cli.rst
+++ b/doc/source/cli.rst
@@ -313,7 +313,7 @@ The ``-p <prefix>`` or ``--prefix <prefix>`` is an option that will only
 list items beginning with that prefix. The ``-d <delimiter>`` or
 ``--delimiter <delimiter>`` is an option (for container listings only)
 that will roll up items with the given delimiter (see `OpenStack Swift
-general documentation <http://docs.openstack.org/developer/swift/>` for
+general documentation <http://docs.openstack.org/swift/latest/>` for
 what this means).
 
 The ``-l`` and ``--lh`` options provide more detail, similar to ``ls -l``
@@ -457,7 +457,7 @@ and is used to define the user metadata items to set in the form ``Name:Value``.
 You can repeat this option. For example: ``post -m Color:Blue -m Size:Large``
 
 For more information about ACL formats see the documentation:
-`ACLs <http://docs.openstack.org/developer/swift/misc.html#acls/>`_.
+`ACLs <http://docs.openstack.org/swift/latest/misc.html#acls>`_.
 
 **Positional arguments:**
 
@@ -927,7 +927,7 @@ object in 1GiB segments:
 This command will upload segments to a container named ``videos_segments``, and
 create a manifest file describing the entire object in the ``videos`` container.
 For more information on large objects, see the documentation `here
-<http://docs.openstack.org/developer/swift/overview_large_objects.html>`_.
+<https://docs.openstack.org/swift/latest/overview_large_objects.html>`_.
 
 .. code-block:: bash
 
diff --git a/setup.cfg b/setup.cfg
index 4af3151e..e4963dba 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-swiftclient
+home-page = https://docs.openstack.org/python-swiftclient/latest/
 classifier =
     Environment :: OpenStack
     Intended Audience :: Information Technology