summaryrefslogtreecommitdiff
path: root/dev-python/sphinx-celery/files/sphinx-celery-2.0.0-extlinks.patch
blob: c01e8dde882d7e65513cd17aa51f4d63bb6c2af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 46d3ea167e7b6eab24f35354f44822981bc76767 Mon Sep 17 00:00:00 2001
From: Oleg Hoefling <oleg.hoefling@ionos.com>
Date: Tue, 23 Aug 2022 15:56:17 +0200
Subject: [PATCH] add placeholder to each extlinks caption

https://github.com/celery/sphinx_celery/pull/40
Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
---
 sphinx_celery/conf.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sphinx_celery/conf.py b/sphinx_celery/conf.py
index b35bc2b..8a6895b 100644
--- a/sphinx_celery/conf.py
+++ b/sphinx_celery/conf.py
@@ -161 +161 @@
-        'GitHub SHA@',
+        'GitHub SHA@%s',
@@ -165 +165 @@
-        'GitHub branch',
+        'GitHub branch %s',
@@ -168 +168 @@
-        'https://github.com/%s/', '@',
+        'https://github.com/%s/', '@%s',
@@ -171 +171 @@
-        'https://pypi.python.org/pypi/%s/', '',
+        'https://pypi.python.org/pypi/%s/', None,
@@ -174 +174 @@
-        'https://en.wikipedia.org/wiki/%s', '',
+        'https://en.wikipedia.org/wiki/%s', None,