diff --git a/docs/conf.py b/docs/conf.py
index c41798da51e365d7acf639dd8098edf497d0c0ea..5281ec57123d69b3d982ab255ae08c0111020f13 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -52,6 +52,14 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'README.md']
 #
 html_theme = 'sphinx_rtd_theme'
 
+html_context = {
+    'display_gitlab': True,
+    'gitlab_host': 'open.greenhost.net',
+    'gitlab_user': 'stackspin',
+    'gitlab_repo': 'stackspin',
+    'gitlab_version': 'main/',
+    'conf_py_path': 'docs/',
+}
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".