Skip to content

Commit

Permalink
Test for sphinx==2.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhassell authored Jun 18, 2024
1 parent 4324bff commit 8b14404
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions release_docs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ fi

version=`python -c "import cfdm; print(cfdm.__version__)"`

sphinx_version=`python -c "import sphinx; print(sphinx.__version__)"`
if [[ $sphinx_version != "2.4.5" ]] ; then
echo "ERROR: Must use sphinx version 2.4.5. Got $sphinx_version"
exit 3
fi

if [[ $1 = "latest" ]] ; then
dir=$PWD/docs
elif [[ $1 = "archive" ]] ; then
Expand Down

0 comments on commit 8b14404

Please sign in to comment.