Skip to content

Commit

Permalink
Add debugging to docs conf
Browse files Browse the repository at this point in the history
  • Loading branch information
swainn committed Nov 9, 2023
1 parent ff38491 commit 544289c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@ def __getattr__(cls, name):
# |version| and |release|, also used in various other places throughout the
# built documents.
release = get_version(root="..", relative_to=__file__)
print(f'Building docs for version "{release}"')

# major/minor
version = ".".join(release.split(".")[:2])
print(f'Using simplified version "{version}"')

# Determine branch
git_directory = Path(__file__).parent.parent
Expand Down

0 comments on commit 544289c

Please sign in to comment.