diff --git a/doc/source/conf.py b/doc/source/conf.py index ab998827bff..7264035a6ec 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -4,8 +4,8 @@ import platform import subprocess +from ansys_sphinx_theme import ansys_favicon, pyansys_logo_black import numpy as np -from pyansys_sphinx_theme import pyansys_logo_black import pyvista from sphinx_gallery.sorting import FileNameSortKey @@ -88,6 +88,12 @@ # type, unless multiple values are being returned" } +# Favicon +html_favicon = ansys_favicon + +# static path +html_static_path = ["_static"] + # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] @@ -166,7 +172,7 @@ def _stop_fluent_container(gallery_conf, fname): # -- Options for HTML output ------------------------------------------------- html_short_title = html_title = "PyFluent" -html_theme = "pyansys_sphinx_theme" +html_theme = "ansys_sphinx_theme" html_logo = pyansys_logo_black html_theme_options = { "github_url": "https://github.com/pyansys/pyfluent", diff --git a/requirements/requirements_doc.txt b/requirements/requirements_doc.txt index 622d9466c24..3b31f24064d 100644 --- a/requirements/requirements_doc.txt +++ b/requirements/requirements_doc.txt @@ -1,7 +1,7 @@ Sphinx==4.4.0 jupyter_sphinx==0.3.2 numpydoc==1.2 -pyansys_sphinx_theme==0.2.3 +ansys-sphinx-theme==0.4.0 pypandoc==1.7.2 pytest-sphinx==0.3.1 sphinx-autobuild==2021.3.14