Skip to main content

A clean book theme for scientific explanations and documentation with Sphinx

Project description

sphinx-book-theme

codecov Documentation Status PyPI

[!NOTE] Maintenance Mode: This project is currently in maintenance mode. We are accepting bug fixes as best we can, but there are not dedicated resources to review and merge. New feature development is not likely. If you're interested in becoming a maintainer and helping keep this project actively developed, please reach out by opening an issue!

An interactive book theme for Sphinx.

This is a lightweight Sphinx theme designed to mimic the look-and-feel of an interactive book. It has the following primary features:

  • Bootstrap 5 for visual elements and functionality.
  • Flexible content layout that is inspired by beautiful online books, such as the Edward Tufte CSS guide
  • Visual classes designed for Jupyter Notebooks. Cell inputs, outputs, and interactive functionality are all supported.
  • Launch buttons for online interactivity. For pages that are built with computational material, connect your site to an online BinderHub for interactive content.

Get started

To get started with sphinx-book-theme, first install it with pip:

pip install sphinx-book-theme

then, activate the theme in your Sphinx configuration (conf.py):

...
html_theme = "sphinx_book_theme"
...

This will activate the Sphinx Book Theme for your documentation. Note that you may need to change your html_theme_options configuration depending on your previous theme. See the pages to the left for information about what you can configure with sphinx-book-theme.

Documentation

See the Sphinx Book Theme documentation for more information.

Project details


Release history Release notifications | RSS feed

This version

1.2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx_book_theme-1.2.0.tar.gz (444.0 kB view details)

Uploaded Source

Built Distribution

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

sphinx_book_theme-1.2.0-py3-none-any.whl (455.9 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_book_theme-1.2.0.tar.gz.

File metadata

  • Download URL: sphinx_book_theme-1.2.0.tar.gz
  • Upload date:
  • Size: 444.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for sphinx_book_theme-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4a7ebfc7da4395309ac942ddfc38fbec5c5254c3be22195e99ad12586fbda9e3
MD5 c17799f8bab2afd996e9ea8e8cbbe9b7
BLAKE2b-256 ebf7154786f3cfb7692cd7acc24b6dfe4dcd1146b66f376b17df9e47125555e9

See more details on using hashes here.

File details

Details for the file sphinx_book_theme-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_book_theme-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 709605d308e1991c5ef0cf19c481dbe9084b62852e317fafab74382a0ee7ccfa
MD5 9326a862131652424b71e30e323462b8
BLAKE2b-256 02bf6f506a37c7f8ecc4576caf9486e303c7af249f6d70447bb51dde9d78cb99

See more details on using hashes here.

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