Skip to content

Commit

Permalink
attempt to fix broken links (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgkanatsios authored Oct 11, 2022
1 parent d215d8e commit d68782b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/pages-check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/gameserverapi/gameserverapi_swagger.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ func setSwaggerInfo(c *gin.Context) {
## Browse Swagger

Run the code and browse the following URL to use swagger -
<https://{$IP}:5001/swagger/index.html> or in case of localhost - <http://localhost:5001/swagger/index.html>
`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")

0 comments on commit d68782b

Please sign in to comment.