Skip to content

Commit

Permalink
Add thumbnail for example notebook on astropy.units (#138)
Browse files Browse the repository at this point in the history
* Add Astropy logo as thumbnail for units notebook

* Formatting fix
  • Loading branch information
namurphy authored Mar 16, 2023
1 parent c99823e commit b4663d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@
# Use a code highlighting style that meets the WCAG AA contrast standard
pygments_style = "default"

nbsphinx_thumbnails = {
"notebooks/getting_started/units": (
"_static/notebook_images/astropy_logo_notext.png"
), # CC BY-SA
}

# adapted from sphinx-hoverxref conf.py
if os.environ.get("READTHEDOCS"):
# Building on Read the Docs
Expand Down

0 comments on commit b4663d2

Please sign in to comment.