Repository: dusk-network/rusk (language: rust)

Issue:
web-wallet: Update docs URLs
#### Summary

The docs currently have numbers in their URLs. With a new deploy, these numbers will be removed. The web wallet links to two of such pages, related to provisioners and slashing. These URL variables need to be updated.

Both the docs and the Web wallet should be redeployed at the same time to prevent broken URLs.

#### Solution

Change the following links:
```
https://docs.dusk.network/operator/02-provisioner/
https://docs.dusk.network/operator/02-provisioner/#slashing
```

To:
```
https://docs.dusk.network/operator/provisioner/
https://docs.dusk.network/operator/provisioner/#slashing
```

This needs to happen in [documentationLinks.js](https://github.com/dusk-network/rusk/blob/c3e8428ac0c6b1d075a194aba3c10737e337016b/web-wallet/src/lib/constants/documentationLinks.js#L3)

And the [stake spec](https://github.com/dusk-network/rusk/blob/c3e8428ac0c6b1d075a194aba3c10737e337016b/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap#L363)



Discussion / hints:

Fix patch:
diff --git a/web-wallet/src/lib/constants/documentationLinks.js b/web-wallet/src/lib/constants/documentationLinks.js
index 010bf40d38..49170d6567 100644
--- a/web-wallet/src/lib/constants/documentationLinks.js
+++ b/web-wallet/src/lib/constants/documentationLinks.js
@@ -1,5 +1,5 @@
 export const DOCUMENTATION_LINKS = {
   RESTORE_BLOCK_HEIGHT: "https://docs.dusk.network/learn/guides/restore-height",
-  RUN_A_PROVISIONER: "https://docs.dusk.network/operator/02-provisioner/",
-  SLASHING: "https://docs.dusk.network/operator/02-provisioner/#slashing",
+  RUN_A_PROVISIONER: "https://docs.dusk.network/operator/provisioner/",
+  SLASHING: "https://docs.dusk.network/operator/provisioner/#slashing",
 };


Test patch:
diff --git a/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap b/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap
index 84382a320c..46b0b44c96 100644
--- a/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap
+++ b/web-wallet/src/lib/components/__tests__/__snapshots__/Stake.spec.js.snap
@@ -360,7 +360,7 @@ exports[`Stake > should render the Stake notice 1`] = `
           I understand that I have set up a node properly, as described 
           <a
             class="dusk-anchor dusk-anchor--on-surface"
-            href="https://docs.dusk.network/operator/02-provisioner/"
+            href="https://docs.dusk.network/operator/provisioner/"
             rel="noopener noreferrer"
             target="_blank"
           >
@@ -369,7 +369,7 @@ exports[`Stake > should render the Stake notice 1`] = `
           , and that, if not done correctly, I may be subject to 
           <a
             class="dusk-anchor dusk-anchor--on-surface"
-            href="https://docs.dusk.network/operator/02-provisioner/#slashing"
+            href="https://docs.dusk.network/operator/provisioner/#slashing"
             rel="noopener noreferrer"
             target="_blank"
           >