Skip to content

Commit 2569edc

Browse files
authored
add the version number to the docs (#240)
1 parent 63e6407 commit 2569edc

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/source/conf.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@
7575
copyright = '2024, pyro development team'
7676
author = 'pyro development team'
7777

78-
html_logo = "logo.gif"
79-
html_title = "pyro"
78+
#html_logo = "logo.gif"
79+
#html_title = "pyro"
8080

8181
# The version info for the project you're documenting, acts as replacement for
8282
# |version| and |release|, also used in various other places throughout the
@@ -133,7 +133,12 @@
133133
"use_edit_page_button": True,
134134
"use_source_button": True,
135135
"repository_branch": "main",
136-
"path_to_docs": "docs/source"
136+
"path_to_docs": "docs/source",
137+
"logo": {
138+
"text": f"pyro {version}",
139+
"image_light": "logo.gif",
140+
"image_dark": "logo.gif",
141+
}
137142
}
138143

139144
# Add any paths that contain custom static files (such as style sheets) here,

0 commit comments

Comments
 (0)