From f85ccedb93ec35b7edc3ab64dd0470f9dedd7a55 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 29 Nov 2013 10:00:57 +1100 Subject: Python API Docs: update for using git buildinfo and change upload URL --- doc/python_api/sphinx_doc_gen.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '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 9e069cb0540..5b9af77a58c 100755 --- a/doc/python_api/sphinx_doc_gen.sh +++ b/doc/python_api/sphinx_doc_gen.sh @@ -17,7 +17,7 @@ DO_OUT_PDF=false BLENDER="./blender.bin" SSH_USER="ideasman42" -SSH_HOST=$SSH_USER"@emo.blender.org" +SSH_HOST=$SSH_USER"@blender.org" SSH_UPLOAD="/data/www/vhosts/www.blender.org/documentation" # blender_python_api_VERSION, added after # ---------------------------------------------------------------------------- @@ -99,18 +99,18 @@ fi if $DO_UPLOAD ; then cp $SPHINXBASE/sphinx-out/contents.html $SPHINXBASE/sphinx-out/index.html - ssh $SSH_USER@emo.blender.org 'rm -rf '$SSH_UPLOAD_FULL'/*' + ssh $SSH_USER@blender.org 'rm -rf '$SSH_UPLOAD_FULL'/*' rsync --progress -avze "ssh -p 22" $SPHINXBASE/sphinx-out/* $SSH_HOST:$SSH_UPLOAD_FULL/ ## symlink the dir to a static URL - #ssh $SSH_USER@emo.blender.org 'rm '$SSH_UPLOAD'/250PythonDoc && ln -s '$SSH_UPLOAD_FULL' '$SSH_UPLOAD'/250PythonDoc' + #ssh $SSH_USER@blender.org 'rm '$SSH_UPLOAD'/250PythonDoc && ln -s '$SSH_UPLOAD_FULL' '$SSH_UPLOAD'/250PythonDoc' # better redirect - ssh $SSH_USER@emo.blender.org 'echo "Redirecting...Redirecting..." > '$SSH_UPLOAD'/250PythonDoc/index.html' + ssh $SSH_USER@blender.org 'echo "Redirecting...Redirecting..." > '$SSH_UPLOAD'/250PythonDoc/index.html' # redirect for release only so wiki can point here if [ "$blender_version_cycle" == "release" ] ; then - ssh $SSH_USER@emo.blender.org 'echo "Redirecting...Redirecting..." > '$SSH_UPLOAD'/blender_python_api/index.html' + ssh $SSH_USER@blender.org 'echo "Redirecting...Redirecting..." > '$SSH_UPLOAD'/blender_python_api/index.html' fi if $DO_OUT_PDF ; then -- cgit v1.2.3