docs: gather snippets from apps app folder only (#6266)

This commit is contained in:
Martin Yankov
2018-09-14 16:15:45 +03:00
committed by GitHub
parent f512054157
commit bd91bfb28a

View File

@@ -27,7 +27,7 @@ extract_snippets() {
npm install markdown-snippet-injector
for SNIPPET_DIR in {tests,apps,tns-core-modules} ; do
for SNIPPET_DIR in {tests/app,apps/app,tns-core-modules} ; do
echo "Extracting snippets from: $SNIPPET_DIR"
node "$BIN" --root="$SNIPPET_DIR" --target="$TARGET_DIR" \
--sourceext=".js|.ts|.xml|.html|.css"