Skip to content

Commit aff436c

Browse files
committed
Exclude AGENTS.md from docs build
1 parent 757e3a3 commit aff436c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,12 @@ def autoapi_prepare_jinja_env(jinja_env):
192192
# Port READMEs in various formats
193193
"ports/*/README*",
194194
]
195-
exclude_patterns = ["docs/autoapi/templates/**", "docs/README.md"]
195+
exclude_patterns = [
196+
"docs/autoapi/templates/**",
197+
"docs/README.md",
198+
"AGENTS.md",
199+
"**/AGENTS.md",
200+
]
196201

197202
# The reST default role (used for this markup: `text`) to use for all
198203
# documents.

0 commit comments

Comments
 (0)