Skip to content

Commit 95ff19a

Browse files
committed
hide the docs/proposals/AGENTS.md from the navigation
1 parent 1a2e421 commit 95ff19a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎build.py‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,13 @@ def _construct_undefined(loader, node):
128128
with open(mkdocs_temp_path, "r") as f:
129129
mkdocs_config = yaml.load(f, Loader=_IgnoreUnknownTagLoader)
130130

131-
proposals = sorted(proposals_dir.glob("*.md"), key=lambda p: p.name.lower())
131+
proposals = sorted(
132+
[
133+
p for p in proposals_dir.glob("*.md")
134+
if p.name.lower() != "agents.md"
135+
],
136+
key=lambda p: p.name.lower(),
137+
)
132138
proposals_nav = []
133139
for proposal_path in proposals:
134140
title = proposal_path.stem.replace("_", " ").replace("-", " ").strip()

0 commit comments

Comments
 (0)