From 4cd0e122232531df9461ccb9ef51011b743788f4 Mon Sep 17 00:00:00 2001 From: Chao Wang <26245345+ChaoWao@users.noreply.github.com> Date: Tue, 28 Jul 2026 23:25:29 -0700 Subject: [PATCH] Fix: drop the docs workflow's reference to a deleted hook The `mkdocs build --strict` step pointed readers at `docs/_hooks/griffe_filter.py` for "the one warning class that is deliberately not counted". That hook was removed once the annotations it worked around landed, so `docs/_hooks/` holds only `repo_links.py` and `mkdocs.yml` registers only that one. The strict build has no exemption left; the comment now says so. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d99b3cc33..b704af2fa 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -37,9 +37,8 @@ jobs: - name: Build site env: DOCS_REF: ${{ github.event_name == 'push' && 'main' || github.sha }} - # --strict fails on a dead intra-docs link, a page missing from nav, or a - # bad anchor. See docs/_hooks/griffe_filter.py for the one warning class - # that is deliberately not counted. + # --strict fails on a dead intra-docs link, a page missing from nav, or + # a bad anchor. No warning class is exempt. run: mkdocs build --strict --site-dir _site - name: Upload artifact