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.0

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.0
File Size Uploaded
astropy_sphinx_theme-3.3.0.tar.gz 55.2 kB Details

Built distribution (wheel)

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

Total release size: 102.0 kB

Release files / astropy_sphinx_theme-3.3.0.tar.gz

Download URL astropy_sphinx_theme-3.3.0.tar.gz
Size 55.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cee61a7338df60ecef859aadf19c3ebd99474838ab45e89f4abbf6462ae86995
BLAKE2b-256 checksum
How to use checksums
4cd33d60cc1097f82523c56e34a940aea095c9c3e0a1ceec5c6255121c1383bb
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.0-py3-none-any.whl

Download URL astropy_sphinx_theme-3.3.0-py3-none-any.whl
Size 46.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a39c941ff2f4440a71763619cae308855fe4adaf2e31d7961866d1a750597064
BLAKE2b-256 checksum
How to use checksums
8b34aab7d839ce873cc08309348dc00b3c8363c727a0d8e9bf0b51f9e5c31000
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

3.3.1

2 release files

This release

3.3.0 This release

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