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

Uploaded Source

Built Distribution

sphinx_astropy-1.2-py2.py3-none-any.whl (17.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: sphinx-astropy-1.2.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for sphinx-astropy-1.2.tar.gz
Algorithm Hash digest
SHA256 09718d9a7fae928fcab38f5fcdec0aa352e2bc7934aac164e8397917005e0a7b
MD5 4440afe0e59396715e644cf9d4808c70
BLAKE2b-256 5f7844dbb67aaf22a35e7560677d7eac66bd1c550a85cc312a2251b6d830ff02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinx_astropy-1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for sphinx_astropy-1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 664c22ccc069b9fb2c6d44896f3cb0f9eb613924354a30c0046201a9d28f970c
MD5 8342023a527d8f249bde77c917c2e318
BLAKE2b-256 810787ace85e0fbc095a54e310de08690e448c156012f541b8bdc5c24c231f2f

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