diff --git a/.github/workflows/linkvalidator.yml b/.github/workflows/linkvalidator.yml index a14a4302..cc2da6e2 100644 --- a/.github/workflows/linkvalidator.yml +++ b/.github/workflows/linkvalidator.yml @@ -16,6 +16,12 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Resolve root-relative links for checking + run: | + # Convert root-relative markdown links like [text](/path) to [text](https://learn.microsoft.com/path) + # so lychee can validate them. This only modifies the CI checkout copy. + find . -name '*.md' -exec sed -i -E 's|\]\(/|\](https://learn.microsoft.com/|g' {} + + - name: Link Checker id: lychee uses: lycheeverse/lychee-action@master diff --git a/msal-python-conceptual/advanced/migrate.md b/msal-python-conceptual/advanced/migrate.md index 3c00fe30..337c6c13 100644 --- a/msal-python-conceptual/advanced/migrate.md +++ b/msal-python-conceptual/advanced/migrate.md @@ -25,7 +25,7 @@ and then when a new RT comes back, MSAL will store it in the usual way. As this method is intended for scenarios that are not typical, it is NOT readily accessible with the official API surface. You will have to call it via an internal helper `app.client`, and its naming convention is also slightly different than those other -[official APIs](). +[official APIs](../getting-started/acquiring-tokens.md). ```python from msal import PublicClientApplication