Skip to content

Commit 377bc53

Browse files
committedOct 4, 2024
Simplify state arrays in docs manifest.json
Consolidate the "state" arrays for each documentation section to use inline notation, improving readability and maintaining consistency across the configuration. This change ensures a cleaner and more concise JSON structure.
1 parent 5425ecb commit 377bc53

File tree

1 file changed

+15
-56
lines changed

1 file changed

+15
-56
lines changed
 

‎docs/manifest.json

+15-56
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"versions": [
3-
"main"
4-
],
2+
"versions": ["main"],
53
"routes": [
64
{
75
"title": "About",
@@ -186,10 +184,7 @@
186184
"title": "Appearance",
187185
"description": "Learn how to configure the appearance of Coder",
188186
"path": "./admin/setup/appearance.md",
189-
"state": [
190-
"enterprise",
191-
"premium"
192-
]
187+
"state": ["enterprise", "premium"]
193188
},
194189
{
195190
"title": "Telemetry",
@@ -265,33 +260,22 @@
265260
{
266261
"title": "Groups \u0026 Roles",
267262
"path": "./admin/users/groups-roles.md",
268-
"state": [
269-
"enterprise",
270-
"premium"
271-
]
263+
"state": ["enterprise", "premium"]
272264
},
273265
{
274266
"title": "Group Sync",
275267
"path": "./admin/users/group-sync.md",
276-
"state": [
277-
"enterprise",
278-
"premium"
279-
]
268+
"state": ["enterprise", "premium"]
280269
},
281270
{
282271
"title": "Organizations",
283272
"path": "./admin/users/organizations.md",
284-
"state": [
285-
"premium"
286-
]
273+
"state": ["premium"]
287274
},
288275
{
289276
"title": "Quotas",
290277
"path": "./admin/users/quotas.md",
291-
"state": [
292-
"enterprise",
293-
"premium"
294-
]
278+
"state": ["enterprise", "premium"]
295279
},
296280
{
297281
"title": "Sessions \u0026 API Tokens",
@@ -396,21 +380,15 @@
396380
"title": "Process Logging",
397381
"description": "Log workspace processes",
398382
"path": "./admin/templates/extending-templates/process-logging.md",
399-
"state": [
400-
"enterprise",
401-
"premium"
402-
]
383+
"state": ["enterprise", "premium"]
403384
}
404385
]
405386
},
406387
{
407388
"title": "Permissions \u0026 Policies",
408389
"description": "Learn how to create templates with Terraform",
409390
"path": "./admin/templates/template-permissions.md",
410-
"state": [
411-
"enterprise",
412-
"premium"
413-
]
391+
"state": ["enterprise", "premium"]
414392
},
415393
{
416394
"title": "Troubleshooting Templates",
@@ -424,10 +402,7 @@
424402
"description": "Learn how to run external provisioners with Coder",
425403
"path": "./admin/provisioners.md",
426404
"icon_path": "./images/icons/key.svg",
427-
"state": [
428-
"enterprise",
429-
"premium"
430-
]
405+
"state": ["enterprise", "premium"]
431406
},
432407
{
433408
"title": "External Auth",
@@ -498,19 +473,13 @@
498473
"title": "Workspace Proxies",
499474
"description": "Run geo distributed workspace proxies",
500475
"path": "./admin/networking/workspace-proxies.md",
501-
"state": [
502-
"enterprise",
503-
"premium"
504-
]
476+
"state": ["enterprise", "premium"]
505477
},
506478
{
507479
"title": "High Availability",
508480
"description": "Learn how to configure Coder for High Availability",
509481
"path": "./admin/networking/high-availability.md",
510-
"state": [
511-
"enterprise",
512-
"premium"
513-
]
482+
"state": ["enterprise", "premium"]
514483
},
515484
{
516485
"title": "Troubleshooting",
@@ -549,17 +518,13 @@
549518
"title": "Slack Notifications",
550519
"description": "Learn how to setup Slack notifications",
551520
"path": "./admin/monitoring/notifications/slack.md",
552-
"state": [
553-
"beta"
554-
]
521+
"state": ["beta"]
555522
},
556523
{
557524
"title": "Microsoft Teams Notifications",
558525
"description": "Learn how to setup Microsoft Teams notifications",
559526
"path": "./admin/monitoring/notifications/teams.md",
560-
"state": [
561-
"beta"
562-
]
527+
"state": ["beta"]
563528
}
564529
]
565530
}
@@ -575,10 +540,7 @@
575540
"title": "Audit Logs",
576541
"description": "Audit actions taken inside Coder",
577542
"path": "./admin/security/audit-logs.md",
578-
"state": [
579-
"enterprise",
580-
"premium"
581-
]
543+
"state": ["enterprise", "premium"]
582544
},
583545
{
584546
"title": "Secrets",
@@ -589,10 +551,7 @@
589551
"title": "Database Encryption",
590552
"description": "Encrypt the database to prevent unauthorized access",
591553
"path": "./admin/security/database-encryption.md",
592-
"state": [
593-
"enterprise",
594-
"premium"
595-
]
554+
"state": ["enterprise", "premium"]
596555
}
597556
]
598557
},

0 commit comments

Comments
 (0)