We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcae5a7 commit 9807fadCopy full SHA for 9807fad
ci/dox.sh
@@ -6,12 +6,12 @@
6
7
set -ex
8
9
-TARGET_DOC_DIR=target/doc
10
-README=README.md
11
-PLATFORM_SUPPORT=platform-support.md
+TARGET_DOC_DIR="target/doc"
+README="README.md"
+PLATFORM_SUPPORT="platform-support.md"
12
13
-rm -rf $TARGET_DOC_DIR
14
-mkdir -p $TARGET_DOC_DIR
+rm -rf "$TARGET_DOC_DIR"
+mkdir -p "$TARGET_DOC_DIR"
15
16
if ! rustc --version | grep -E "nightly" ; then
17
echo "Building the documentation requires a nightly Rust toolchain"
@@ -57,6 +57,7 @@ while read -r target; do
57
--no-default-features --features extra_traits
58
fi
59
60
+ mkdir -p "${TARGET_DOC_DIR}/${target}"
61
cp -r "target/${target}/doc" "${TARGET_DOC_DIR}/${target}"
62
63
echo "* [${target}](${target}/libc/index.html)" >> $PLATFORM_SUPPORT
0 commit comments