Skip to content

Commit

Permalink
Use ansys-sphinx-theme (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkundu1 authored Jun 8, 2022
1 parent 9758cab commit dc1abda
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"]

Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements_doc.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit dc1abda

Please sign in to comment.