From c78a580a0d15c02e1753587b2a384342f5d9ea68 Mon Sep 17 00:00:00 2001 From: Martin Weise <martin.weise@tuwien.ac.at> Date: Mon, 25 Mar 2024 11:03:48 +0100 Subject: [PATCH] Using the right tag --- build-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-docs.sh b/build-docs.sh index ffc17120b0..67875c2d84 100644 --- a/build-docs.sh +++ b/build-docs.sh @@ -17,7 +17,7 @@ function generate_sphinx { pip install -r ./requirements.txt > /dev/null mkdir -p ./final if [ "$1" = "latest" ]; then - sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" ./lib/python/setup.py ./lib/python/pyproject.toml ./lib/python/docs/conf.py ./lib/python/docs/index.rst ./lib/python/docs/index.rst + sed -i -e "s/__APPVERSION__/$1/g" ./lib/python/setup.py ./lib/python/pyproject.toml ./lib/python/docs/conf.py ./lib/python/docs/index.rst ./lib/python/docs/index.rst fi sphinx-apidoc -o ./lib/python/docs/source ./lib/python/dbrepo sphinx-build -M html ./lib/python/docs/ ./lib/python/docs/build/ -- GitLab