docs/conf: update extlinks syntax

Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
Unai Martinez-Corral 2023-02-20 18:10:52 +01:00
parent b6c5fffd2e
commit 0da509737b
1 changed files with 6 additions and 6 deletions

View File

@ -187,10 +187,10 @@ intersphinx_mapping = {
# -- Sphinx.Ext.ExtLinks ----------------------------------------------------------------------------------------------- # -- Sphinx.Ext.ExtLinks -----------------------------------------------------------------------------------------------
extlinks = { extlinks = {
'wikipedia': ('https://en.wikipedia.org/wiki/%s', 'wikipedia:'), 'wikipedia': ('https://en.wikipedia.org/wiki/%s', 'wikipedia: %s'),
'gh': ('https://github.com/%s', 'gh:'), 'gh': ('https://github.com/%s', 'gh:%s'),
'ghsharp': ('https://github.com/chipsalliance/f4pga/issues/%s', '#'), 'ghsharp': ('https://github.com/chipsalliance/f4pga/issues/%s', '#%s'),
'ghissue': ('https://github.com/chipsalliance/f4pga/issues/%s', 'issue #'), 'ghissue': ('https://github.com/chipsalliance/f4pga/issues/%s', 'issue #%s'),
'ghpull': ('https://github.com/chipsalliance/f4pga/pull/%s', 'pull request #'), 'ghpull': ('https://github.com/chipsalliance/f4pga/pull/%s', 'pull request #%s'),
'ghsrc': ('https://github.com/chipsalliance/f4pga/blob/main/%s', '') 'ghsrc': ('https://github.com/chipsalliance/f4pga/blob/main/%s', '%s')
} }