From d68782bc2e8ce9c41026f12a8426570921407351 Mon Sep 17 00:00:00 2001 From: Dimitris-Ilias Gkanatsios Date: Tue, 11 Oct 2022 08:03:07 -0700 Subject: [PATCH] attempt to fix broken links (#426) --- .github/workflows/pages-check-links.yml | 7 ++++++- docs/gameserverapi/gameserverapi_swagger.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages-check-links.yml b/.github/workflows/pages-check-links.yml index 63c12a14..a872324a 100644 --- a/.github/workflows/pages-check-links.yml +++ b/.github/workflows/pages-check-links.yml @@ -2,6 +2,11 @@ name: pages-check-links # Controls when the workflow will run on: + push: + branches: [ main ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -38,4 +43,4 @@ jobs: - name: Check for broken links run: | cd docs/ - bundle exec htmlproofer --log-level :debug ./_site --swap-urls '^/thundernetes/:/' --ignore-status-code 403 + bundle exec htmlproofer --ignore-missing-alt=true --log-level :debug ./_site --swap-urls '^/thundernetes/:/' --ignore-status-code 403 diff --git a/docs/gameserverapi/gameserverapi_swagger.md b/docs/gameserverapi/gameserverapi_swagger.md index 2c850207..df5ecf4b 100644 --- a/docs/gameserverapi/gameserverapi_swagger.md +++ b/docs/gameserverapi/gameserverapi_swagger.md @@ -32,6 +32,6 @@ func setSwaggerInfo(c *gin.Context) { ## Browse Swagger Run the code and browse the following URL to use swagger - - or in case of localhost - +`https://{$IP}:5001/swagger/index.html` or in case of localhost - `http://localhost:5001/swagger/index.html` !["GameServer API Swagger"](../assets/images/gameserverapi_swagger.png "GameServer API Swagger")