fix(docs): Fix build script for documentation to properly deploy swagger
This commit is contained in:
parent
98d4f4ef54
commit
c21bfce9d0
|
@ -0,0 +1 @@
|
||||||
|
Fix build script for documentation to properly deploy swagger
|
|
@ -47,10 +47,10 @@ locale-prune-untranslated: $(VENV)
|
||||||
# Swagger
|
# Swagger
|
||||||
SWAGGER_VERSION = 5.1.2
|
SWAGGER_VERSION = 5.1.2
|
||||||
SWAGGER_RELEASE_URL = https://github.com/swagger-api/swagger-ui/archive/refs/tags/v$(SWAGGER_VERSION).tar.gz
|
SWAGGER_RELEASE_URL = https://github.com/swagger-api/swagger-ui/archive/refs/tags/v$(SWAGGER_VERSION).tar.gz
|
||||||
SWAGGER_BUILD_DIR = swagger
|
SWAGGER_BUILD_DIR = "$(BUILD_DIR)/swagger"
|
||||||
|
|
||||||
swagger:
|
swagger:
|
||||||
mkdir "$(SWAGGER_BUILD_DIR)"
|
mkdir -p "$(SWAGGER_BUILD_DIR)"
|
||||||
curl -sSL "$(SWAGGER_RELEASE_URL)" | \
|
curl -sSL "$(SWAGGER_RELEASE_URL)" | \
|
||||||
tar --extract \
|
tar --extract \
|
||||||
--gzip \
|
--gzip \
|
||||||
|
|
Loading…
Reference in New Issue