Skip to content

Commit

Permalink
Add Sphinx support for external links to particular commits
Browse files Browse the repository at this point in the history
Pointing to their GitHub URL.  Link text just says "commit X" as the commit
itself is not GitHub-specific.
  • Loading branch information
ivilata committed Sep 27, 2023
1 parent 232c446 commit dfc5bba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/source/conf.py
Expand Up @@ -202,6 +202,7 @@ def get_version(filename):
# -- External link options ----------------------------------------------------
extlinks = {
'issue': ('https://github.com/PyTables/PyTables/issues/%s', 'gh-%s'),
'commit': ('https://github.com/PyTables/PyTables/commit/%s', 'commit %s'),
}

# -- Options for autodocumentation ---------------------------------------------
Expand Down

0 comments on commit dfc5bba

Please sign in to comment.