diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css new file mode 100644 index 0000000000..a19561fb83 --- /dev/null +++ b/doc/source/_static/custom.css @@ -0,0 +1,6 @@ +@import "../ansys-sphinx-theme.css"; + +.sphx-glr-thumbcontainer img { + max-height: 100% !important; + max-width: 100% !important; +} diff --git a/doc/source/_static/gallery_thumbnails/sphx_glr_001-materials_thumb.png b/doc/source/_static/gallery_thumbnails/sphx_glr_001-materials_thumb.png index 6c2fa014dc..34d15397db 100644 Binary files a/doc/source/_static/gallery_thumbnails/sphx_glr_001-materials_thumb.png and b/doc/source/_static/gallery_thumbnails/sphx_glr_001-materials_thumb.png differ diff --git a/doc/source/_static/gallery_thumbnails/sphx_glr_03-pymechanical-shell-workflow_thumb.png b/doc/source/_static/gallery_thumbnails/sphx_glr_03-pymechanical-shell-workflow_thumb.png index 6ff574b0c6..a9ac41ec8a 100644 Binary files a/doc/source/_static/gallery_thumbnails/sphx_glr_03-pymechanical-shell-workflow_thumb.png and b/doc/source/_static/gallery_thumbnails/sphx_glr_03-pymechanical-shell-workflow_thumb.png differ diff --git a/doc/source/_static/gallery_thumbnails/sphx_glr_04-pymechanical-solid-workflow_thumb.png b/doc/source/_static/gallery_thumbnails/sphx_glr_04-pymechanical-solid-workflow_thumb.png index 418dab84b6..1e87c89701 100644 Binary files a/doc/source/_static/gallery_thumbnails/sphx_glr_04-pymechanical-solid-workflow_thumb.png and b/doc/source/_static/gallery_thumbnails/sphx_glr_04-pymechanical-solid-workflow_thumb.png differ diff --git a/doc/source/_static/gallery_thumbnails/sphx_glr_05-pymechanical-to-cdb-workflow_thumb.png b/doc/source/_static/gallery_thumbnails/sphx_glr_05-pymechanical-to-cdb-workflow_thumb.png index 9816156d7b..0bc6489c30 100644 Binary files a/doc/source/_static/gallery_thumbnails/sphx_glr_05-pymechanical-to-cdb-workflow_thumb.png and b/doc/source/_static/gallery_thumbnails/sphx_glr_05-pymechanical-to-cdb-workflow_thumb.png differ diff --git a/doc/source/_static/gallery_thumbnails/sphx_glr_06-cdb-to-pymechanical-workflow_thumb.png b/doc/source/_static/gallery_thumbnails/sphx_glr_06-cdb-to-pymechanical-workflow_thumb.png index 128e7340fe..140fb6a0d8 100644 Binary files a/doc/source/_static/gallery_thumbnails/sphx_glr_06-cdb-to-pymechanical-workflow_thumb.png and b/doc/source/_static/gallery_thumbnails/sphx_glr_06-cdb-to-pymechanical-workflow_thumb.png differ diff --git a/doc/source/conf.py b/doc/source/conf.py index ef8f70dc0c..0d1d437d39 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -308,7 +308,7 @@ def _signature( "exclude_implicit_doc": {"ansys\\.acp\\.core\\._.*"}, # ignore private submodules "image_scrapers": (DynamicScraper(), "matplotlib"), "ignore_pattern": r"__init__\.py", - "thumbnail_size": (350, 350), + "thumbnail_size": (320, 240), "remove_config_comments": True, } @@ -318,6 +318,10 @@ def _signature( # static path html_static_path = ["_static"] +# Custom CSS files +# These paths are either relative to html_static_path or fully qualified paths (eg. https://...) +html_css_files = ["custom.css"] + # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"]