diff --git a/mkDocs.sh b/mkDocs.sh index ec7e006..fe0591d 100755 --- a/mkDocs.sh +++ b/mkDocs.sh @@ -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