[Bf-blender-cvs] [3c1b00e] master: Docs: create link pointing to latest API docs

Campbell Barton noreply at git.blender.org
Tue Nov 10 18:20:40 CET 2015


Commit: 3c1b00ef7e65583e6d4263b6fb0fd6e57387dad2
Author: Campbell Barton
Date:   Wed Nov 11 04:08:37 2015 +1100
Branches: master
https://developer.blender.org/rB3c1b00ef7e65583e6d4263b6fb0fd6e57387dad2

Docs: create link pointing to latest API docs

===================================================================

M	doc/python_api/sphinx_doc_gen.sh

===================================================================

diff --git a/doc/python_api/sphinx_doc_gen.sh b/doc/python_api/sphinx_doc_gen.sh
index 4b97152..8f1791d 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 at blender.org 'rm '$SSH_UPLOAD'/250PythonDoc && ln -s '$SSH_UPLOAD_FULL' '$SSH_UPLOAD'/250PythonDoc'
+	if [ "$blender_version_cycle" = "release" ] ; then
+		ssh $SSH_USER at 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 at blender.org 'echo "<html><head><title>Redirecting...</title><meta http-equiv=\"REFRESH\" content=\"0;url=../blender_python_api_'$BLENDER_VERSION'/\"></head><body>Redirecting...</body></html>" > '$SSH_UPLOAD'/250PythonDoc/index.html'




More information about the Bf-blender-cvs mailing list