Skip to main content

The sphinx theme for Astropy and affiliated packages.

Project description

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

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

astropy_sphinx_theme-3.0.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astropy_sphinx_theme-3.0-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

Details for the file astropy_sphinx_theme-3.0.tar.gz.

File metadata

  • Download URL: astropy_sphinx_theme-3.0.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for astropy_sphinx_theme-3.0.tar.gz
Algorithm Hash digest
SHA256 d2e1d0cbc7c9c38feee12a3c982746f2d6d9d326676af4fb56033cb7f78dc402
MD5 b8e6dddf6de79236e9f20f6eeadc0dc9
BLAKE2b-256 a7a273d3d6f641284e2028a332b5024122265a96422820ae6d4a292bd13acae0

See more details on using hashes here.

Provenance

The following attestation bundles were made for astropy_sphinx_theme-3.0.tar.gz:

Publisher: publish.yml on astropy/astropy-sphinx-theme

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file astropy_sphinx_theme-3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for astropy_sphinx_theme-3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a93f45ff0428c8b7f82e3eecec5f1657e8fd348da167274024aae08a5595b3a1
MD5 e3ff0372763b76f94e741af2091e8026
BLAKE2b-256 70d1060573e319ce621872e7798cd3ee0001160a146ee6afbf66a56c0c54b352

See more details on using hashes here.

Provenance

The following attestation bundles were made for astropy_sphinx_theme-3.0-py3-none-any.whl:

Publisher: publish.yml on astropy/astropy-sphinx-theme

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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