Skip to content

Commit

Permalink
Switch to 'sh' compatible syntax in RTD config
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Sep 1, 2024
1 parent d25ec20 commit 5b2ac68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ build:
pre_install:
- git update-index --assume-unchanged doc/rtd_environment.yml doc/source/conf.py
pre_build:
- cd doc/source && if [[ $READTHEDOCS_VERSION =~ latest|stable ]]; then python generate_area_def_list.py; else touch area_def_list.rst; fi
- cd doc/source && if [ "$READTHEDOCS_VERSION" = "latest" ] || [ "$READTHEDOCS_VERSION" = "stable" ]; then python generate_area_def_list.py; else touch area_def_list.rst; fi
conda:
environment: doc/rtd_environment.yml

0 comments on commit 5b2ac68

Please sign in to comment.