Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt to fix "check broken links" GitHub Action #426

Merged
merged 1 commit into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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")