Skip to content

Commit 5b2ac68

Browse files
committed
Switch to 'sh' compatible syntax in RTD config
1 parent d25ec20 commit 5b2ac68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.readthedocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ build:
1919
pre_install:
2020
- git update-index --assume-unchanged doc/rtd_environment.yml doc/source/conf.py
2121
pre_build:
22-
- cd doc/source && if [[ $READTHEDOCS_VERSION =~ latest|stable ]]; then python generate_area_def_list.py; else touch area_def_list.rst; fi
22+
- cd doc/source && if [ "$READTHEDOCS_VERSION" = "latest" ] || [ "$READTHEDOCS_VERSION" = "stable" ]; then python generate_area_def_list.py; else touch area_def_list.rst; fi
2323
conda:
2424
environment: doc/rtd_environment.yml

0 commit comments

Comments
 (0)