From 41352cb375ec1c628c978402dd04a7e8cc405249 Mon Sep 17 00:00:00 2001
From: lingyongxu <lyxu@fiberhome.com>
Date: Wed, 20 Sep 2017 13:52:06 +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: Ieca93d77bfc5e54486312f16122cc12c5bda0934
---
 doc/source/cli/authentication.rst                       | 2 +-
 openstackclient/tests/functional/post_test_hook.sh      | 2 +-
 openstackclient/tests/functional/post_test_hook_tips.sh | 2 +-
 releasenotes/source/conf.py                             | 2 +-
 setup.cfg                                               | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/source/cli/authentication.rst b/doc/source/cli/authentication.rst
index 5a1d279798..43fcd88482 100644
--- a/doc/source/cli/authentication.rst
+++ b/doc/source/cli/authentication.rst
@@ -7,7 +7,7 @@ Authentication
 OpenStackClient leverages `python-keystoneclient`_ authentication
 plugins to support a number of different authentication methods.
 
-.. _`python-keystoneclient`: http://docs.openstack.org/developer/python-keystoneclient/authentication-plugins.html
+.. _`python-keystoneclient`: https://docs.openstack.org/python-keystoneclient/latest/using-sessions.html#sharing-authentication-plugins
 
 Authentication Process
 ----------------------
diff --git a/openstackclient/tests/functional/post_test_hook.sh b/openstackclient/tests/functional/post_test_hook.sh
index 2ae9178d56..e3b48ef4da 100755
--- a/openstackclient/tests/functional/post_test_hook.sh
+++ b/openstackclient/tests/functional/post_test_hook.sh
@@ -4,7 +4,7 @@
 # OpenStack cloud. It will attempt to create an instance if one is not
 # available. Do not run this script unless you know what you're doing.
 # For more information refer to:
-# http://docs.openstack.org/developer/python-openstackclient/
+# https://docs.openstack.org/python-openstackclient/latest/
 
 function generate_testr_results {
     if [ -f .testrepository/0 ]; then
diff --git a/openstackclient/tests/functional/post_test_hook_tips.sh b/openstackclient/tests/functional/post_test_hook_tips.sh
index a4ad19ac62..232527a30b 100755
--- a/openstackclient/tests/functional/post_test_hook_tips.sh
+++ b/openstackclient/tests/functional/post_test_hook_tips.sh
@@ -4,7 +4,7 @@
 # OpenStack cloud. It will attempt to create an instance if one is not
 # available. Do not run this script unless you know what you're doing.
 # For more information refer to:
-# http://docs.openstack.org/developer/python-openstackclient/
+# https://docs.openstack.org/python-openstackclient/latest/
 
 # This particular script differs from the normal post_test_hook because
 # it installs the master (tip) version of osc-lib, os-client-config
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 14800913c6..1dc130c1c1 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -62,7 +62,7 @@ extlinks = {
         '',
     ),
     'oscdoc': (
-        'http://docs.openstack.org/developer/python-openstackclient/%s.html',
+        'https://docs.openstack.org/python-openstackclient/latest/%s.html',
         '',
     ),
 }
diff --git a/setup.cfg b/setup.cfg
index b4b6827d0b..2412b6fe02 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-openstackclient
+home-page = https://docs.openstack.org/python-openstackclient/latest/
 classifier =
     Environment :: OpenStack
     Intended Audience :: Information Technology