diff --git a/cookbook/tests/generate.sh b/cookbook/tests/generate.sh index 5fc1eff..294d1d4 100755 --- a/cookbook/tests/generate.sh +++ b/cookbook/tests/generate.sh @@ -7,7 +7,7 @@ cat << EOF > src/lib.rs extern crate doc_comment; EOF -for doc in ../src/*.md +for doc in ../src/**/*.md do NAME=$(basename $doc .md) NAME=${NAME//./_}