Skip to content

Commit

Permalink
Merge pull request #7187 from meeseeksmachine/auto-backport-of-pr-718…
Browse files Browse the repository at this point in the history
…3-on-5.0
  • Loading branch information
nabobalis committed Sep 9, 2023
2 parents 7c32446 + 0fce819 commit d6924f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
from sunpy.util.exceptions import SunpyDeprecationWarning, SunpyPendingDeprecationWarning # NOQA
from matplotlib import MatplotlibDeprecationWarning # NOQA
from astropy.utils.exceptions import AstropyDeprecationWarning # NOQA
from sunpy_sphinx_theme import PNG_ICON # NOQA

# -- Project information -------------------------------------------------------
project = 'SunPy'
project = 'sunpy'
author = 'The SunPy Community'
copyright = f'{datetime.datetime.now().year}, {author}'

Expand Down Expand Up @@ -235,16 +236,15 @@
# Roles within the std domain
"confval": "tooltip",
"hoverxref": "tooltip",
"ref": "tooltip", # Would be used by hoverxref_auto_ref if we set it to True
"ref": "tooltip", # Would be used by hoverxref_auto_ref if we set it to True
"term": "tooltip",
}

# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.

from sunpy_sphinx_theme.conf import * # NOQA
from sunpy_sphinx_theme.conf import png_icon # NOQA
html_theme = "sunpy"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down Expand Up @@ -287,7 +287,7 @@
'gallery_dirs': os.path.join('generated', 'gallery'),
'matplotlib_animations': True,
# Comes from the theme.
"default_thumb_file": png_icon,
"default_thumb_file": PNG_ICON,
'abort_on_example_error': False,
'plot_gallery': 'True',
'remove_config_comments': True,
Expand Down
3 changes: 0 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
sunpy core Documentation
************************

.. image:: tour.svg
:align: center

``sunpy`` is a community-developed, free and open-source solar data analysis environment for Python.
It includes an interface for searching and downloading data from multiple data providers, data containers for image and time series data, commonly used solar coordinate frames and associated transformations, as well as other functionality needed for solar data analysis.

Expand Down
1 change: 0 additions & 1 deletion docs/tour.svg

This file was deleted.

2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ docs =
sphinx-design
sphinx-gallery>=0.13.0 # First to allow us to use a different backend while scraping the images
sphinxext-opengraph
sunpy-sphinx-theme
sunpy-sphinx-theme>=2.0.0rc1
sphinx-hoverxref
dev =
%(all)s
Expand Down

0 comments on commit d6924f4

Please sign in to comment.