Skip to content

Commit

Permalink
DOCS: Use new ansys-sphinx-theme (#5089)
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys authored Aug 23, 2024
1 parent d54c1d2 commit 175650d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import numpy as np
from sphinx_gallery.sorting import FileNameSortKey
from ansys_sphinx_theme import (ansys_favicon,
get_version_match, pyansys_logo_black,
get_version_match,
watermark,
ansys_logo_white,
ansys_logo_white_cropped, latex)
Expand Down Expand Up @@ -313,7 +313,6 @@ def setup(app):
# -- Options for HTML output -------------------------------------------------
html_short_title = html_title = "PyAEDT"
html_theme = "ansys_sphinx_theme"
html_logo = pyansys_logo_black
html_context = {
"github_user": "ansys",
"github_repo": "pyaedt",
Expand All @@ -323,6 +322,7 @@ def setup(app):

# specify the location of your github repo
html_theme_options = {
"logo": "pyansys",
"github_url": "https://github.com/ansys/pyaedt",
"navigation_with_keys": False,
"show_prev_next": False,
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dotnet = [
"pywin32>=303; platform_system=='Windows'",
]
doc = [
"ansys-sphinx-theme>=0.10.0,<0.17",
"ansys-sphinx-theme>=0.10.0,<1.1",
"ipython>=8.13.0,<8.27",
"joblib>=1.3.0,<1.5",
"jupyterlab>=4.0.0,<4.3",
Expand All @@ -84,7 +84,7 @@ doc = [
"pyvista[io]>=0.38.0,<0.45",
"recommonmark",
"scikit-rf>=0.30.0,<1.3",
"Sphinx>=7.1.0,<7.4",
"Sphinx>=7.1.0,<8.1",
"sphinx-autobuild==2021.3.14; python_version == '3.8'",
"sphinx-autobuild==2024.4.16; python_version > '3.8'",
#"sphinx-autodoc-typehints",
Expand All @@ -97,10 +97,10 @@ doc = [
"utm",
]
doc-no-examples = [
"ansys-sphinx-theme>=0.10.0,<0.17",
"ansys-sphinx-theme>=0.10.0,<1.1",
"numpydoc>=1.5.0,<1.9",
"recommonmark",
"Sphinx>=7.1.0,<7.4",
"Sphinx>=7.1.0,<8.1",
"sphinx-autobuild==2021.3.14; python_version == '3.8'",
"sphinx-autobuild==2024.4.16; python_version > '3.8'",
#"sphinx-autodoc-typehints",
Expand Down

0 comments on commit 175650d

Please sign in to comment.