From 04ea059120563ddd0cc339bb81aee480b7a3e754 Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Sun, 6 Oct 2024 20:59:17 +0200 Subject: [PATCH] Fix docs generation --- .github/workflows/docs-gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-gh-pages.yml b/.github/workflows/docs-gh-pages.yml index 7a0a66d..5c61dd5 100644 --- a/.github/workflows/docs-gh-pages.yml +++ b/.github/workflows/docs-gh-pages.yml @@ -36,7 +36,7 @@ jobs: # Move index.html mv dist/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|src=\"./|src=\"dist/|g" index.html sed -i "s|dist/favicon|icons/favicon|g" index.html