diff --git a/docs/conf.py b/docs/conf.py index 6edef1a..6d73d6c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,6 +21,8 @@ # import os import sys +from pkg_resources import get_distribution + sys.path.insert(0, os.path.abspath('../src/')) # Configuration file for the Sphinx documentation builder. @@ -34,7 +36,7 @@ project = 'CAmp' copyright = '2022, The Johns Hopkins University Applied Physics Laboratory' author = 'JHU/APL' -release = '2.0.0' +release = get_distribution('anms-camp').version # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration