diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index aebf9de9e32d..f4a5d1d2a2cc 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -98,7 +98,6 @@ jobs: # proposals live only on GH as pure markdown - '!docs/proposals/**' # docs scripts & tools from `make docs` - - hack/check-mkdocs.sh - hack/check-env-doc.sh - .markdownlint.yaml - .mlc_config.json diff --git a/Makefile b/Makefile index 28137ea4f844..781f42f9485b 100644 --- a/Makefile +++ b/Makefile @@ -726,10 +726,8 @@ docs: /usr/local/bin/mkdocs \ # docs-linkcheck # check environment-variables.md contains all variables mentioned in the code ./hack/check-env-doc.sh - # check all docs are listed in mkdocs.yml - ./hack/check-mkdocs.sh # build the docs - mkdocs build + mkdocs build --strict # tell the user the fastest way to edit docs @echo "ℹ️ If you want to preview your docs, open site/index.html. If you want to edit them with hot-reload, run 'make docs-serve' to start mkdocs on port 8000" diff --git a/hack/check-mkdocs.sh b/hack/check-mkdocs.sh deleted file mode 100755 index 4261fa0fb2e1..000000000000 --- a/hack/check-mkdocs.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env sh -set -eu - -echo "Checking all docs are listed in mkdocs.yml..."ß - -# https://www.mkdocs.org/user-guide/configuration/#validation since 1.5.0 -mkdocs build --strict - -echo "✅ Success - all docs appear to be listed in mkdocs.yml"