Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,7 @@ build:
python: "3.10"
jobs:
pre_install:
- echo "CC=$CC"
- echo "PNETCDF_VER=$PNETCDF_VER"
- echo "Download and build PnetCDF version $PNETCDF_VER"
- wget https://parallel-netcdf.github.io/Release/pnetcdf-$PNETCDF_VER.tar.gz
- tar -xzf pnetcdf-$PNETCDF_VER.tar.gz
- echo "Installing PnetCDF-C in PNETCDF_DIR=$PNETCDF_DIR"
- cd ./pnetcdf-$PNETCDF_VER ; ./configure --prefix=${PNETCDF_DIR} --enable-shared --enable-debug --disable-fortran --disable-cxx; make -j 8 install
- pip install numpy cython cftime pytest twine wheel check-manifest mpi4py

python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .

- pip install -r docs/requirements.txt
sphinx:
configuration: docs/source/conf.py

3 changes: 1 addition & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@

# -- 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 = pnetcdf.__version__
release = "1.0.0"

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