Skip to content

Commit

Permalink
Absolute paths for link checker and baseURL (#1369)
Browse files Browse the repository at this point in the history
* Absolute paths for link checker and baseURL

* Fix json syntax

* Modify file to trigger link check

* Trigger another check

* Run over all files

* Revert to changed file check only

The full check takes way too long and can result in false positives as well
(full checks are what made the old link checker unusable in the end).

---------

Co-authored-by: Graeme A Stewart <[email protected]>
  • Loading branch information
klieret and graeme-a-stewart authored Sep 8, 2024
1 parent 55adcfd commit c55aa22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/config/mdcheck.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
"replacementPatterns": [
{
"pattern": "^/(.*)",
"replacement": "https://hepsoftwarefoundation.org/$1"
"replacement": "/_site/$1"
},
{
"pattern": "^\\s*{{\\s*site.baseurl\\s*}}\\s*/(.*)",
"replacement": "https://hepsoftwarefoundation.org/$1"
"replacement": "/_site/$1"
}
],
"projectBaseUrl": "/__w/hsf.github.io/",
"timeout": "20s",
"retryOn429": true,
"retryCount": 5,
Expand Down
2 changes: 1 addition & 1 deletion _training/module-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ We are aiming for a specific audience and hence our central vision is to work to

As a central place to collaborate, we have the [hsf-training github organization](https://github.com/hsf-training) as central repository to collect and host different software training modules.

## Further reads
## Additional material

* [explanation of the different roles in a training event]({{ site.baseurl }}/training/educators.html)
* [how to organize a successful workshop]({{ site.baseurl }}/training/howto-event.html)
Expand Down

0 comments on commit c55aa22

Please sign in to comment.