From 3391e46cab0e45a1ac68784b3c955ce2d158d874 Mon Sep 17 00:00:00 2001 From: Dominik Gresch Date: Mon, 19 Aug 2024 00:02:37 +0200 Subject: [PATCH] Update conf.py to adapt to new ansys-sphinx-theme (#504) --- doc/source/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 6ba5d1f60..312555382 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -3,7 +3,7 @@ from datetime import datetime import os -from ansys_sphinx_theme import ansys_favicon, get_version_match, pyansys_logo_black +from ansys_sphinx_theme import ansys_favicon, get_version_match import numpy as np import pyvista from pyvista.plotting.utilities.sphinx_gallery import DynamicScraper @@ -28,7 +28,6 @@ release = version = __version__ # Select desired logo, theme, and declare the html title -html_logo = pyansys_logo_black html_favicon = ansys_favicon html_theme = "ansys_sphinx_theme" html_short_title = html_title = "PyDPF Composites" @@ -41,6 +40,7 @@ cname = os.environ.get("DOCUMENTATION_CNAME", "composites.dpf.docs.pyansys.com") html_theme_options = { + "logo": "pyansys", "github_url": "https://github.com/ansys/pydpf-composites", "show_prev_next": False, "show_breadcrumbs": True,