summaryrefslogtreecommitdiff
path: root/fix-sphinx-extlinks.patch
blob: ab4ff7fdff3ab187182a25b9032463fb478f2831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --color -Naur ghc-9.4.5-orig/docs/users_guide/ghc_config.py.in ghc-9.4.5/docs/users_guide/ghc_config.py.in
--- ghc-9.4.5-orig/docs/users_guide/ghc_config.py.in	2023-10-27 00:22:40.258287961 +0800
+++ ghc-9.4.5/docs/users_guide/ghc_config.py.in	2023-10-27 00:23:38.693278198 +0800
@@ -1,6 +1,6 @@
 extlinks = {
-    'ghc-ticket': ('https://gitlab.haskell.org/ghc/ghc/issues/%s', '#'),
-    'ghc-wiki': ('https://gitlab.haskell.org/ghc/ghc/wikis/%s', '#'),
+    'ghc-ticket': ('https://gitlab.haskell.org/ghc/ghc/issues/%s', '%s'),
+    'ghc-wiki': ('https://gitlab.haskell.org/ghc/ghc/wikis/%s', '#%s'),
 }
 
 libs_base_uri = '../libraries'