diff --git a/docs/source/conf.py b/docs/source/conf.py index 4fba7ba..802adc4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -5,11 +5,11 @@ # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information - +import pnetcdf project = 'PnetCDF Python' copyright = '2024, Northwestern University and Argonne National Laboratory' author = 'PnetCDF-Python Developer Team' -release = '0.1.0' +release = pnetcdf.__version__ # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/docs/source/index.rst b/docs/source/index.rst index de5dfaf..920fcd5 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -6,6 +6,8 @@ PnetCDF-Python Documentation ============================ +**Release:** |release| + .. toctree:: :maxdepth: 2 :caption: Introduction