Skip to content

Commit 18effcd

Browse files
committed
Fix: enterprise
1 parent f58a114 commit 18effcd

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

docs/manifest.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,15 @@
214214
"title": "Groups",
215215
"description": "Learn how to manage user groups",
216216
"path": "./admin/groups.md",
217-
"icon_path": "./images/icons/group.svg"
217+
"icon_path": "./images/icons/group.svg",
218+
"state": "enterprise"
218219
},
219220
{
220221
"title": "RBAC",
221222
"description": "Learn how to use the role based access control",
222223
"path": "./admin/rbac.md",
223-
"icon_path": "./images/icons/rbac.svg"
224+
"icon_path": "./images/icons/rbac.svg",
225+
"state": "enterprise"
224226
},
225227
{
226228
"title": "Configuration",
@@ -250,19 +252,22 @@
250252
"title": "Audit Logs",
251253
"description": "Learn how to use Audit Logs in your Coder deployment",
252254
"path": "./admin/audit-logs.md",
253-
"icon_path": "./images/icons/radar.svg"
255+
"icon_path": "./images/icons/radar.svg",
256+
"state": "enterprise"
254257
},
255258
{
256259
"title": "Quotas",
257260
"description": "Learn how to use Workspace Quotas in Coder",
258261
"path": "./admin/quotas.md",
259-
"icon_path": "./images/icons/dollar.svg"
262+
"icon_path": "./images/icons/dollar.svg",
263+
"state": "enterprise"
260264
},
261265
{
262266
"title": "High Availability",
263267
"description": "Learn how to configure Coder for High Availability",
264268
"path": "./admin/high-availability.md",
265-
"icon_path": "./images/icons/hydra.svg"
269+
"icon_path": "./images/icons/hydra.svg",
270+
"state": "enterprise"
266271
},
267272
{
268273
"title": "Prometheus",
@@ -274,7 +279,8 @@
274279
"title": "Service Banners",
275280
"description": "Learn how to configure Service Banners",
276281
"path": "./admin/service-banners.md",
277-
"icon_path": "./images/icons/info.svg"
282+
"icon_path": "./images/icons/info.svg",
283+
"state": "enterprise"
278284
},
279285
{
280286
"title": "Telemetry",

scripts/apidocgen/postprocess/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ func writeDocs(sections [][]byte) error {
138138
Description string `json:"description,omitempty"`
139139
Path string `json:"path,omitempty"`
140140
IconPath string `json:"icon_path,omitempty"`
141+
State string `json:"state,omitempty"`
141142
Children []route `json:"children,omitempty"`
142143
}
143144

0 commit comments

Comments
 (0)