Skip to content

Commit

Permalink
display full release name in docs title
Browse files Browse the repository at this point in the history
  • Loading branch information
alphasentaurii committed Jan 31, 2025
1 parent 9b9b963 commit 4598da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@

release = distribution(configuration["name"]).version
# for example take major/minor
version = ".".join(release.split(".")[:3])
version = ".".join(release.split(".")[:2])

# -- Options for HTML output ---------------------------------------------------
html_title = f"{project} v{version}"
html_title = f"{project} v{release}"

# Output file base name for HTML help builder.
htmlhelp_basename = project + "doc"
Expand Down

0 comments on commit 4598da9

Please sign in to comment.