From 2e934cf7b154a759f219271fb87b2dc9968e5d23 Mon Sep 17 00:00:00 2001 From: Jarry Shaw Date: Sat, 31 Oct 2026 00:46:34 -0400 Subject: [PATCH] test(docs): pin protocol-member-order in conventions toctree ANCHORS lacked the protocol-member-order page that the index toctree lists, failing test_the_index_toctree_lists_every_page_in_order. --- tests/project/test_conventions_doc_claims.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/project/test_conventions_doc_claims.py b/tests/project/test_conventions_doc_claims.py index 91eb980fea..08a0710e6e 100644 --- a/tests/project/test_conventions_doc_claims.py +++ b/tests/project/test_conventions_doc_claims.py @@ -103,17 +103,19 @@ #: a Mermaid graph beats a paragraph, and what a sentence on these pages may claim. #: ``protocol-layer-placement`` carries the other ruling that thread settled -- which #: subpackage a dissector belongs in, decided by designed function rather than by -#: encapsulation -- and sits beside the other class-hierarchy page. ``test-coverage`` -#: carries GitHub issue #1203's rules for what the test suite has to prove, and -#: ``utilities-or-corekit`` GitHub issue #1712's rule for which of those two packages -#: a module belongs in. Every anchor is the bare file stem, which is what -#: :data:`PAGES` below depends on. +#: encapsulation -- and sits beside the other class-hierarchy page. +#: ``protocol-member-order`` carries the ruling on the order of members in a protocol +#: class body. ``test-coverage`` carries GitHub issue #1203's rules for what the test +#: suite has to prove, and ``utilities-or-corekit`` GitHub issue #1712's rule for +#: which of those two packages a module belongs in. Every anchor is the bare file +#: stem, which is what :data:`PAGES` below depends on. ANCHORS = ( 'mint-criterion', 'sentinel-convention', 'registry-protocol', 'extension-header-subclassing', 'protocol-family-grouping', + 'protocol-member-order', 'protocol-layer-placement', 'process', 'documentation',