Skip to main content

Sphinx extensions and configuration specific to the Astropy project

Project description

This package serves two purposes: it provides a default Sphinx configuration and set of extensions specific to the Astropy project, and it acts as a meta-package by installing all required Sphinx extensions for the core Astropy package and other packages.

Sphinx configuration

The default Sphinx configuration can be imported by putting:

from sphinx_astropy.conf import *

at the top of your conf.py file. You can then override specific settings from this default configuration, such as adding extensions or intersphinx packages. To give a clearer error messages for users, you can instead write:

try:
    from sphinx_astropy.conf import *
except ImportError:
    print('ERROR: the documentation requires the sphinx-astropy package to be installed')
    sys.exit(1)

Dependencies/extensions

Installing sphinx-astropy will automatically install (if not already present):

  • Sphinx

  • astropy-sphinx-theme - the default ‘bootstrap’ theme use by Astropy and a number of affilited packages.

  • sphinx-automodapi - an extension that makes it easy to automatically generate API documentation.

  • sphinx-gallery - an extension to generate example galleries

  • numpydoc - an extension to parse docstrings in NumpyDoc format

  • pillow - a package to deal with images, used by some examples in the astropy core documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx-astropy-1.4.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

sphinx_astropy-1.4-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file sphinx-astropy-1.4.tar.gz.

File metadata

  • Download URL: sphinx-astropy-1.4.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for sphinx-astropy-1.4.tar.gz
Algorithm Hash digest
SHA256 aaaef98cdd340b6f63eef0d2723a26115b1be3e86837fd4674f319ef0c5682fe
MD5 e2b919d5399c3c9fa0b0db43af5f4470
BLAKE2b-256 7b9388b1d5f4550d1e3bb00ad03aac981eced880f752875746af261daad28337

See more details on using hashes here.

File details

Details for the file sphinx_astropy-1.4-py3-none-any.whl.

File metadata

  • Download URL: sphinx_astropy-1.4-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for sphinx_astropy-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 648bc665a83c4e12f3591b61bd90cb3516e49d6da027cbf3fb73e6362df84b36
MD5 7e0b2a6757e58a6e230b5db470a4546f
BLAKE2b-256 0d1abfd9d4b469da03238bc6825dd85e54c239ba1bd8168138d0e9ad148e9349

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page