Skip to content

Commit

Permalink
doc: support sphinx 6.0 ext.extlinks
Browse files Browse the repository at this point in the history
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:

sphinx-doc/sphinx#10471

Fixes sass#424 .
  • Loading branch information
mtasaka committed Jul 14, 2023
1 parent f277f90 commit 593ac9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
}

0 comments on commit 593ac9a

Please sign in to comment.