docs: licences update
This commit is contained in:
19
build.sh
19
build.sh
@ -4,6 +4,25 @@
|
||||
####################################################################
|
||||
|
||||
## Create regular mkdocs docs
|
||||
|
||||
echo 'extracting licences'
|
||||
|
||||
OUTFILE='docs/licences.md'
|
||||
|
||||
cat > $OUTFILE <<'EOL'
|
||||
<!-- this page is AUTOMATICALLY updated!! -->
|
||||
# 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
|
||||
|
||||
<code>
|
||||
EOL
|
||||
|
||||
license-checker --production --relativeLicensePath --direct --start ../dcfrontend >> docs/licences.md
|
||||
|
||||
echo '</code>' >> docs/licences.md
|
||||
|
||||
echo 'building mkdocs'
|
||||
mkdocs build --clean
|
||||
|
||||
|
Reference in New Issue
Block a user