From 99b993df456b70c81700f358a0506a8dbdb0345a Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Tue, 1 Oct 2024 17:55:46 +0000 Subject: [PATCH 1/2] Refactor manifest JSON formatting for consistency This change enhances the readability and maintainability of the `manifest.json` by ensuring consistent formatting across the JSON objects. --- docs/manifest.json | 66 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 52 insertions(+), 14 deletions(-) diff --git a/docs/manifest.json b/docs/manifest.json index 490ebafffd09f..11548fd3a0046 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -1,5 +1,7 @@ { - "versions": ["main"], + "versions": [ + "main" + ], "routes": [ { "title": "About", @@ -282,7 +284,10 @@ "title": "Process Logging", "description": "Audit commands in workspaces with exectrace", "path": "./templates/process-logging.md", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "Icons", @@ -393,21 +398,29 @@ "description": "Learn how to manage user groups", "path": "./admin/groups.md", "icon_path": "./images/icons/group.svg", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "Organizations", "description": "Learn how to manage organizations", "path": "./admin/organizations.md", "icon_path": "./images/icons/orgs.svg", - "state": ["enterprise", "premium"] + "state": [ + "premium" + ] }, { "title": "Template RBAC", "description": "Learn how to use the role based access control against templates", "path": "./admin/rbac.md", "icon_path": "./images/icons/rbac.svg", - "state": ["enterprise", "beta"] + "state": [ + "enterprise", + "beta" + ] }, { "title": "Configuration", @@ -450,14 +463,20 @@ "description": "Run provisioners isolated from the Coder server", "path": "./admin/provisioners.md", "icon_path": "./images/icons/queue.svg", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "Workspace Proxies", "description": "Run geo distributed workspace proxies", "path": "./admin/workspace-proxies.md", "icon_path": "./images/icons/networking.svg", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "Application Logs", @@ -470,21 +489,30 @@ "description": "Learn how to use Audit Logs in your Coder deployment", "path": "./admin/audit-logs.md", "icon_path": "./images/icons/radar.svg", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "Quotas", "description": "Learn how to use Workspace Quotas in Coder", "path": "./admin/quotas.md", "icon_path": "./images/icons/dollar.svg", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "High Availability", "description": "Learn how to configure Coder for High Availability", "path": "./admin/high-availability.md", "icon_path": "./images/icons/hydra.svg", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "Prometheus", @@ -497,7 +525,10 @@ "description": "Learn how to configure the appearance of Coder", "path": "./admin/appearance.md", "icon_path": "./images/icons/info.svg", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "Telemetry", @@ -510,7 +541,10 @@ "description": "Learn how to encrypt sensitive data at rest in Coder", "path": "./admin/encryption.md", "icon_path": "./images/icons/lock.svg", - "state": ["enterprise", "premium"] + "state": [ + "enterprise", + "premium" + ] }, { "title": "Deployment Health", @@ -528,13 +562,17 @@ "title": "Slack Notifications", "description": "Learn how to setup Slack notifications", "path": "./admin/notifications/slack.md", - "state": ["beta"] + "state": [ + "beta" + ] }, { "title": "Microsoft Teams Notifications", "description": "Learn how to setup Microsoft Teams notifications", "path": "./admin/notifications/teams.md", - "state": ["beta"] + "state": [ + "beta" + ] } ] } From 62a3318f87cf6707854dc3392aea6ca162b52281 Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Tue, 1 Oct 2024 17:56:25 +0000 Subject: [PATCH 2/2] fmt --- docs/manifest.json | 66 ++++++++++------------------------------------ 1 file changed, 14 insertions(+), 52 deletions(-) diff --git a/docs/manifest.json b/docs/manifest.json index 11548fd3a0046..7db5fc142191d 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -1,7 +1,5 @@ { - "versions": [ - "main" - ], + "versions": ["main"], "routes": [ { "title": "About", @@ -284,10 +282,7 @@ "title": "Process Logging", "description": "Audit commands in workspaces with exectrace", "path": "./templates/process-logging.md", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "Icons", @@ -398,29 +393,21 @@ "description": "Learn how to manage user groups", "path": "./admin/groups.md", "icon_path": "./images/icons/group.svg", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "Organizations", "description": "Learn how to manage organizations", "path": "./admin/organizations.md", "icon_path": "./images/icons/orgs.svg", - "state": [ - "premium" - ] + "state": ["premium"] }, { "title": "Template RBAC", "description": "Learn how to use the role based access control against templates", "path": "./admin/rbac.md", "icon_path": "./images/icons/rbac.svg", - "state": [ - "enterprise", - "beta" - ] + "state": ["enterprise", "beta"] }, { "title": "Configuration", @@ -463,20 +450,14 @@ "description": "Run provisioners isolated from the Coder server", "path": "./admin/provisioners.md", "icon_path": "./images/icons/queue.svg", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "Workspace Proxies", "description": "Run geo distributed workspace proxies", "path": "./admin/workspace-proxies.md", "icon_path": "./images/icons/networking.svg", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "Application Logs", @@ -489,30 +470,21 @@ "description": "Learn how to use Audit Logs in your Coder deployment", "path": "./admin/audit-logs.md", "icon_path": "./images/icons/radar.svg", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "Quotas", "description": "Learn how to use Workspace Quotas in Coder", "path": "./admin/quotas.md", "icon_path": "./images/icons/dollar.svg", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "High Availability", "description": "Learn how to configure Coder for High Availability", "path": "./admin/high-availability.md", "icon_path": "./images/icons/hydra.svg", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "Prometheus", @@ -525,10 +497,7 @@ "description": "Learn how to configure the appearance of Coder", "path": "./admin/appearance.md", "icon_path": "./images/icons/info.svg", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "Telemetry", @@ -541,10 +510,7 @@ "description": "Learn how to encrypt sensitive data at rest in Coder", "path": "./admin/encryption.md", "icon_path": "./images/icons/lock.svg", - "state": [ - "enterprise", - "premium" - ] + "state": ["enterprise", "premium"] }, { "title": "Deployment Health", @@ -562,17 +528,13 @@ "title": "Slack Notifications", "description": "Learn how to setup Slack notifications", "path": "./admin/notifications/slack.md", - "state": [ - "beta" - ] + "state": ["beta"] }, { "title": "Microsoft Teams Notifications", "description": "Learn how to setup Microsoft Teams notifications", "path": "./admin/notifications/teams.md", - "state": [ - "beta" - ] + "state": ["beta"] } ] }