Skip to main content

Astropy Sphinx Theme(s)

Zenodo DOI

This is the repository for the default Astropy project documentation theme(s). To use this theme, simply install this package then add the following line to your documentation’s conf.py file:

html_theme = 'bootstrap-astropy'

This requires Sphinx 1.6 or later to work properly. For older versions of Sphinx, you will need to do:

import astropy_sphinx_theme
html_theme_path = astropy_sphinx_theme.get_html_theme_path()
html_theme = 'bootstrap-astropy'

bootstrap-astropy is the only theme that is currently available, but the structure of the package allows more themes to be added in future if needed.

Several options for the theme can be set in the conf.py file:

html_theme_options = {
    'logotext1': 'packagename',  # white,  semi-bold
    'logotext2': '',  # orange, light
    'logotext3': ':docs',   # white,  light
    'astropy_project_menubar': True
    }

The logotext? options can be used to customize the top left logo, while the astropy_project_menubar option can be set to True for packages that are managed by the project itself (this will add links to find out more about the Astropy project, about the team, and so on).

https://circleci.com/gh/astropy/astropy-sphinx-theme/tree/main.svg?style=svg

Metadata

Release files for astropy-sphinx-theme 3.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astropy-sphinx-theme 3.3.1
File Size Uploaded
astropy_sphinx_theme-3.3.1.tar.gz 55.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for astropy-sphinx-theme 3.3.1
File Interpreter ABI Platform
astropy_sphinx_theme-3.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 102.0 kB

Release files / astropy_sphinx_theme-3.3.1.tar.gz

Download URL astropy_sphinx_theme-3.3.1.tar.gz
Size 55.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9894e7616f3e467f41550cec8d2be12559d902c8e3f0c0114a2c08f912c17f68
BLAKE2b-256 checksum
How to use checksums
b52b539a6a5b2d793af17fc1aeed5dd3d52dff6321c17fcbcdccfa9b93c5db78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / astropy_sphinx_theme-3.3.1-py3-none-any.whl

Download URL astropy_sphinx_theme-3.3.1-py3-none-any.whl
Size 46.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2ca2f637866a969e8f2ef2b0beb6d6cac0b3b868d57734b64570d5d0cd0825f
BLAKE2b-256 checksum
How to use checksums
e982b756cca01cd57b02b87e4c63fca2edf2346c46f001e05cffa3db103da5df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.3.1 This release

2 release files

3.3.0

2 release files

3.2

2 release files

3.1

2 release files

3.0

2 release files

2.0

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page