38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 1b7330884b996e13944e9680b0c0d01f4907b6b5 Mon Sep 17 00:00:00 2001
|
|
From: Stein Magnus Jodal <stein.magnus@jodal.no>
|
|
Date: Sun, 19 Mar 2023 01:52:12 +0100
|
|
Subject: [PATCH] Fix extlinks crash in docs build
|
|
|
|
Ref https://github.com/sphinx-doc/sphinx/issues/11094
|
|
---
|
|
docs/conf.py | 13 ++++++++-----
|
|
1 file changed, 8 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/docs/conf.py b/docs/conf.py
|
|
index f17b3c9ae..58bfa70b3 100644
|
|
--- a/docs/conf.py
|
|
+++ b/docs/conf.py
|
|
@@ -131,14 +131,17 @@ def setup(app):
|
|
# -- Options for extlink extension --------------------------------------------
|
|
|
|
extlinks = {
|
|
- "issue": ("https://github.com/mopidy/mopidy/issues/%s", "#"),
|
|
- "commit": ("https://github.com/mopidy/mopidy/commit/%s", "commit "),
|
|
- "js": ("https://github.com/mopidy/mopidy.js/issues/%s", "mopidy.js#"),
|
|
+ "issue": ("https://github.com/mopidy/mopidy/issues/%s", "#%s"),
|
|
+ "commit": ("https://github.com/mopidy/mopidy/commit/%s", "commit %s"),
|
|
+ "js": ("https://github.com/mopidy/mopidy.js/issues/%s", "mopidy.js#%s"),
|
|
"mpris": (
|
|
"https://github.com/mopidy/mopidy-mpris/issues/%s",
|
|
- "mopidy-mpris#",
|
|
+ "mopidy-mpris#%s",
|
|
+ ),
|
|
+ "discuss": (
|
|
+ "https://discourse.mopidy.com/t/%s",
|
|
+ "discourse.mopidy.com/t/%s",
|
|
),
|
|
- "discuss": ("https://discourse.mopidy.com/t/%s", "discourse.mopidy.com/t/"),
|
|
}
|
|
|
|
|