You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'main' into chatd-list-templates-telemetry
Resolve conflicts in listtemplates.go, listtemplates_internal_test.go,
and listtemplates_test.go by taking the branch version: main's squashed
"rank chat workspace templates" (#25037) is byte-identical to this
branch's pre-telemetry base for those files, so the branch already
contains all of main's changes there plus the telemetry additions.
Copy file name to clipboardExpand all lines: .claude/docs/DOCS_STYLE_GUIDE.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,19 @@
1
1
# Documentation Style Guide
2
2
3
-
This guide documents prose, structure, and formatting patterns for documentation files in the `docs/` directory. It complements, and does not replace, the canonical content rules.
3
+
This guide documents structure, research, and content patterns for documentation files in the `docs/` directory. It complements, and does not replace, the canonical content rules or the prose style guide.
4
4
5
5
> [!IMPORTANT]
6
6
> **What belongs in the docs (and what doesn't)** is governed by
-d '{"text":":warning: *Stale docs paths found in site/src/.*\nTS/TSX files reference docs URLs that now redirect. Please check the logs: '"${LOGS_URL}"'"}' "${{ secrets.DOCS_LINK_SLACK_WEBHOOK }}"
Copy file name to clipboardExpand all lines: AGENTS.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Rule #1: If you want exception to ANY rule, YOU MUST STOP and get explicit permi
12
12
- Docs content scope: Use [Coder Docs Content Guidelines](docs/.style/content-guidelines.md) to decide whether a piece of content belongs in `docs/` at all. The Documentation Style Guide above covers prose and formatting; the content guidelines govern scope and routing and supersede the style guide on conflicts.
13
13
- Compatibility: `.agents/docs` symlinks to `.claude/docs` for agent runtimes that look there.
14
14
- Frontend: Read [Frontend Development Guidelines](site/AGENTS.md) before changing anything under `site/`.
15
+
- Docs prose: When editing anything under `docs/`, see the prose style guide at [`docs/.style/style-guide.md`](docs/.style/style-guide.md). It is currently a scaffold; until it is populated, use the **Writing Style** section in [`.claude/docs/DOCS_STYLE_GUIDE.md`](.claude/docs/DOCS_STYLE_GUIDE.md). That file also covers structure, research, and content patterns.
15
16
16
17
## Foundational rules
17
18
@@ -84,6 +85,10 @@ instructions focused on guardrails that agents should see immediately.
84
85
[OAuth2 Development Guide](.claude/docs/OAUTH2.md). OAuth2 endpoints must
85
86
use RFC-compliant errors such as `writeOAuth2Error(...)`, and public
86
87
endpoints that need system access should use `dbauthz.AsSystemRestricted`.
88
+
-**Chatd**: consult [Chatd Architecture](coderd/x/chatd/ARCHITECTURE.md) to
89
+
understand the architecture of the chatd subsystem. If you update the
90
+
chatd subsystem in ways that affect the architecture, you must update the
91
+
architecture document.
87
92
-**API design**: Follow the API guardrails in
88
93
[Development Workflows and Guidelines](.claude/docs/WORKFLOWS.md),
89
94
including swagger annotations for new public HTTP endpoints.
0 commit comments