From 010ef0fdf5a5a1705b2ff3b93c68e9cae4b41a8e Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Thu, 31 Aug 2023 10:35:56 +0200 Subject: [PATCH] Fix ReleaseNotes build for some reason (clearly another change somewhere in the Sphinx) extlinks extension used in the releasenotes is failing when extlink caption is not having substitues same as in the link itself. > title = caption % part > ~~~~~~~~^~~~~~ > TypeError: not all arguments converted during string formatting Now the extension supports setting link capturion to None which works as we need. Change-Id: Ie1a61e9b3ee5d727d59525efe34aea696538e2b3 --- releasenotes/source/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 3defd7dd7b..3302cd3a70 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -63,15 +63,15 @@ openstackdocs_auto_name = False extlinks = { 'lpbug': ( 'https://bugs.launchpad.net/bugs/%s', - 'Bug ', + 'Bug %s', ), 'oscbp': ( 'https://blueprints.launchpad.net/python-openstackclient/+spec/%s', - '', + None, ), 'oscdoc': ( 'https://docs.openstack.org/python-openstackclient/latest/%s.html', - '', + None, ), }