Skip to content

Commit

Permalink
Added html marker in build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mani-chand committed Mar 4, 2024
1 parent 7de5844 commit 37e74ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ else
fi

mdbook build -d "$dest_dir"
sed -i '/<!-- MARKER_START -->./../../theme/redbox.js<!-- MARKER_END -->/d' ./../../theme/redbox.js
if [ -f "$dest_dir/pandoc/pdf/comprehensive-rust.pdf" ]; then
mv "$dest_dir/pandoc/pdf/comprehensive-rust.pdf" "$dest_dir/html/"
fi
Expand Down

0 comments on commit 37e74ca

Please sign in to comment.