Skip to content

Commit

Permalink
Merge 53858e1 into e9a49eb
Browse files Browse the repository at this point in the history
  • Loading branch information
liamhuber committed Jan 17, 2024
2 parents e9a49eb + 53858e1 commit b1ba412
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Binary file added docs/_static/pyiron-logo-dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
extensions = [
'myst_parser',
'nbsphinx',
'sphinx_gallery.load_style',
'sphinx.ext.mathjax',
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
Expand All @@ -47,6 +48,10 @@
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

nbsphinx_thumbnails = {
'source/notebooks/example': "_static/pyiron-logo-dark.png",
}

# The suffix of source filenames.
source_suffix = '.rst'

Expand Down
4 changes: 3 additions & 1 deletion notebooks/version.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"source": [
"# Demo notebook\n",
"\n",
"In the standard setup, this notebook gets included in both the docs and the tests"
"In the standard setup, this notebook gets included in both the docs and the tests.\n",
"\n",
"In the notebook gallery in the docs, most notebooks will use their last image as their thumbnail; this notebook specifies usage of the pyiron logo in `docs/conf.py` under the `nbsphinx_thumbnails` dictionary."
]
},
{
Expand Down

0 comments on commit b1ba412

Please sign in to comment.