From 3fb6531119cd3d7110061e1fd4d736184ecb88a1 Mon Sep 17 00:00:00 2001 From: Carlos Nihelton Date: Fri, 4 Oct 2024 10:49:24 -0300 Subject: [PATCH] Fix fixable links to MS Store apps Those links were timing out in CI linkcheck. The UP4W is only accessible from authorised users logged in, linkcheck will always fail, thus excluded. --- docs/custom_conf.py | 5 +++-- docs/howto/set-up-up4w.md | 2 +- docs/tutorial/getting-started.md | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/custom_conf.py b/docs/custom_conf.py index 6431f901f..9076383eb 100644 --- a/docs/custom_conf.py +++ b/docs/custom_conf.py @@ -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) diff --git a/docs/howto/set-up-up4w.md b/docs/howto/set-up-up4w.md index 8885ffed0..426759534 100644 --- a/docs/howto/set-up-up4w.md +++ b/docs/howto/set-up-up4w.md @@ -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) diff --git a/docs/tutorial/getting-started.md b/docs/tutorial/getting-started.md index 3d110b6b3..e1f4265bf 100644 --- a/docs/tutorial/getting-started.md +++ b/docs/tutorial/getting-started.md @@ -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. @@ -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/). @@ -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: