From 3c1b00ef7e65583e6d4263b6fb0fd6e57387dad2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 11 Nov 2015 04:08:37 +1100 Subject: Docs: create link pointing to latest API docs --- doc/python_api/sphinx_doc_gen.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/python_api') diff --git a/doc/python_api/sphinx_doc_gen.sh b/doc/python_api/sphinx_doc_gen.sh index 4b9715242aa..8f1791d2195 100755 --- a/doc/python_api/sphinx_doc_gen.sh +++ b/doc/python_api/sphinx_doc_gen.sh @@ -110,6 +110,9 @@ if $DO_UPLOAD ; then ## symlink the dir to a static URL #ssh $SSH_USER@blender.org 'rm '$SSH_UPLOAD'/250PythonDoc && ln -s '$SSH_UPLOAD_FULL' '$SSH_UPLOAD'/250PythonDoc' + if [ "$blender_version_cycle" = "release" ] ; then + ssh $SSH_USER@blender.org 'rm '$SSH_UPLOAD'/blender_python_api_current && ln -s '$SSH_UPLOAD_FULL' '$SSH_UPLOAD'/blender_python_api_current' + fi # better redirect ssh $SSH_USER@blender.org 'echo "Redirecting...Redirecting..." > '$SSH_UPLOAD'/250PythonDoc/index.html' -- cgit v1.2.3