#!/bin/bash #################################################################### # PROJECT: Data Controller Docs # #################################################################### # update slides npx @marp-team/marp-cli slides/innovation/innovation.md -o ./docs/slides/innovation/index.html ## Create regular mkdocs docs echo 'extracting licences' OUTFILE='docs/licences.md' cat > $OUTFILE <<'EOL' # Data Controller for SASĀ® - Source Licences ## Overview Data Controller source licences are extracted automatically from our repo using the [license-checker](https://www.npmjs.com/package/license-checker) NPM module ``` EOL license-checker --production --relativeLicensePath --direct --start ../dcfrontend >> docs/licences.md echo '```' >> docs/licences.md echo 'building mkdocs' python3 -m mkdocs build --clean #mkdocs serve rsync -avz --exclude .git/ --del -e "ssh -p 722" site/ macropeo@77.72.0.226:/home/macropeo/docs.datacontroller.io