diff --git a/tools/deploy_documentation.sh b/tools/deploy_documentation.sh index 44a93b9e1..cc75566a9 100755 --- a/tools/deploy_documentation.sh +++ b/tools/deploy_documentation.sh @@ -27,9 +27,9 @@ echo "show current dir: " pwd CURRENT_TAG=`git describe --abbrev=0` -IFS='.' -read -ra VERSION <<< "$CURRENT_TAG" +IFS=. read -ra VERSION <<< "$CURRENT_TAG" STABLE_VERSION=${VERSION[0]}.${VERSION[1]} +echo "Building for stable version $STABLE_VERSION" # Push to qiskit.org/ecosystem openssl aes-256-cbc -K $encrypted_rclone_key -iv $encrypted_rclone_iv -in tools/rclone.conf.enc -out $RCLONE_CONFIG_PATH -d diff --git a/tox.ini b/tox.ini index 77451c244..502bd54be 100644 --- a/tox.ini +++ b/tox.ini @@ -49,7 +49,7 @@ changedir = {toxinidir}/docs commands = python -m ipykernel install --user jupyter kernelspec list - sphinx-build -W -b html source build/html {posargs} + sphinx-build -W -d {toxinidir}/docs/build/.doctrees -b html source build/html {posargs} [testenv:black] basepython = python3