Skip to content

Commit

Permalink
Add extlink for GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
alcarney committed Sep 2, 2024
1 parent c65296b commit 1abf63c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
# ones.
extensions = [
# Builtin extensions
"sphinx.ext.extlinks",
"sphinx.ext.intersphinx",
# Third party extensions
"ablog",
Expand All @@ -55,6 +56,11 @@
blog_title = "Alex Carney | Blog"
post_date_format = "%b %d, %Y"

# -- Options for ExtLinks extension ---------------------------------------------
extlinks = {
'gh': ('https://github.com/%s', '%s'),
}

# -- Options for InterSphinx extension ---------------------------------------------
intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
Expand Down

0 comments on commit 1abf63c

Please sign in to comment.