Skip to main content

A clean book theme for scientific explanations and documentation with Sphinx

Project description

sphinx-book-theme

codecov Documentation Status PyPI

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

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.0.0rc1.tar.gz (281.4 kB view details)

Uploaded Source

Built Distribution

sphinx_book_theme-1.0.0rc1-py3-none-any.whl (393.3 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_book_theme-1.0.0rc1.tar.gz.

File metadata

  • Download URL: sphinx_book_theme-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 281.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for sphinx_book_theme-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 1cccbf81dd3541054716e76793c8f61a3a5b97561166acc007edbb083ee8bc0e
MD5 a0f7b61090e3e8e4a121dbb1f05f6027
BLAKE2b-256 4395ac3a5f3274b0aaba2c494a85fd2192a76fdc4a056c6e5c8ae03e563c6eb2

See more details on using hashes here.

File details

Details for the file sphinx_book_theme-1.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_book_theme-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b68cf85cde9ff9fd4cca95fb9a81739052886c20e849fb6643ae8fb2271104f
MD5 caf793e2bff51fd28443f6e7d9c5ecc9
BLAKE2b-256 7526a4cdcb7b77003da53b3b7540763875c9f477258145f73505b6ff9326e8f1

See more details on using hashes here.

Supported by

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