Skip to content

Commit

Permalink
BUG: Fix RTD html extraction directory
Browse files Browse the repository at this point in the history
Since the tarball already has "html", this results in html/html.
  • Loading branch information
thewtex committed Jan 16, 2025
1 parent 419982d commit e0e33a7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rtd-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ DOC_VERSION=$(if [[ "${READTHEDOCS_GIT_IDENTIFIER}" == *v* ]]; then echo "${READ
DOC_VERSION_NO_V=${DOC_VERSION//v/}
curl -LO https://github.com/thewtex/ITKDoxygen/releases/download/${DOC_VERSION}/InsightDoxygenDocHtml-${DOC_VERSION_NO_V}.tar.zst

mkdir -p $READTHEDOCS_OUTPUT
unzstd --long=31 ./InsightDoxygenDocHtml-${DOC_VERSION_NO_V}.tar.zst
mkdir -p $READTHEDOCS_OUTPUT/html
tar xf \
./InsightDoxygenDocHtml-${DOC_VERSION_NO_V}.tar \
--strip-components=1 \
-C $READTHEDOCS_OUTPUT/html
-C $READTHEDOCS_OUTPUT

0 comments on commit e0e33a7

Please sign in to comment.