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.

CircleCI Status

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.1.1.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

sphinx_astropy-1.1.1-py2.py3-none-any.whl (17.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: sphinx-astropy-1.1.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for sphinx-astropy-1.1.1.tar.gz
Algorithm Hash digest
SHA256 82721cae68d2e58f7ed173c8ce20d36fd25e1d0cc5502e5ff6cc79a24a50229c
MD5 f8b02a7fa6cd89b933507b8b9bcbe8ef
BLAKE2b-256 c82151821d9513237c5305ab796f8556d17f28a3f955116d719bfcdaffbcc5a9

See more details on using hashes here.

File details

Details for the file sphinx_astropy-1.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: sphinx_astropy-1.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for sphinx_astropy-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 30e651f9205593a23c554c9f2206d4945b07e9512665b6d04f2fa09b57ef4d1f
MD5 e758751804c3b7b77a55c2d4047768d8
BLAKE2b-256 fc3c4824b02da202ae179c3cd2b5e295aba7d3bcb8cad7fc7f347c5315bc37cf

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