diff --git a/docs/source/conf.py b/docs/source/conf.py
index 77f763065c72d3e0bf1f30088f17061d9d7c0d07..3f19bcb70096c96f65f7a09a87ed8f3faadd5680 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -216,7 +216,7 @@ html_context = {
     "theme_logo_only": True,
     "gitlab_user": "ska-telescope",  # Username
     "gitlab_repo": "ska-tango-base",  # Repo name
-    "gitlab_version": "master",  # Version
+    "gitlab_version": "main",  # Version
     "conf_py_path": "/docs/source/",  # Path in the checkout to the docs root
 }