From d6c1763242eaa3622bccce844f6e0a40fb7a9011 Mon Sep 17 00:00:00 2001 From: 1fanwang <1fannnw@gmail.com> Date: Wed, 23 Sep 2026 22:53:20 -0700 Subject: [PATCH] Keep authoring guidance out of published SDK docs Signed-off-by: 1fanwang <1fannnw@gmail.com> --- .../instructions/docs-style.instructions.md | 4 ++++ AGENTS.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) rename docs/AGENTS.md => .github/instructions/docs-style.instructions.md (99%) diff --git a/docs/AGENTS.md b/.github/instructions/docs-style.instructions.md similarity index 99% rename from docs/AGENTS.md rename to .github/instructions/docs-style.instructions.md index 46db6f8da6..fddd4a9e40 100644 --- a/docs/AGENTS.md +++ b/.github/instructions/docs-style.instructions.md @@ -1,3 +1,7 @@ +--- +applyTo: "docs/**" +--- + # Copilot SDK docs style guide This style guide applies to all documentation in the `docs/` directory. These docs are synced to `github/docs-internal` via a normalization pipeline, so they must follow the conventions below to be compatible with docs.github.com. diff --git a/AGENTS.md b/AGENTS.md index a32dc23f11..4d2fd278a1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -18,7 +18,7 @@ - Test harness & E2E: `/test/harness/*`, Python harness wrapper `/python/e2e/testharness/proxy.py` - Schemas and type generation: `/scripts/codegen/` and `/java/scripts/codegen/` - Session snapshots used by E2E: `/test/snapshots/` (used by the replay proxy) -- Docs style guide: `/docs/AGENTS.md` +- Docs style guide: `/.github/instructions/docs-style.instructions.md` ## Developer workflows (commands you’ll use often) ▶️