Skip to content

Commit

Permalink
Fix fixable links to MS Store apps
Browse files Browse the repository at this point in the history
Those links were timing out in CI linkcheck.
The UP4W is only accessible from authorised users logged in,
linkcheck will always fail, thus excluded.
  • Loading branch information
CarlosNihelton committed Oct 4, 2024
1 parent 2dc6de8 commit 3fb6531
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,13 @@
# Links to ignore when checking links
linkcheck_ignore = [
'http://127.0.0.1:8000',

# Linkcheck does not have access to the repo
'https://github.com/canonical/ubuntu-pro-for-wsl/*',
# This page redirects to SSO login:
'https://ubuntu.com/pro/dashboard',
]
# Only users logged in to MS Store with their account registered for beta can access this link
'https://apps.microsoft.com/detail/9PD1WZNBDXKZ',
]

# Pages on which to ignore anchors
# (This list will be appended to linkcheck_anchors_ignore_for_url)
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/set-up-up4w.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You should also verify that the [firewall rules are correctly set up](../referen
The install link below will work only if you're logged in to the Microsoft Store with an account for which access to the app has been enabled.
```

You can install UP4W [on this page of the Microsoft Store](https://www.microsoft.com/store/productId/9PD1WZNBDXKZ):
You can install UP4W [on this page of the Microsoft Store](https://apps.microsoft.com/detail/9PD1WZNBDXKZ):

![Install Ubuntu Pro for WSL from the Store](./assets/store.png)

Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Output logs are included in this tutorial when instructive but are sometimes omi
(tut::get-wsl)=
### Install WSL

WSL can be installed directly from the [Microsoft Store](https://www.microsoft.com/store/productId/9P9TQF7MRM4R).
WSL can be installed directly from the [Microsoft Store](https://apps.microsoft.com/detail/9P9TQF7MRM4R).

If you already have WSL installed, with `~\.wslconfig` on your system, you
are advised to backup the file then remove it before continuing the tutorial.
Expand All @@ -67,7 +67,7 @@ PS C:\Users\me\tutorial> Remove-Item ~\.wslconfig
Ubuntu 24.04 LTS is recommended for this tutorial and can be installed from the
Microsoft Store:

> Install [Ubuntu 24.04 LTS](https://www.microsoft.com/store/productId/9nz3klhxdjp5) from the Microsoft Store
> Install [Ubuntu 24.04 LTS](https://apps.microsoft.com/detail/9nz3klhxdjp5) from the Microsoft Store
For other installation options refer to our [install Ubuntu on WSL2 guide](https://canonical-ubuntu-wsl.readthedocs-hosted.com/en/latest/guides/install-ubuntu-wsl2/).

Expand Down Expand Up @@ -104,7 +104,7 @@ Once you have a token you are ready to install UP4W.
The install link below will work only if you're logged in to the Microsoft Store with an account for which access to the app has been enabled.
```

UP4W can be installed from [this link to the Microsoft Store](https://www.microsoft.com/store/productId/9PD1WZNBDXKZ).
UP4W can be installed from [this link to the Microsoft Store](https://apps.microsoft.com/detail/9PD1WZNBDXKZ).

Open the application and paste the token you copied from the Ubuntu Pro dashboard:

Expand Down

0 comments on commit 3fb6531

Please sign in to comment.