From e00097d2bb0d79e0b8b10cd43e56b37fc31593fa Mon Sep 17 00:00:00 2001 From: Camille <78221213+clatapie@users.noreply.github.com> Date: Mon, 11 Mar 2024 18:09:45 +0100 Subject: [PATCH 1/2] maint: `conf.py` --- doc/source/conf.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 9c0d1e3481..3c8afdb7dd 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -4,7 +4,12 @@ import os import warnings -from ansys_sphinx_theme import ansys_favicon, get_version_match, pyansys_logo_white +from ansys_sphinx_theme import ( + ansys_favicon, + get_version_match, + pyansys_logo_black, + pyansys_logo_white, +) import numpy as np import pyvista from sphinx.application import Sphinx @@ -45,7 +50,7 @@ # -- Project information ----------------------------------------------------- -project = "ansys.mapdl.core" +project = "ansys-mapdl-core" copyright = f"(c) {datetime.now().year} ANSYS, Inc. All rights reserved" author = "ANSYS Inc." @@ -83,7 +88,6 @@ "sphinx.ext.graphviz", "sphinx_reredirects", "ansys_sphinx_theme.extension.linkcode", - "sphinx_design", ] # Intersphinx mapping @@ -259,7 +263,7 @@ # -- Options for HTML output ------------------------------------------------- html_short_title = html_title = "PyMAPDL" html_theme = "ansys_sphinx_theme" -html_logo = "./_static/pyansys-logo-black-cropped.png" # pyansys_logo_black +html_logo = pyansys_logo_black html_theme_options = { "analytics": {"google_analytics_id": "G-JQJKPV6ZVB"}, "github_url": f"https://github.com/{USERNAME}/{REPOSITORY_NAME}", @@ -287,6 +291,7 @@ "json_url": f"https://{cname}/versions.json", "version_match": get_version_match(__version__), }, + "check_switcher": False, "use_meilisearch": { "api_key": os.getenv("MEILISEARCH_PUBLIC_API_KEY", ""), "index_uids": { From aeae94aedd727627aff8b6e8035a123c31f8d6c1 Mon Sep 17 00:00:00 2001 From: Camille <78221213+clatapie@users.noreply.github.com> Date: Wed, 13 Mar 2024 09:46:11 +0100 Subject: [PATCH 2/2] maint: removing `check_switcher` --- doc/source/conf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 3c8afdb7dd..14c62d0aad 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -291,7 +291,6 @@ "json_url": f"https://{cname}/versions.json", "version_match": get_version_match(__version__), }, - "check_switcher": False, "use_meilisearch": { "api_key": os.getenv("MEILISEARCH_PUBLIC_API_KEY", ""), "index_uids": {