Fix Multi version docs, closes #1739

1749-smtp-uri-configuration
Georg Krause 2022-03-21 12:01:29 +01:00
rodzic a84dbbc382
commit 8b0d4049d4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 2970D504B2183D22
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
#!/bin/bash -eux
# Building sphinx and swagger docs
poetry run python -m sphinx . $BUILD_PATH # TODO enable multi version #1739
poetry run sphinx-multiversion . $BUILD_PATH
TARGET_PATH="$BUILD_PATH/swagger" ./build_swagger.sh
python ./get-releases-json.py > $BUILD_PATH/releases.json
python ./get-releases-json.py --latest > $BUILD_PATH/latest.txt

Wyświetl plik

@ -82,9 +82,8 @@ author = "The Funkwhale Collective"
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = subprocess.check_output(["git", "describe", "--tags"]).strip().decode("utf-8")
# Read version from the API
version = funkwhale_api.__version__
release = version
# The language for content autogenerated by Sphinx. Refer to documentation