Skip to content

Commit

Permalink
add the version number to the docs (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Sep 2, 2024
1 parent 63e6407 commit 2569edc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
copyright = '2024, pyro development team'
author = 'pyro development team'

html_logo = "logo.gif"
html_title = "pyro"
#html_logo = "logo.gif"
#html_title = "pyro"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -133,7 +133,12 @@
"use_edit_page_button": True,
"use_source_button": True,
"repository_branch": "main",
"path_to_docs": "docs/source"
"path_to_docs": "docs/source",
"logo": {
"text": f"pyro {version}",
"image_light": "logo.gif",
"image_dark": "logo.gif",
}
}

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

0 comments on commit 2569edc

Please sign in to comment.