Skip to content

Commit 03dde95

Browse files
authored
Merge pull request #55 from Parallel-NetCDF/dynamic_version
test release number in docs
2 parents a005a80 + c939695 commit 03dde95

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
# -- Project information -----------------------------------------------------
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8-
8+
import pnetcdf
99
project = 'PnetCDF Python'
1010
copyright = '2024, Northwestern University and Argonne National Laboratory'
1111
author = 'PnetCDF-Python Developer Team'
12-
release = '0.1.0'
12+
release = pnetcdf.__version__
1313

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

docs/source/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
PnetCDF-Python Documentation
77
============================
88

9+
**Release:** |release|
10+
911
.. toctree::
1012
:maxdepth: 2
1113
:caption: Introduction

0 commit comments

Comments
 (0)