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.1.0rc2.tar.gz (291.3 kB view details)

Uploaded Source

Built Distribution

sphinx_book_theme-1.1.0rc2-py3-none-any.whl (400.8 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_book_theme-1.1.0rc2.tar.gz.

File metadata

  • Download URL: sphinx_book_theme-1.1.0rc2.tar.gz
  • Upload date:
  • Size: 291.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for sphinx_book_theme-1.1.0rc2.tar.gz
Algorithm Hash digest
SHA256 72349e145bd2536fe70e0b2b4deeff7a018db921b66ae958ae50bbe8e1c076d0
MD5 d086176d61e2a9bffbf9b383cfb651b0
BLAKE2b-256 1c314daaed6441c79991e65caa29e29bad12feadc2a6b13fdced4ce117a12d71

See more details on using hashes here.

File details

Details for the file sphinx_book_theme-1.1.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_book_theme-1.1.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 8419e8e11206ebd859e715f831c161d78600ee61c3a0aa5b9bcc3a02aeca95be
MD5 45ffcf92f5fbd747a1a8b56b2767db1f
BLAKE2b-256 e55f76506e28673e487b03178822cf08825a448485ee30159e8b9ddcd9e80df5

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