Skip to content

Commit

Permalink
Avoid confusing in-dev versions in latest docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jun 14, 2023
1 parent 6988578 commit d78ccfe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
# The short X.Y version.
version = release.rsplit(".", 1)[0]

# Avoid confusing in-dev versions.
if "dev" in release:
release = version = "UNRELEASED"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# language = None
Expand Down

0 comments on commit d78ccfe

Please sign in to comment.