Skip to content

Commit a8de70a

Browse files
authored
Update conf.py
1 parent e94f73e commit a8de70a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88
import os
99
import sys
10+
from importlib.metadata import version as get_version
1011

1112
sys.path.insert(0, os.path.abspath("../.."))
1213

1314

1415
project = "regularizepsf"
1516
copyright = "2023, J. Marcus Hughes and the PUNCH Science Operations Center"
1617
author = "J. Marcus Hughes and the PUNCH Science Operations Center"
17-
release = "0.4.0"
18+
release: str = get_version("regularizepsf")
1819

1920
# -- General configuration ---------------------------------------------------
2021
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

0 commit comments

Comments
 (0)