From 593ac9a887a15eacd4e68a71998331ac93bc3e60 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Fri, 14 Jul 2023 17:01:04 +0900 Subject: [PATCH] doc: support sphinx 6.0 ext.extlinks As sphinx 5 already warns, sphinx.ext.extlinks requires a caption string to contain (exactly) one '%s' if caption is not None, and now sphinx forces this with the following change: https://github.com/sphinx-doc/sphinx/pull/10471 Fixes #424 . --- docs/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index ca7e3906..46964c23 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -267,11 +267,11 @@ extlinks = { - 'issue': ('https://github.com/sass/libsass-python/issues/%s', '#'), + 'issue': ('https://github.com/sass/libsass-python/issues/%s', '#%s'), 'branch': ( 'https://github.com/sass/libsass-python/compare/main...%s', - '', + '%s', ), - 'commit': ('https://github.com/sass/libsass-python/commit/%s', ''), - 'upcommit': ('https://github.com/sass/libsass/commit/%s', ''), + 'commit': ('https://github.com/sass/libsass-python/commit/%s', '%s'), + 'upcommit': ('https://github.com/sass/libsass/commit/%s', '%s'), } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy