Commit 502ef00
authored
π€ fix: refresh docs accuracy and structure (#71)
## Summary
This PR refreshes the user-facing docs and README for accuracy,
structure, and learnability. It updates outdated
architecture/troubleshooting guidance, improves getting-started and
deployment how-tos, and fixes the control-plane sample manifest used in
docs and CI smoke flows.
## Background
Recent documentation drift left several pages out of date with current
runtime behavior (`--app=all` default mode, expanded app modes,
codersdk-backed aggregated storage, and current Kubernetes resource
names). The README also needed a clearer project narrative and more
consistent onboarding flow.
## Implementation
- Reworked `README.md` into a structured project entrypoint with badges,
capability summary, app-mode matrix, docs links, commands, repo layout,
and contributing checks.
- Rewrote `docs/explanation/architecture.md`:
- documents all app modes (`all`, `controller`, `aggregated-apiserver`,
`mcp-http`)
- corrects `--app` default behavior
- describes controller, aggregated API, and MCP subsystems
- replaces outdated in-memory storage claim with codersdk-backed
architecture
- adds mermaid diagrams for process and request flow
- Rewrote `docs/how-to/troubleshooting.md` with correct resource names
and current failure modes.
- Improved `docs/index.md` with clearer orientation, links, and quick
commands.
- Expanded `docs/tutorials/getting-started.md` with improved flow,
verification, and cleanup.
- Updated deployment guides:
- `docs/how-to/deploy-controller.md` now explicitly covers
controller-only mode
- `docs/how-to/deploy-aggregated-apiserver.md` now distinguishes
all-in-one vs standalone mode and required standalone settings
- Fixed `config/samples/coder_v1alpha1_codercontrolplane.yaml`:
- image changed to `ghcr.io/coder/coder:latest`
- `licenseSecretRef` made optional/commented
## Validation
- `make verify-vendor`
- `make test`
- `make build`
- `make lint`
- `make docs-check`
## Risks
- **Low to moderate:** This is primarily documentation and
sample-manifest scope, but command correctness and deployment semantics
changed in text. Main residual risk is user confusion if they rely on
stale external copies of old docs; in-repo docs now reflect current code
behavior.
---
_Generated with `mux` β’ Model: `openai:gpt-5.3-codex` β’ Thinking:
`xhigh` β’ Cost: `$2.88`_
<!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh
costs=2.88 -->1 parent 7054680 commit 502ef00
9 files changed
Lines changed: 420 additions & 208 deletions
File tree
- config/samples
- docs
- explanation
- how-to
- tutorials
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| 34 | + | |
31 | 35 | | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
7 | | - | |
8 | | - | |
9 | 11 | | |
10 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
11 | 25 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
16 | 34 | | |
17 | 35 | | |
18 | 36 | | |
19 | 37 | | |
20 | | - | |
21 | | - | |
| 38 | + | |
| 39 | + | |
22 | 40 | | |
23 | | - | |
| 41 | + | |
24 | 42 | | |
25 | 43 | | |
26 | | - | |
| 44 | + | |
27 | 45 | | |
28 | | - | |
29 | | - | |
30 | 46 | | |
31 | 47 | | |
32 | | - | |
| 48 | + | |
33 | 49 | | |
34 | 50 | | |
35 | | - | |
| 51 | + | |
36 | 52 | | |
37 | 53 | | |
38 | | - | |
| 54 | + | |
39 | 55 | | |
40 | 56 | | |
41 | 57 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 58 | + | |
49 | 59 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 60 | + | |
53 | 61 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | | - | |
65 | | - | |
66 | | - | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | | - | |
70 | | - | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 74 | + | |
80 | 75 | | |
81 | | - | |
| 76 | + | |
82 | 77 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 78 | + | |
88 | 79 | | |
89 | | - | |
| 80 | + | |
90 | 81 | | |
91 | 82 | | |
92 | | - | |
| 83 | + | |
93 | 84 | | |
94 | 85 | | |
95 | | - | |
| 86 | + | |
96 | 87 | | |
97 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
98 | 93 | | |
99 | 94 | | |
100 | 95 | | |
101 | | - | |
102 | | - | |
103 | 96 | | |
104 | 97 | | |
105 | 98 | | |
106 | 99 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
115 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
116 | 110 | | |
117 | | - | |
| 111 | + | |
118 | 112 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments