Skip to content
Snippets Groups Projects
Commit 7aec8d73 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Fix dependencies for doc building

parent c155de66
No related branches found
No related tags found
No related merge requests found
......@@ -395,7 +395,7 @@ export_env BOB_PREFIX_PATH
# Setup default documentation server
if [ -z "${CI_COMMIT_TAG}" ]; then
DEFSRV="${DOCSERVER}/software/bob/docs/latest/bob/%s/master/"
DEFSRV="${DOCSERVER}/software/bob/docs/bob/%s/master/"
else
DEFSRV="http://pythonhosted.org/%s/"
fi
......@@ -406,7 +406,7 @@ else
fi
if [ "${VISIBILITY}" != "public" ]; then
# If private or internal, allow it to depend on other internal documents
BOB_DOCUMENTATION_SERVER="${BOB_DOCUMENTATION_SERVER}|${DOCSERVER}/private/docs/latest/bob/%s/master/"
BOB_DOCUMENTATION_SERVER="${BOB_DOCUMENTATION_SERVER}|${DOCSERVER}/private/docs/bob/%s/master/"
fi
unset DEFSRV
export_env BOB_DOCUMENTATION_SERVER
......@@ -421,7 +421,7 @@ export_env SSL_CERT_FILE
# See: https://gitlab.idiap.ch/bob/bob.admin/issues/2
# Prefix differs between private & public repos
DOC_SERVER_PREFIX="-upload/${CI_PROJECT_PATH}/docs"
DOC_SERVER_PREFIX="-upload/docs/${CI_PROJECT_PATH}/"
if [[ "${VISIBILITY}" == "public" ]]; then
DOC_SERVER_PREFIX="public${DOC_SERVER_PREFIX}"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment