File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1313
1414import  sys , os 
1515
16+ ### DPVC -- from https://about.readthedocs.com/blog/2024/07/addons-by-default/ 
17+ # Define the canonical URL if you are using a custom domain on Read the Docs 
18+ html_baseurl  =  os .environ .get ("READTHEDOCS_CANONICAL_URL" , "" )
19+ 
20+ # Tell Jinja2 templates the build is running on Read the Docs 
21+ if  os .environ .get ("READTHEDOCS" , "" ) ==  "True" :
22+     if  "html_context"  not  in globals ():
23+         html_context  =  {}
24+     html_context ["READTHEDOCS" ] =  True 
25+ ### /DPVC 
26+ 
1627# If extensions (or modules to document with autodoc) are in another directory, 
1728# add these directories to sys.path here. If the directory is relative to the 
1829# documentation root, use os.path.abspath to make it absolute, like shown here. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments