Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update conf.py to adapt to new ansys-sphinx-theme #504

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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,
Expand Down
Loading