Skip to content

Commit

Permalink
Fix ReadTheDocs display of version string
Browse files Browse the repository at this point in the history
Fix problem where RTD displays full release version string (eg: X.Y.Z.dev0+gXXXXXX)., not shorter X.Y.Z version (shown in the title at the top left corner).
  • Loading branch information
GenevieveBuckley authored May 22, 2024
1 parent 735f5e2 commit 6376daf
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 @@ -130,11 +130,11 @@

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
html_title = f"{project} {version} documentation"

# A shorter title for the navigation bar. Default is the same as
# html_title.
#html_short_title = None
html_short_title = f"{project} docs"

# The name of an image file (relative to this directory) to place at the
# top of the sidebar.
Expand Down

0 comments on commit 6376daf

Please sign in to comment.