File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1+ feat: update conf for version 1.x of ansys-sphinx-theme
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if "%SPHINXOPTS%" == "" (
1111	set  SPHINXOPTS = -j auto -W --color
1212)
1313set  SOURCEDIR = source
14- set  APIDIR = api
14+ set  APIDIR = source\ api
1515set  BUILDDIR = _build
1616
1717if  " %1 " ==  " " goto  help
@@ -58,7 +58,7 @@ goto end
5858
5959:clean 
6060rmdir  /s /q %BUILDDIR%  >  /NUL  2 >& 1
61- for  /d /r  %SOURCEDIR%   %%d   in  ( % APIDIR) do @if exist " %%d " rmdir /s /q " %%d " 
61+ rmdir  /s /q  % APIDIR%   >  / NUL   2 >& 1 
6262goto  end
6363
6464:help 
Original file line number Diff line number Diff line change 1212    ansys_logo_white_cropped ,
1313    get_version_match ,
1414    latex ,
15-     pyansys_logo_black ,
1615    watermark ,
1716)
1817import  requests 
@@ -124,7 +123,6 @@ def intersphinx_pyansys_geometry(switcher_version: str):
124123switcher_version  =  get_version_match (__version__ )
125124
126125# Select desired logo, theme, and declare the html title 
127- html_logo  =  pyansys_logo_black 
128126html_theme  =  "ansys_sphinx_theme" 
129127html_short_title  =  html_title  =  "PyAnsys Geometry" 
130128html_baseurl  =  f"https://{ cname }  
@@ -137,6 +135,7 @@ def intersphinx_pyansys_geometry(switcher_version: str):
137135    "doc_path" : "doc/source" ,
138136}
139137html_theme_options  =  {
138+     "logo" : "pyansys" ,
140139    "switcher" : {
141140        "json_url" : f"https://{ cname }  ,
142141        "version_match" : switcher_version ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ tests-minimal = [
7575    " pytest-xvfb==3.0.0" 
7676]
7777doc  = [
78-     " ansys-sphinx-theme[autoapi]==0.16.6 " 
78+     " ansys-sphinx-theme[autoapi]==1.0.3 " 
7979    " ansys-tools-visualization-interface==0.4.0" 
8080    " beartype==0.18.5" 
8181    " docker==7.1.0" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments