Skip to content

Commit 644f10d

Browse files
Add external links and icon links to the HTML theme configuration
1 parent 3b0e6fa commit 644f10d

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

doc/conf.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,31 @@
104104
# Theme options are theme-specific and customize the look and feel of a theme
105105
# further. For a list of options available for each theme, see the
106106
# documentation.
107-
# html_theme_options = {}
107+
html_theme_options = {
108+
"external_links": [
109+
{
110+
"name": "GitHub",
111+
"url": "https://github.com/gambitproject/gambit"
112+
},
113+
{
114+
"name": "Releases",
115+
"url": "https://github.com/gambitproject/gambit/releases"
116+
},
117+
{
118+
"name": "Citing",
119+
"url": "https://www.gambit-project.org/cite/"
120+
}
121+
],
122+
"navbar_end": ["theme-switcher", "navbar-icon-links"],
123+
"icon_links": [
124+
{
125+
"name": "GitHub",
126+
"url": "https://github.com/gambitproject/gambit",
127+
"icon": "fab fa-github-square",
128+
"type": "fontawesome",
129+
}
130+
],
131+
}
108132

109133
# Add any paths that contain custom themes here, relative to this directory.
110134
# html_theme_path = []

0 commit comments

Comments
 (0)