Fix Multi version docs, closes #1739
This commit is contained in:
parent
6cc9f33df3
commit
a3c49f57b7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue