Fix docs generation

This commit is contained in:
David Guillen Fandos 2024-10-06 20:59:17 +02:00
parent d2f6201abc
commit 04ea059120

View File

@ -36,7 +36,7 @@ jobs:
# Move index.html # Move index.html
mv dist/index.html . mv dist/index.html .
# Fix references in index.html # Fix references in index.html
sed -i "s|https://petstore.swagger.io/v2/swagger.json|$SWAGGER_YAML|g" index.html sed -i "s|https://petstore.swagger.io/v2/swagger.json|$SWAGGER_YAML|g" ./dist/swagger-initializer.js
sed -i "s|href=\"./|href=\"dist/|g" index.html sed -i "s|href=\"./|href=\"dist/|g" index.html
sed -i "s|src=\"./|src=\"dist/|g" index.html sed -i "s|src=\"./|src=\"dist/|g" index.html
sed -i "s|dist/favicon|icons/favicon|g" index.html sed -i "s|dist/favicon|icons/favicon|g" index.html