From 2f00255aeb6485d88d2efc6989d948d96718d920 Mon Sep 17 00:00:00 2001
From: zhanghan <zhanghan@kylinos.cn>
Date: Tue, 22 Aug 2023 10:53:03 +0800
Subject: [PATCH] add %s to extlinks  and format

---
 storage/innobase/xtrabackup/doc/source/conf.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/storage/innobase/xtrabackup/doc/source/conf.py b/storage/innobase/xtrabackup/doc/source/conf.py
index f690cca..11b9bf1 100644
--- a/storage/innobase/xtrabackup/doc/source/conf.py
+++ b/storage/innobase/xtrabackup/doc/source/conf.py
@@ -129,9 +129,8 @@ rst_prolog = '''
 
 '''
 
-extlinks = {'bug': ('https://bugs.launchpad.net/percona-xtrabackup/+bug/%s',
-                   '#'), 'mysqlbug': ('http://bugs.mysql.com/bug.php?id=%s',
-                   '#')}
+extlinks = {'bug': ('https://bugs.launchpad.net/percona-xtrabackup/+bug/%s','#%s'), 
+            'mysqlbug': ('http://bugs.mysql.com/bug.php?id=%s','#%s')}
 
 # A list of ignored prefixes for module index sorting.
 #modindex_common_prefix = []
-- 
2.33.0

