From 8eddae445e0124808bc1ebe93bb19246844ac1a9 Mon Sep 17 00:00:00 2001 From: Charissa Miller <48832936+clemiller@users.noreply.github.com> Date: Wed, 23 Oct 2024 09:29:39 -0400 Subject: [PATCH] docs: skip processing of software schema --- generate-docs.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/generate-docs.sh b/generate-docs.sh index cad53f6..c43f38f 100755 --- a/generate-docs.sh +++ b/generate-docs.sh @@ -22,9 +22,13 @@ echo "|----------------|------------------|------|" >> $OVERVIEW find $SCHEMA_DIR -name "*.schema.ts" | while read schemaFile; do fileName="$(basename "$schemaFile")" - # skip stix-bundle for now + # skip software (covered by malware/tool) + if [[ "${fileName}" == "software.schema.ts" ]]; then + continue + fi + + # skip stix-bundle (manually generated) and add to overview page if [[ "${fileName}" == "stix-bundle.schema.ts" ]]; then - # add to overview echo "| STIX Bundle | SDO | [Schema](/docs/sdo/stix-bundle.schema) |" >> $OVERVIEW continue fi