[Docs] Replace draft with latest

Since zuulv3 changes, we should publish master branch
on latest instead of draft.

Depends-On: Ib718d4674768380decefc93f6189527b6cf1ed1b
Change-Id: Ie3c12c9b880f1d564a9f367b9a30287695d41198
This commit is contained in:
Jean-Philippe Evrard 2017-10-27 13:43:04 +01:00 committed by Jean-Philippe Evrard
parent 485fa7eccc
commit f17540a062

View File

@ -331,7 +331,7 @@ rst_epilog = """
watermark = os.popen("git branch --contains $(git rev-parse HEAD) | awk -F/ '/stable/ {print $2}'").read().strip(' \n\t').capitalize()
if watermark == "":
watermark = "Pre-release"
deploy_branch_link_name = "draft"
deploy_branch_link_name = "latest"
dev_branch_link_name = ""
deploy_guide_prefix = "http://docs.openstack.org/project-deploy-guide/openstack-ansible/{}/%s".format(deploy_branch_link_name)