Skip to content

Commit

Permalink
Update sphinx config
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybradley committed Sep 19, 2023
1 parent d3cd3b9 commit 6598f27
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns.append('_templates') # noqa: F405
# exclude_patterns.append('_templates')

plot_formats = ['png', 'hires.png', 'pdf', 'svg']

Expand All @@ -66,9 +66,9 @@
author = project_meta['authors'][0]['name']
copyright = f'2015-{datetime.utcnow().year}, {author}'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
# The version info for the project you're documenting, acts as
# replacement for |version| and |release|, also used in various other
# places throughout the built documents.
__import__(project)
package = sys.modules[project]

Expand All @@ -79,11 +79,11 @@

# -- Options for HTML output --------------------------------------------------
# The global astropy configuration uses a custom theme,
# 'bootstrap-astropy', which is installed along with astropy. A different
# theme can be used or the options for this theme can be modified by
# overriding some of the variables set in the global configuration. The
# variables set in the global configuration are listed below, commented
# out.
# 'bootstrap-astropy', which is installed along with astropy. A
# different theme can be used or the options for this theme can be
# modified by overriding some of the variables set in the global
# configuration. The variables set in the global configuration are
# listed below, commented out.

# Add any paths that contain custom themes here, relative to this
# directory.
Expand All @@ -110,8 +110,8 @@
# html_logo = ''

# The name of an image file (within the static path) to use as favicon
# of the docs. This file should be a Windows icon file (.ico) being 16x16
# or 32x32 pixels large.
# of the docs. This file should be a Windows icon file (.ico) being
# 16x16 or 32x32 pixels large.
# html_favicon = ''

# A "Last built" timestamp is inserted at every page bottom, using the
Expand Down Expand Up @@ -177,7 +177,6 @@
linkcheck_ignore = ['http://data.astropy.org',
r'https://github\.com/astropy/regions/(?:issues|pull)/\d+']
linkcheck_timeout = 180
linkcheck_anchors = False

# -- Matplotlib plot defaults -------------------------------------------------
plot_rcparams = {'savefig.bbox': 'tight',
Expand All @@ -189,5 +188,4 @@
'figure.titlesize': 11,
'figure.subplot.wspace': 0.23,
'figure.subplot.hspace': 0.23}

plot_apply_rcparams = True

0 comments on commit 6598f27

Please sign in to comment.