File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 141141              {
142142                "group" : " Model Context Protocol" 
143143                "icon" : " server" 
144-                 "pages" : [
145-                   " advanced/mcp/quickstart" 
146-                   " advanced/mcp/generate" 
147-                 ]
144+                 "pages" : [" advanced/mcp/quickstart" " advanced/mcp/generate" 
148145              },
149146              {
150147                "group" : " REST API" 
373370    "koala" : {
374371      "publicApiKey" : " pk_76a6caa274e800f3ceff0b2bc6b9b9d82ab8" 
375372    }
373+   },
374+   "contextual" : {
375+     "options" : [" copy" " view" " chatgpt" " claude" 
376376  }
377377}
Original file line number Diff line number Diff line change @@ -446,6 +446,20 @@ Every documentation site requires a `docs.json` file that contains the core conf
446446  </Expandable >
447447</ResponseField >
448448
449+ <ResponseField  name = " contextual" type = " object" 
450+   <Expandable  title = " Contextual" 
451+     <ResponseField  name = " options" type = " ('copy' | 'view' | 'chatgpt' | 'claude')[]" required >
452+       The options to be displayed in the contextual menu. The first option is the default option.
453+       - ` copy ` : Copy the current page as markdown to the clipboard
454+       - ` view ` : View the current page as markdown in a new tab
455+       - ` chatgpt ` : Feed the current page to ChatGPT
456+       - ` claude ` : Feed the current page to Claude
457+ 
458+       <img  src = " /images/page-context-menu.png" alt = " Contextual Menu" className = " rounded-xl" 
459+     </ResponseField >
460+   </Expandable >
461+ </ResponseField >
462+ 
449463### API Configurations  
450464
451465<ResponseField  name = " api" type = " object" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments