dmwyatt / sphinx-book-theme

A clean book theme for scientific explanations and documentation with Sphinx

Home Page:https://sphinx-book-theme.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A clean book theme for scientific explanations and documentation with Sphinx

https://sphinx-book-theme.readthedocs.io

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Jupyter Notebook 67.2%Language:Python 11.8%Language:SCSS 10.7%Language:HTML 8.2%Language:JavaScript 1.3%Language:Makefile 0.5%Language:Jinja 0.3%