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

This version

0.1.8

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

Uploaded Source

Built Distribution

sphinx_book_theme-0.1.8-py3-none-any.whl (94.5 kB view details)

Uploaded Python 3

File details

Details for the file sphinx-book-theme-0.1.8.tar.gz.

File metadata

  • Download URL: sphinx-book-theme-0.1.8.tar.gz
  • Upload date:
  • Size: 63.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for sphinx-book-theme-0.1.8.tar.gz
Algorithm Hash digest
SHA256 f358e1de7564499a61f4061315386ac8a35e4ba4076974de6dffc9f934d9c00a
MD5 2b7219b65074ad5a92a8571fed19e33a
BLAKE2b-256 6410ef50b040ca11cc9c379a7a6db9ef53c2ad0d2166de7a95cd1e3681b64f91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinx_book_theme-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 94.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for sphinx_book_theme-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 22c08228a9b76b3686ef8b6b5d865f00ce97387622edff399254a84b506fc55d
MD5 3aece834c25d4efb910dd85dd5a779d2
BLAKE2b-256 ab298758a604ced69b8c1ffcd071a8d3df64b4b62302ee28611f1e12eb66d876

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