From d8035b4160b6cb2adb81674318aaf376ee1619df Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Mon, 9 Jun 2025 07:33:59 +0100 Subject: [PATCH] Enable docs AI contextual menu --- docs/docs.json | 62 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 50 insertions(+), 12 deletions(-) diff --git a/docs/docs.json b/docs/docs.json index 12916eccbf..6937c3e28a 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -9,6 +9,13 @@ "dark": "#A8FF53" }, "favicon": "/images/favicon.png", + "contextual": { + "options": [ + "copy", + "view", + "claude" + ] + }, "navigation": { "dropdowns": [ { @@ -32,7 +39,11 @@ "pages": [ { "group": "Tasks", - "pages": ["tasks/overview", "tasks/schemaTask", "tasks/scheduled"] + "pages": [ + "tasks/overview", + "tasks/schemaTask", + "tasks/scheduled" + ] }, "triggering", "runs", @@ -47,7 +58,12 @@ "errors-retrying", { "group": "Wait", - "pages": ["wait", "wait-for", "wait-until", "wait-for-token"] + "pages": [ + "wait", + "wait-for", + "wait-until", + "wait-for-token" + ] }, "queue-concurrency", "versioning", @@ -92,7 +108,9 @@ }, { "group": "Development", - "pages": ["cli-dev"] + "pages": [ + "cli-dev" + ] }, { "group": "Deployment", @@ -104,7 +122,9 @@ "deployment/atomic-deployment", { "group": "Deployment integrations", - "pages": ["vercel-integration"] + "pages": [ + "vercel-integration" + ] } ] }, @@ -156,7 +176,12 @@ }, { "group": "Using the Dashboard", - "pages": ["run-tests", "troubleshooting-alerts", "replaying", "bulk-actions"] + "pages": [ + "run-tests", + "troubleshooting-alerts", + "replaying", + "bulk-actions" + ] }, { "group": "Troubleshooting", @@ -164,7 +189,6 @@ "troubleshooting", "troubleshooting-debugging-in-vscode", "upgrading-packages", - "troubleshooting-uptime-status", "troubleshooting-github-issues", "request-feature" @@ -182,7 +206,11 @@ }, { "group": "Help", - "pages": ["community", "help-slack", "help-email"] + "pages": [ + "community", + "help-slack", + "help-email" + ] } ] }, @@ -203,7 +231,10 @@ }, { "group": "Tasks API", - "pages": ["management/tasks/trigger", "management/tasks/batch-trigger"] + "pages": [ + "management/tasks/trigger", + "management/tasks/batch-trigger" + ] }, { "group": "Runs API", @@ -249,7 +280,9 @@ "groups": [ { "group": "Introduction", - "pages": ["guides/introduction"] + "pages": [ + "guides/introduction" + ] }, { "group": "Frameworks", @@ -362,7 +395,9 @@ }, { "group": "Migration guides", - "pages": ["migration-mergent"] + "pages": [ + "migration-mergent" + ] }, { "group": "Community packages", @@ -383,7 +418,10 @@ "href": "https://trigger.dev" }, "api": { - "openapi": ["openapi.yml", "v3-openapi.yaml"], + "openapi": [ + "openapi.yml", + "v3-openapi.yaml" + ], "playground": { "display": "simple" } @@ -558,4 +596,4 @@ "destination": "/management/overview" } ] -} +} \ No newline at end of file