Skip to content

Commit

Permalink
Be clear in docs about in-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jul 9, 2023
1 parent e048e1b commit 645b302
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@

# The full version, including alpha/beta/rc tags.
release = metadata.version("attrs")
# The short X.Y version.
version = release.rsplit(".", 1)[0]
if "dev" in release:
release = version = "UNRELEASED"
else:
# The short X.Y version.
version = release.rsplit(".", 1)[0]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down

0 comments on commit 645b302

Please sign in to comment.