File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 
src/theme/DocItem/Content Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ export default function DocItemContent({ children }) {
2323  const  syntheticTitle  =  useSyntheticTitle ( ) ; 
2424  const  location  =  useLocation ( ) ; 
2525
26-   // Define the allowed API v2  paths that should show LLMButtons (tag/info pages) 
26+   // Define the allowed paths that should show LLMButtons (tag/info pages) 
2727  // The logic is handled here, and also in docusaurus.config.js (see docusaurus-plugin-openapi-docs) 
28-   const  allowedApiV2Paths  =  [ 
28+   const  allowedPaths  =  [ 
2929    '/api/v2/getting-started' , 
3030    '/api/v2/actors' , 
3131    '/api/v2/actors-actor-versions' , 
@@ -49,7 +49,7 @@ export default function DocItemContent({ children }) {
4949    '/platform' , 
5050  ] ; 
5151
52-   const  shouldShowLLMButtons  =  allowedApiV2Paths . some ( ( path )  =>  location . pathname . startsWith ( path ) ) ; 
52+   const  shouldShowLLMButtons  =  allowedPaths . some ( ( path )  =>  location . pathname . startsWith ( path ) ) ; 
5353
5454  return  ( 
5555    < div  className = { clsx ( ThemeClassNames . docs . docMarkdown ,  'markdown' ) } > 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments