sphinx-bootstrap-theme
Sphinx Bootstrap Theme.
What it is and what it does
Sphinx Bootstrap Theme wraps Sphinx documentation generation with Bootstrap's CSS and JavaScript framework, providing a responsive HTML layout out of the box. It integrates hierarchical navigation menus, mobile-friendly design, and optional Bootswatch color themes to customize the visual appearance of your docs without writing custom CSS.
You configure it by importing the theme in your Sphinx conf.py and setting a few options—navbar title, navigation links, Bootswatch theme name, and Bootstrap version preference. The theme handles the rest, rendering your reStructuredText documentation with Bootstrap's grid, components, and responsive behavior. It supports Bootstrap v2.3.2 and v3.3.7, though v3 is recommended.
Use it for:
- Apply a polished, modern look to Sphinx documentation without custom CSS or template work.
- Build mobile-responsive documentation sites that work well on phones and tablets.
- Use a Bootswatch theme to quickly rebrand documentation with a different color scheme.
- Add hierarchical dropdown menus and site navigation to Sphinx-generated HTML.
- Migrate from plain Sphinx HTML to a Bootstrap-based layout for existing projects.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Sphinx theme that applies Bootstrap CSS and JavaScript to documentation, offering responsive design, configurable navigation, and support for Bootswatch color schemes.
No. The package is abandoned with no releases since 2022-02-03 and targets Bootstrap v2.3.2 and v3.3.7, which are now outdated. Modern Sphinx projects should use actively maintained alternatives. If you have legacy documentation already using this theme, it may continue to work, but do not adopt it for new projects.
Install
sphinx-bootstrap-theme on PyPI
pip
pip install sphinx-bootstrap-themeuv
uv add sphinx-bootstrap-themepoetry
poetry add sphinx-bootstrap-themeInstalling sphinx-bootstrap-theme
Before you install
Installation is straightforward with no runtime dependencies. However, the package has been abandoned since its last release on 2022-02-03, so expect no maintenance, bug fixes, or updates for compatibility with newer Sphinx or Bootstrap versions.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.
Quickstart
pip install sphinx-bootstrap-theme
# In conf.py:
import sphinx_bootstrap_theme
html_theme = 'bootstrap'
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
Verify before relying
- Compatibility with current Sphinx versions and Python 3.10+ not confirmed in fact sheet.
- Whether Bootswatch theme integration still works given Bootstrap and Bootswatch evolution since 2022.
- Whether the theme works with Bootstrap versions beyond v2.3.2 and v3.3.7.
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,653 days since the last release |
| First released | |
| Downloads | 174,609/month — #10,278 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sphinx_bootstrap_theme-0.8.1-py2.py3-none-any.whl
Keywords: sphinx, bootstrap, html, theme
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
furoFuro is a clean, responsive Sphinx theme for…
permissive · top 5,000 on PyPI
sphinx-book-themeA Sphinx theme that renders documentation as an…
permissive · top 5,000 on PyPI
sphinx-rtd-themeA Sphinx theme that renders documentation with…
permissive · top 5,000 on PyPI
shinyswatchProvides 25 Bootswatch + Bootstrap 5 themes for…
permissive · top 15,000 on PyPI
sphinx-basic-ngProvides a modern, minimal Sphinx theme…
permissive · top 5,000 on PyPI
sphinx-rtd-dark-modeAdds a toggleable dark mode interface to Sphinx…
permissive · top 15,000 on PyPI
pydata-sphinx-themeA Bootstrap-based Sphinx theme that provides a…
permissive · top 5,000 on PyPI
alabasterAlabaster is a clean, responsive Sphinx theme…
permissive · top 1,000 on PyPI
django-navhelperProvides Django template tags to automatically…
permissive · top 15,000 on PyPI
sphinx-press-themeA modern, responsive Sphinx documentation theme…
permissive · top 15,000 on PyPI