Skip to content

Commit

Permalink
Ensure unique build versions on dev tags (#6308)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored Feb 5, 2024
1 parent ed34b1c commit f9acf5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ def get_requirements():
# Override the Sphinx default title that appends `documentation`
html_title = f'{project} v{version}'

# Ensure the global version string includes the SHA to ensure the service
# worker is invalidated on builds between tags
if is_dev:
version = panel.__version__

# Patching GridItemCardDirective to be able to substitute the domain name
# in the link option.
Expand Down

0 comments on commit f9acf5f

Please sign in to comment.