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 4e17fff commit 11fa17cCopy full SHA for 11fa17c
doc/generate-api-docs.sh
@@ -1,4 +1,4 @@
1
-#!/bin/bash -e
+#!/bin/bash -ex
2
3
cd "$(readlink -f "$(dirname "$0")/..")"
4
@@ -50,7 +50,8 @@ LIBS_SORTED=$(
50
)
51
52
for LIB in $LIBS_SORTED; do
53
- cd $LIB
+ LIB_DIR=$(find . -maxdepth 2 -name ${LIB} -type d)
54
+ cd ${LIB_DIR}
55
ARGS=""
56
if FEATURES="$(cargo read-manifest|jq -r '.metadata.docs.rs.features | join(",")' 2> /dev/null)"; then
57
ARGS="--features $FEATURES"
0 commit comments