diff --git a/docs/site/docs/getting-started.mdx b/docs/site/docs/getting-started.mdx
index e5d7c2a99fbdb62d8f6267b9f822d929c4bd94d3..05d757e34097a6625cfcb5a2f4ac0d2c956edebd 100644
--- a/docs/site/docs/getting-started.mdx
+++ b/docs/site/docs/getting-started.mdx
@@ -17,7 +17,7 @@ Otherwise, for testing purposes one can start ASAPO services in a standalone mod
 The easiest way is to use a Docker container.
 So, make sure Docker is installed and you have necessary permissions to use it.
 Please note that this will only work on a Linux machine. Also please note that ASAPO needs some ports to be available. You can check the list
-[here](https://stash.desy.de/projects/ASAPO/repos/asapo/browse/deploy/asapo_services/scripts/asapo.auto.tfvars.in?at=@ASAPO_VERSION@#37).
+[here](https://stash.desy.de/projects/ASAPO/repos/asapo/browse/deploy/asapo_services/scripts/asapo.auto.tfvars.in?at=@ASAPO_VERSION_IN_DOCS@#37).
 
 Now, depending on how your Docker daemon is configured (if it uses a
 unix socket or a tcp port for communications)
@@ -240,5 +240,5 @@ Optionally, last step is to stop ASAPO services and remove files:
 <br/><br/>
 
 :::tip
-You can see more examples in ASAPO [source code](https://stash.desy.de/projects/ASAPO/repos/asapo/browse/examples?at=@ASAPO_VERSION@)
+You can see more examples in ASAPO [source code](https://stash.desy.de/projects/ASAPO/repos/asapo/browse/examples?at=@ASAPO_VERSION_IN_DOCS@)
 :::
diff --git a/docs/site/docusaurus.config.js b/docs/site/docusaurus.config.js
index 5df2fe37212e04d68296de5ea4ccbb6b7fba26a6..fb16fb6207c0235d2059335406743fe75410f4ed 100644
--- a/docs/site/docusaurus.config.js
+++ b/docs/site/docusaurus.config.js
@@ -14,7 +14,7 @@ module.exports = {
   organizationName: 'DESY', // Usually your GitHub org/user name.
   projectName: 'ASAPO', // Usually your repo name.
    customFields: {
-     version: '@ASAPO_VERSION@',
+     version: '@ASAPO_VERSION_IN_DOCS@',
    },
   plugins: [path.resolve(__dirname, 'plugins/webpackconf/src/index.js')],
   themeConfig: {
@@ -57,7 +57,7 @@ module.exports = {
           docsPluginId: 'default',
         },
         {
-          href: 'https://stash.desy.de/projects/ASAPO/repos/asapo/browse?at=@ASAPO_VERSION@/',
+          href: 'https://stash.desy.de/projects/ASAPO/repos/asapo/browse?at=@ASAPO_VERSION_IN_DOCS@/',
           label: 'BitBucket',
           title: 'BitBucket',
           position: 'right',
diff --git a/docs/site/versioned_docs/version-21.06.0/getting-started.mdx b/docs/site/versioned_docs/version-21.06.0/getting-started.mdx
index d840597a06c124d8155be78171a0c8e885361fc9..1f532ecc7f12a36970bb7698c38c9f02bfeaf096 100644
--- a/docs/site/versioned_docs/version-21.06.0/getting-started.mdx
+++ b/docs/site/versioned_docs/version-21.06.0/getting-started.mdx
@@ -240,5 +240,5 @@ Optionally, last step is to stop ASAPO services and remove files:
 <br/><br/>
 
 :::tip
-You can see more examples in ASAPO [source code](https://stash.desy.de/projects/ASAPO/repos/asapo/browse/examples?at=100.0.docs)
+You can see more examples in ASAPO [source code](https://stash.desy.de/projects/ASAPO/repos/asapo/browse/examples?at=21.06.0)
 :::