From 4e4572a43aec408ebde58d6cb59aa108701a0a67 Mon Sep 17 00:00:00 2001 From: Hari Date: Tue, 24 Feb 2026 20:13:02 +0530 Subject: [PATCH] feat: Add contextual page viewing and AI chat options --- docs.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/docs.json b/docs.json index 31a666c..2146bc7 100644 --- a/docs.json +++ b/docs.json @@ -156,6 +156,40 @@ } ] }, + "contextual": { + "options": [ + { + "title": "Ask ChatGPT", + "description": "Ask ChatGPT about this page", + "icon": "message", + "href": { + "base": "https://chatgpt.com/", + "query": [ + { + "key": "q", + "value": "Here is some documentation. Answer any questions I have about it: $page" + } + ] + } + }, + { + "title": "Ask Claude", + "description": "Ask Claude about this page", + "icon": "message", + "href": { + "base": "https://claude.ai/new", + "query": [ + { + "key": "q", + "value": "Here is some documentation. Answer any questions I have about it: $page" + } + ] + } + }, + "perplexity", + "copy" + ] + }, "footer": { "socials": { "x": "https://x.com/potpiedotai",