Skip to content

Commit e5bde81

Browse files
committed
Update AGENTS regarding third party resources
Try and encourage them to follow the same configuration pattern if I add more such resources in the future.
1 parent 90f7bfd commit e5bde81

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,11 @@ Rules:
241241
following the patterns used for `sidebar_pages`, `head`,
242242
`extra_stylesheets`, and the path template fields.
243243

244+
* **Third-party scripts/stylesheets**: if we ever add another third-party resource,
245+
its URLs/endpoints should be added to the nested `third_party` configuration mapping
246+
(e.g., `third_party.resource_name.url_type`) rather than creating a top-level property.
247+
This keeps all external script and stylesheet configuration grouped and consistent.
248+
Follow the validation and merge patterns established in `config.py` for the existing
249+
`third_party` fields.
250+
244251
[//]: # (AGENTS.md ends here)

0 commit comments

Comments
 (0)