Merge pull request #657 from antmicro/umarcor/docs/update

docs/conf: update extlinks syntax
This commit is contained in:
Tomasz Michalak 2023-04-22 14:31:59 +02:00 committed by GitHub
commit 835a40534f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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')
} }