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.3.2.tar.gz (269.3 kB view details)

Uploaded Source

Built Distribution

sphinx_book_theme-0.3.2-py3-none-any.whl (335.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_book_theme-0.3.2.tar.gz
  • Upload date:
  • Size: 269.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for sphinx_book_theme-0.3.2.tar.gz
Algorithm Hash digest
SHA256 182b5657a345f3bbb2c5b86da65db9b47e27de0ab406cda168142768645121f5
MD5 1e26ccc6b9352bbbb0b0b4ef6c81ad72
BLAKE2b-256 eac7f0b624df5794906fa26dbe35a5bd222de1e6b70fe556802c7ba31b9edd38

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinx_book_theme-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 335.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.12

File hashes

Hashes for sphinx_book_theme-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4aed92f2ed9d27e002eac5dce1daa8eca42dd9e6464811533c569ee156a6f67d
MD5 62b4bbbfb55f11d690d0328fe5915af3
BLAKE2b-256 e9fdc8ce574e9b9e0664daef96a0431c67770a234f00d6ed1a909c1e07236ba3

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