Skip to content

Commit

Permalink
fix jsonschema2md
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaingaudan committed Dec 19, 2024
1 parent 8749d5d commit 017a789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkDocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ rm -rf target/generated-docs/*
# Generate model schema json file
docker run -v `pwd`:/app python:3 /bin/bash -c "cd /app/; pip3 install pydantic ; python3 -m airs.core.models.utils > /app/docs/docs/model/model.schema.json"
# Generate model documentation
docker run --rm -v `pwd`:/schema gisaia/jsonschema2md:latest -d /schema/docs/docs/model/ -o /schema/docs/docs/model/ -x -
docker run --rm -v `pwd`/docs/docs/model:/schema/ gisaia/jsonschema2md:latest -d /schema/ -o /schema/ -x -
sed -i'' 's/# /## /' docs/docs/model/model.md

# Overwrite generated model README
Expand Down

0 comments on commit 017a789

Please sign in to comment.