Skip to content

Commit

Permalink
docs: skip processing of software schema
Browse files Browse the repository at this point in the history
  • Loading branch information
clemiller committed Oct 23, 2024
1 parent 0b6cbee commit 8eddae4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions generate-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8eddae4

Please sign in to comment.