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

Fix/logo link #75

Merged
merged 7 commits into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions .github/workflows/testing-and-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:

- name: Install XVFB
run: |
sudo apt update
sudo apt-get install libgl1-mesa-glx xvfb
pip install pyvista
xvfb-run python -c "import pyvista; print(pyvista.Report())"
Expand Down Expand Up @@ -167,6 +168,7 @@ jobs:
- name: Install XVFB on Linux
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt update
sudo apt-get install libgl1-mesa-glx xvfb
xvfb-run python -c "import pyvista; print(pyvista.Report())"

Expand Down
Binary file added doc/source/_static/pyansys-logo-black-cropped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 7 additions & 5 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from sphinx_gallery.sorting import FileNameSortKey
import warnings
import os

Expand All @@ -15,7 +16,8 @@
# pyvista.set_plot_theme('document')
pyvista.global_theme.window_size = (1024, 768)
# Save figures in specified directory
pyvista.FIGURE_PATH = os.path.join(os.path.abspath('./images/'), 'auto-generated/')
pyvista.FIGURE_PATH = os.path.join(
os.path.abspath('./images/'), 'auto-generated/')
if not os.path.exists(pyvista.FIGURE_PATH):
os.makedirs(pyvista.FIGURE_PATH)

Expand Down Expand Up @@ -99,7 +101,6 @@


# -- Sphinx Gallery Options
from sphinx_gallery.sorting import FileNameSortKey

sphinx_gallery_conf = {
'pypandoc': True, # convert rst to md for ipynb
Expand Down Expand Up @@ -134,12 +135,13 @@
}



# -- Options for HTML output -------------------------------------------------
html_theme = 'pyansys_sphinx_theme'
html_logo = 'https://docs.pyansys.com/_static/pyansys-logo-black-cropped.png'
html_logo = os.path.join("_static", "pyansys-logo-black-cropped.png")
html_theme_options = {
"github_url": "https://github.com/pyansys/PyMAPDL",
"github_url": "https://github.com/pyansys/pymapdl-reader",
"show_prev_next": False,
"logo_link": "https://readerdocs.pyansys.com/" # navigate to the main page
}

# -- Options for HTMLHelp output ------------------------------------------
Expand Down