From f9c8f79a8669c526128d16aff3877064903956a2 Mon Sep 17 00:00:00 2001 From: chonghe Date: Fri, 12 Apr 2024 09:12:41 +0800 Subject: [PATCH] Fix --- book/src/SUMMARY.md | 2 +- scripts/mdlint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/SUMMARY.md b/book/src/SUMMARY.md index 23f7f7e9bc6..7fb0b2f4e70 100644 --- a/book/src/SUMMARY.md +++ b/book/src/SUMMARY.md @@ -1,6 +1,6 @@ # Summary -* [Introduction](./intro.md) +* [Introduction](./intro.md) * [Installation](./installation.md) * [Pre-Built Binaries](./installation-binaries.md) * [Docker](./docker.md) diff --git a/scripts/mdlint.sh b/scripts/mdlint.sh index ec173c0d7af..0bfebbd9b9e 100755 --- a/scripts/mdlint.sh +++ b/scripts/mdlint.sh @@ -12,7 +12,7 @@ if [[ $exit_code == 0 ]]; then echo "All markdown files are properly formatted." exit 0 elif [[ $exit_code == 1 ]]; then - echo "Exiting with errors. Run 'make mdlint' locally and commit the changes." + echo "Exiting with errors. Run 'make mdlint' locally and commit the changes. Note that not all errors can be fixed automatically, if there are still errors after running 'make mdlint', look for the errors and fix manually." docker run -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules --fix exit 1 else