Blob Blame History Raw
From a53185422e11e9bbd7480117a35092463c0f6376 Mon Sep 17 00:00:00 2001
From: Eric Harney <eharney@redhat.com>
Date: Tue, 21 Mar 2023 11:28:33 -0400
Subject: [PATCH] Fix doc building with Sphinx 6.0

Fix Sphinx 6.0 doc build error.

Change-Id: I9a1571cf416d32d040d8ff05d1c8b1769d1d0558
---
 doc/source/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index b46a5a8c..d1006bb4 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -68,8 +68,8 @@ modindex_common_prefix = ['taskflow.']
 # Shortened external links.
 source_tree = 'https://opendev.org/openstack/taskflow/src/branch/master/'
 extlinks = {
-    'example': (source_tree + '/taskflow/examples/%s.py', ''),
-    'pybug': ('http://bugs.python.org/issue%s', ''),
+    'example': (source_tree + '/taskflow/examples/%s.py', '%s'),
+    'pybug': ('http://bugs.python.org/issue%s', '%s'),
 }
 
 
-- 
2.40.0