Skip to content

Commit e0e33a7

Browse files
committed
BUG: Fix RTD html extraction directory
Since the tarball already has "html", this results in html/html.
1 parent 419982d commit e0e33a7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rtd-download.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ DOC_VERSION=$(if [[ "${READTHEDOCS_GIT_IDENTIFIER}" == *v* ]]; then echo "${READ
66
DOC_VERSION_NO_V=${DOC_VERSION//v/}
77
curl -LO https://github.com/thewtex/ITKDoxygen/releases/download/${DOC_VERSION}/InsightDoxygenDocHtml-${DOC_VERSION_NO_V}.tar.zst
88

9+
mkdir -p $READTHEDOCS_OUTPUT
910
unzstd --long=31 ./InsightDoxygenDocHtml-${DOC_VERSION_NO_V}.tar.zst
10-
mkdir -p $READTHEDOCS_OUTPUT/html
1111
tar xf \
1212
./InsightDoxygenDocHtml-${DOC_VERSION_NO_V}.tar \
13-
--strip-components=1 \
14-
-C $READTHEDOCS_OUTPUT/html
13+
-C $READTHEDOCS_OUTPUT
1514

0 commit comments

Comments
 (0)