From 86b1ab6cd345e02d2672a353ce6d766e7cbc212a Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Thu, 15 Jul 2021 18:13:34 +0200
Subject: [PATCH] fix version number

---
 docs/site/docs/getting-started.mdx                           | 4 ++--
 docs/site/docusaurus.config.js                               | 4 ++--
 docs/site/versioned_docs/version-21.06.0/getting-started.mdx | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/site/docs/getting-started.mdx b/docs/site/docs/getting-started.mdx
index e5d7c2a99..05d757e34 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 5df2fe372..fb16fb620 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 d840597a0..1f532ecc7 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)
 :::
-- 
GitLab