From e75dedd9496bb0e36eb4949777d0516f6ad7a66e Mon Sep 17 00:00:00 2001
From: Cammille Carinan <cammille.carinan@xfel.eu>
Date: Wed, 16 Aug 2023 17:34:28 +0200
Subject: [PATCH] FIX: Sphinx extlinks definition

---
 doc/changelog.rst | 2 +-
 doc/conf.py       | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/changelog.rst b/doc/changelog.rst
index 90d5083..9bdcef0 100644
--- a/doc/changelog.rst
+++ b/doc/changelog.rst
@@ -57,7 +57,7 @@ unreleased
 
     -  Add get_undulator_config function :mr:`225`
     -  Document the HRIXS class :mr:`238`
-    -  Include double counts for hRIXS SPC algorithms :rm:`239`
+    -  Include double counts for hRIXS SPC algorithms :mr:`239`
     -  Add Viking spectrometer analysis class :mr:`240`
     -  Add GPU accelaration for BOZ correction determination :mr:`254`
     -  Issues warning when loading data with > 5% missing trains :mr:`263`
diff --git a/doc/conf.py b/doc/conf.py
index 25cc294..2ecf5af 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -53,11 +53,11 @@ autoapi_dirs = ['../src/toolbox_scs']
 autoapi_ignore = ['*/deprecated/*']
 
 extlinks = {'issue': ('https://git.xfel.eu/SCS/ToolBox/-/issues/%s',
-                      'issue:'),
+                      'issue:%s'),
             'mr': ('https://git.xfel.eu/SCS/ToolBox/-/merge_requests/%s',
-                   'MR:'),
+                   'MR:%s'),
             'commit': ('https://git.xfel.eu/SCS/ToolBox/-/commit/%s',
-                       'commit:')
+                       'commit:%s')
             }
 
 # Don't add .txt suffix to source files:
-- 
GitLab