Skip to content

Commit

Permalink
add example button on front page. Use github-check as reporter for li…
Browse files Browse the repository at this point in the history
…nkspector.
  • Loading branch information
iishiishii committed Nov 26, 2024
1 parent de1e99e commit d752163
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,10 @@ jobs:
# use-verbose-mode: 'no'
# config-file: '.github/workflows/config.json'
# folder-path: 'content/en/'
# - name: Run linkspector
# uses: umbrelladocs/action-linkspector@v1
# with:
# github_token: ${{ secrets.github_token }}
# fail_on_error: true
# config_file: .linkspector.yml
- name: Run linkspector
uses: umbrelladocs/action-linkspector@v1
with:
github_token: ${{ secrets.github_token }}
fail_on_error: true
reporter: github-check
config_file: .linkspector.yml
4 changes: 3 additions & 1 deletion .linkspector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ aliveStatusCodes:
- 204
replacementPatterns:
- pattern: "^/"
replacement: "${{ steps.pages.outputs.base_url }}/"
replacement: "${{ steps.pages.outputs.base_url }}/"
filter_mode: nofilter
fail_on_error: true
2 changes: 2 additions & 0 deletions content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ linktitle: Neurodesk
<i class="fa fa-laptop"></i> Local </a>
<a class="btn btn-lg btn-light me-1 mb-4" target="_blank" href="docs/getting-started/hosted">
<i class="fa fa-cloud"></i> Hosted </a>
<a class="btn btn-lg btn-light me-1 mb-4" target="_blank" href="tutorials-examples/examples/examples">
<i class="fa fa-book"></i> Examples </a>
</div>
</div>
</section>
Expand Down

0 comments on commit d752163

Please sign in to comment.