Skip to content

Commit 5a579c6

Browse files
Updating json-schema-for-humans version to latest
Signed-off-by: Steve Springett <[email protected]>
1 parent 888c1de commit 5a579c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docgen/json/gen.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mkdir -p docs/{1.2,1.3,1.4,1.5}
44

55
# Check to see if generate-schema-doc is executable and is in the path. If not, install JSON Schema for Humans.
66
if ! [ -x "$(command -v generate-schema-doc)" ]; then
7-
pip3 install json-schema-for-humans==0.39.5
7+
pip3 install json-schema-for-humans==0.44.3
88
fi
99

1010
generate () {
@@ -18,7 +18,7 @@ generate () {
1818
SCHEMA_FILE='../../schema/bom-'$version'.schema.json'
1919
fi
2020
echo $SCHEMA_FILE
21-
generate-schema-doc --config no_link_to_reused_ref --config no_show_breadcrumbs --config no_collapse_long_descriptions --config deprecated_from_description --config title="$title" --config custom_template_path=$(pwd)'/templates/cyclonedx/base.html' --minify $SCHEMA_FILE 'docs/'$version'/index.html'
21+
generate-schema-doc --config no_link_to_reused_ref --config no_show_breadcrumbs --config no_collapse_long_descriptions --deprecated-from-description --config title="$title" --config custom_template_path=$(pwd)'/templates/cyclonedx/base.html' --minify $SCHEMA_FILE 'docs/'$version'/index.html'
2222
sed -i -e "s/\${quotedTitle}/\"$title\"/g" 'docs/'$version'/index.html'
2323
sed -i -e "s/\${title}/$title/g" 'docs/'$version'/index.html'
2424
sed -i -e "s/\${version}/$version/g" 'docs/'$version'/index.html'

0 commit comments

Comments
 (0)