From 4240def31323fe83c2f294dd7f39df906f48693e Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Thu, 10 Jul 2025 10:28:09 -0700 Subject: [PATCH] add perplexity to contextual menu --- docs.json | 21 ++++++++++++++++++++- images/perplexity.svg | 3 +++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 images/perplexity.svg diff --git a/docs.json b/docs.json index 8c54e1cea..f1d89d6b1 100644 --- a/docs.json +++ b/docs.json @@ -343,7 +343,26 @@ "background": "/images/thumbnail/background.svg" }, "contextual": { - "options": ["copy", "view", "chatgpt", "claude"] + "options": [ + "copy", + "view", + "chatgpt", + "claude", + { + "title": "Open in Perplexity", + "description": "Ask questions about this page", + "icon": "/images/perplexity.svg", + "href": { + "base": "https://www.perplexity.ai/search", + "query": [ + { + "key": "q", + "value": "Ask question about https://mintlify.com/docs$path.md" + } + ] + } + } + ] }, "redirects": [ { diff --git a/images/perplexity.svg b/images/perplexity.svg new file mode 100644 index 000000000..c2974c142 --- /dev/null +++ b/images/perplexity.svg @@ -0,0 +1,3 @@ + + +