From 18555874284d7fa8d4318182e17ccad0e4b35928 Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Wed, 8 Jun 2022 18:03:45 +0530 Subject: [PATCH 1/2] Update theme and dependabot --- .github/dependabot.yml | 13 +++++++++++++ doc/source/conf.py | 10 ++++++++-- requirements/requirements_doc.txt | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..5dffa56a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +version: 2 +updates: + - package-ecosystem: "pip" # See documentation for possible values + directory: "/requirements" # Location of package manifests + insecure-external-code-execution: allow + schedule: + interval: "daily" + labels: + - "Maintenance" + - "Dependencies" + ignore: + - dependency-name: "vtk" + - dependency-name: "grpcio" diff --git a/doc/source/conf.py b/doc/source/conf.py index f0956f95..ab13e45e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -5,8 +5,8 @@ import subprocess import ansys.fluent.core as pyfluent +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 @@ -87,6 +87,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"] @@ -165,7 +171,7 @@ def _stop_fluent_container(gallery_conf, fname): # -- Options for HTML output ------------------------------------------------- html_short_title = html_title = "pyfluent-visualization" -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-visualization", diff --git a/requirements/requirements_doc.txt b/requirements/requirements_doc.txt index 622d9466..3b31f240 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 From c3c1a6b407ef53d784de54f76273493601aa68fa Mon Sep 17 00:00:00 2001 From: Mainak Kundu Date: Wed, 8 Jun 2022 18:30:29 +0530 Subject: [PATCH 2/2] Update theme and dependabot --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index ab13e45e..30553444 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -91,7 +91,7 @@ html_favicon = ansys_favicon # static path -html_static_path = ["_static"] +# html_static_path = ["_static"] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"]