Skip to content

Commit 40366c1

Browse files
feat: update conf for version 1.x of ansys-sphinx-theme (#1351)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent f316e87 commit 40366c1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
feat: update conf for version 1.x of ansys-sphinx-theme

doc/make.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if "%SPHINXOPTS%" == "" (
1111
set SPHINXOPTS=-j auto -W --color
1212
)
1313
set SOURCEDIR=source
14-
set APIDIR=api
14+
set APIDIR=source\api
1515
set BUILDDIR=_build
1616

1717
if "%1" == "" goto help
@@ -58,7 +58,7 @@ goto end
5858

5959
:clean
6060
rmdir /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
6262
goto end
6363

6464
:help

doc/source/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
ansys_logo_white_cropped,
1313
get_version_match,
1414
latex,
15-
pyansys_logo_black,
1615
watermark,
1716
)
1817
import requests
@@ -124,7 +123,6 @@ def intersphinx_pyansys_geometry(switcher_version: str):
124123
switcher_version = get_version_match(__version__)
125124

126125
# Select desired logo, theme, and declare the html title
127-
html_logo = pyansys_logo_black
128126
html_theme = "ansys_sphinx_theme"
129127
html_short_title = html_title = "PyAnsys Geometry"
130128
html_baseurl = f"https://{cname}/version/stable"
@@ -137,6 +135,7 @@ def intersphinx_pyansys_geometry(switcher_version: str):
137135
"doc_path": "doc/source",
138136
}
139137
html_theme_options = {
138+
"logo": "pyansys",
140139
"switcher": {
141140
"json_url": f"https://{cname}/versions.json",
142141
"version_match": switcher_version,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ tests-minimal = [
7575
"pytest-xvfb==3.0.0",
7676
]
7777
doc = [
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",

0 commit comments

Comments
 (0)