Skip to main content

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.

Release files for tskit-book-theme 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tskit-book-theme 1.0.1
File Size Uploaded
tskit_book_theme-1.0.1.tar.gz 291.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tskit-book-theme 1.0.1
File Interpreter ABI Platform
tskit_book_theme-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 698.0 kB

Release files / tskit_book_theme-1.0.1.tar.gz

Download URL tskit_book_theme-1.0.1.tar.gz
Size 291.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9d4c9cb10382c4e42871cbff9f42537e9f053d361e32fb1381dcb86b8c58d1cf
BLAKE2b-256 checksum
How to use checksums
dccdad0368134d218f896ef9d83081da5be72d52d0ea61aff275026640ca0912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / tskit_book_theme-1.0.1-py3-none-any.whl

Download URL tskit_book_theme-1.0.1-py3-none-any.whl
Size 406.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57c45e2207c2f96e4ba1410169b7a893135bc91e40a8576b74294d7ea70e40e5
BLAKE2b-256 checksum
How to use checksums
e77c7f2b4c52afc5fce787d1fb2dc2d32be77d93a594a8872f1b438fa531148e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

0.3.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page