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.1.tar.gz (54.5 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.1-py3-none-any.whl (46.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for astropy_sphinx_theme-3.1.tar.gz
Algorithm Hash digest
SHA256 eff780a7b9b00a165782bd703decff9f32bfa6dcb606ce583fe2fc768ca45019
MD5 bdff44aa96e91b84622fe71585eac6d6
BLAKE2b-256 7daa7fa683ec50d4c684adcf829440e2c4e33acc20e15791bb2997d2bd1a8e54

See more details on using hashes here.

Provenance

The following attestation bundles were made for astropy_sphinx_theme-3.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for astropy_sphinx_theme-3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2b3ff693894cace50264e84a1ec9227f1001f060341f7e337f14b1bc4a46a0c
MD5 3def8c968b5dc4765d83e5cba2f0bc12
BLAKE2b-256 a0c81161badc670bfce8a6b59b55c335825fc6b65aaa956efcd38fa44ed2525e

See more details on using hashes here.

Provenance

The following attestation bundles were made for astropy_sphinx_theme-3.1-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