Skip to content

Commit 4240def

Browse files
committed
add perplexity to contextual menu
1 parent fbdaafc commit 4240def

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

docs.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,26 @@
343343
"background": "/images/thumbnail/background.svg"
344344
},
345345
"contextual": {
346-
"options": ["copy", "view", "chatgpt", "claude"]
346+
"options": [
347+
"copy",
348+
"view",
349+
"chatgpt",
350+
"claude",
351+
{
352+
"title": "Open in Perplexity",
353+
"description": "Ask questions about this page",
354+
"icon": "/images/perplexity.svg",
355+
"href": {
356+
"base": "https://www.perplexity.ai/search",
357+
"query": [
358+
{
359+
"key": "q",
360+
"value": "Ask question about https://mintlify.com/docs$path.md"
361+
}
362+
]
363+
}
364+
}
365+
]
347366
},
348367
"redirects": [
349368
{

images/perplexity.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)