Skip to content

Commit 0eefa69

Browse files
committed
[no ci] docs: add GitHub and Discourse links, reorder navbar
1 parent de30009 commit 0eefa69

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docsrc/source/conf.py

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,29 @@
141141
"image_light": "_static/bayesflow_hor.png",
142142
"image_dark": "_static/bayesflow_hor_dark.png",
143143
},
144-
"navbar_center": ["version-switcher", "navbar-nav"],
144+
"icon_links_label": "Icon Links",
145+
"icon_links": [
146+
{
147+
"name": "GitHub",
148+
"url": "https://github.com/bayesflow-org/bayesflow",
149+
"icon": "fa-brands fa-square-github",
150+
"type": "fontawesome",
151+
},
152+
{
153+
"name": "Discourse Forum",
154+
"url": "https://discuss.bayesflow.org/",
155+
"icon": "fa-brands fa-discourse",
156+
"type": "fontawesome",
157+
},
158+
],
159+
"navbar_align": "left",
160+
# -- Template placement in theme layouts ----------------------------------
161+
"navbar_start": ["navbar-logo"],
162+
# Note that the alignment of navbar_center is controlled by navbar_align
163+
"navbar_center": ["navbar-nav"],
164+
"navbar_end": ["theme-switcher", "navbar-icon-links", "version-switcher"],
165+
# navbar_persistent is persistent right (even when on mobiles)
166+
"navbar_persistent": ["search-button"],
145167
"switcher": {
146168
"json_url": "/versions.json",
147169
"version_match": current,

0 commit comments

Comments
 (0)