Skip to content

Commit 33fade6

Browse files
fix: update the logo
1 parent c991e28 commit 33fade6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

doc/source/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import pyvista
88
from ansys.dpf.core import __version__, server, server_factory
99
from ansys.dpf.core.examples import get_example_required_minimum_dpf_version
10-
from ansys_sphinx_theme import pyansys_logo_light_mode, ansys_favicon, get_version_match
10+
from ansys_sphinx_theme import ansys_favicon, get_version_match, pyansys_logo_light_mode, pyansys_logo_dark_mode
1111

1212
# Manage errors
1313
pyvista.set_error_output_file("errors.txt")
@@ -194,7 +194,6 @@ def reset_servers(gallery_conf, fname, when):
194194
# -- Options for HTML output -------------------------------------------------
195195
html_short_title = html_title = "PyDPF-Core"
196196
html_theme = "ansys_sphinx_theme"
197-
html_logo = pyansys_logo_light_mode
198197
html_favicon = ansys_favicon
199198
html_theme_options = {
200199
"github_url": "https://github.com/ansys/pydpf-core",
@@ -203,6 +202,10 @@ def reset_servers(gallery_conf, fname, when):
203202
"additional_breadcrumbs": [
204203
("PyAnsys", "https://docs.pyansys.com/"),
205204
],
205+
"logo" : {
206+
"image_dark": pyansys_logo_dark_mode,
207+
"image_light": pyansys_logo_light_mode,
208+
},
206209
"switcher": {
207210
"json_url": f"https://{cname}/versions.json",
208211
"version_match": get_version_match(__version__),

requirements/requirements_docs.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
ansys-sphinx-theme[autoapi]==1.0.8
12
enum-tools[sphinx]==0.12.0
23
graphviz==0.20.1
34
imageio==2.34.1
45
imageio-ffmpeg==0.4.7
56
nbsphinx==0.9.3
7+
numpydoc==1.8.0
68
pypandoc==1.13
79
pytest-sphinx==0.6.3
810
pyvista==0.44.1
@@ -14,5 +16,3 @@ sphinx-notfound-page==1.0.0
1416
sphinx-reredirects==0.1.3
1517
sphinx_design==0.6.1
1618
sphinxcontrib-napoleon==0.7
17-
ansys-sphinx-theme[autoapi]==1.0.8
18-
numpydoc==1.8.0

0 commit comments

Comments
 (0)