diff --git a/bin/gencode_docs b/bin/gencode_docs index 2e538a46cd..67ab49ec1c 100755 --- a/bin/gencode_docs +++ b/bin/gencode_docs @@ -66,12 +66,12 @@ if [ "$OP" == check_links ]; then missing= echo Checking references to externally linked files... - fgrep -v \# etc/external_refs.txt | while read file comment; do + while read file comment; do if [[ -n $file && ! -f $file ]]; then echo "Reference to missing file '$file': $comment" missing=y fi - done + done < <( fgrep -v \# etc/external_refs.txt ) if [[ -n $missing ]]; then exit 1 diff --git a/etc/external_refs.txt b/etc/external_refs.txt index d120dce976..b9f55b8d5c 100644 --- a/etc/external_refs.txt +++ b/etc/external_refs.txt @@ -4,3 +4,21 @@ # This is not sophisticated enough to check the _usage_ of any files. dashboard/deploy_dashboard_gcloud referenced in MSI learning materials and documentation +docs/tools/keygen.md referenced in MSI learning materials and documentation +docs/tools/pubber.md referenced in MSI learning materials and documentation +docs/tools/registrar.md referenced in MSI learning materials and documentation +docs/tools/validator.md referenced in MSI learning materials and documentation +docs/tools/sequencer.md referenced in MSI learning materials and documentation +docs/specs/sequences/readme.md referenced in MSI learning materials and documentation +docs/specs/message_walk.md referenced in MSI learning materials and documentation +docs/cloud/gcp/readme.md referenced in MSI learning materials and documentation +docs/specs/site_model.md referenced in MSI learning materials and documentation +docs/specs/metadata.md referenced in MSI learning materials and documentation +docs/tools/validator.md referenced in MSI learning materials and documentation +docs/specs/connecting.md referenced in MSI learning materials and documentation +docs/specs/gateway.md referenced in MSI learning materials and documentation +docs/messages/state.md referenced in MSI learning materials and documentation +docs/messages/config.md referenced in MSI learning materials and documentation +docs/specs/sequences/writeback.md referenced in MSI learning materials and documentation +gencode/docs/state.html referenced in MSI learning materials and documentation +gencode/docs/metadata.html referenced in MSI learning materials and documentation \ No newline at end of file