A book theme for tskit projects
Project description
sphinx-book-theme
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
Built Distribution
File details
Details for the file tskit_book_theme-1.0.1.tar.gz
.
File metadata
- Download URL: tskit_book_theme-1.0.1.tar.gz
- Upload date:
- Size: 291.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d4c9cb10382c4e42871cbff9f42537e9f053d361e32fb1381dcb86b8c58d1cf |
|
MD5 | 4b85ec349b82f77290e7302201f01806 |
|
BLAKE2b-256 | dccdad0368134d218f896ef9d83081da5be72d52d0ea61aff275026640ca0912 |
File details
Details for the file tskit_book_theme-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: tskit_book_theme-1.0.1-py3-none-any.whl
- Upload date:
- Size: 406.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57c45e2207c2f96e4ba1410169b7a893135bc91e40a8576b74294d7ea70e40e5 |
|
MD5 | af89c0ce4c2cdb218433022c9f895fae |
|
BLAKE2b-256 | e77c7f2b4c52afc5fce787d1fb2dc2d32be77d93a594a8872f1b438fa531148e |