Skip to content

Commit 863333a

Browse files
committed
Fix link to github repo on home page of docs
1 parent b8e26cd commit 863333a

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

doc/conf.py

+34-1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,32 @@
121121
html_theme = "pymc_sphinx_theme"
122122
html_theme_options = {
123123
"use_search_override": False,
124+
"icon_links": [
125+
{
126+
"url": "https://github.com/pymc-devs/pytensor/",
127+
"icon": "fa-brands fa-github",
128+
"name": "GitHub",
129+
"type": "fontawesome",
130+
},
131+
{
132+
"url": "https://twitter.com/pymc_devs/",
133+
"icon": "fa-brands fa-twitter",
134+
"name": "Twitter",
135+
"type": "fontawesome",
136+
},
137+
{
138+
"url": "https://www.youtube.com/c/PyMCDevelopers",
139+
"icon": "fa-brands fa-youtube",
140+
"name": "YouTube",
141+
"type": "fontawesome",
142+
},
143+
{
144+
"url": "https://discourse.pymc.io",
145+
"icon": "fa-brands fa-discourse",
146+
"name": "Discourse",
147+
"type": "fontawesome",
148+
},
149+
],
124150
}
125151
html_context = {
126152
"github_user": "pymc-devs",
@@ -190,6 +216,7 @@
190216
# Output file base name for HTML help builder.
191217
htmlhelp_basename = "pytensor_doc"
192218

219+
193220
# Options for the linkcode extension
194221
# ----------------------------------
195222
# Resolve function
@@ -239,7 +266,13 @@ def find_source():
239266
# (source start file, target name, title, author, document class
240267
# [howto/manual]).
241268
latex_documents = [
242-
("index", "pytensor.tex", "PyTensor Documentation", "PyTensor Developers", "manual"),
269+
(
270+
"index",
271+
"pytensor.tex",
272+
"PyTensor Documentation",
273+
"PyTensor Developers",
274+
"manual",
275+
),
243276
]
244277

245278
# The name of an image file (relative to this directory) to place at the top of

0 commit comments

Comments
 (0)