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 4 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-0.4.0rc1.tar.gz (274.9 kB view details)

Uploaded Source

Built Distribution

sphinx_book_theme-0.4.0rc1-py3-none-any.whl (314.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sphinx_book_theme-0.4.0rc1.tar.gz
Algorithm Hash digest
SHA256 00a312d5287c497b1f189a0d2aac3954216e60b5dee1e07454e4b674d7c9d3ca
MD5 3a592e5d572733099cb2fe9cb3d0daf2
BLAKE2b-256 67640d9240a5b94da087f80cb24d628cbc760b1e5039204b26070e8841996840

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinx_book_theme-0.4.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 bfad8ef469885da5633f7cf7f8cd9a0ae11ea2351a91e507b44cf15973934512
MD5 82be6be2ee1769b6a7c1ad6be1403520
BLAKE2b-256 8737367584106218f61d440d696fc7e66704538b160a9746a016e590d5bb34c2

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