diff --git a/docs/conf.py b/docs/conf.py index 62e2ad5..f7de108 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -4,6 +4,7 @@ import os +from importlib.metadata import version # Define the canonical URL if you are using a custom domain on Read the Docs html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "") @@ -67,7 +68,7 @@ # built documents. # Read the listed version -version = "1.0.0" +version = version("hictkpy") # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.