{"library":"sphinx-bootstrap-theme","title":"Sphinx Bootstrap Theme","type":"library","description":"Sphinx Bootstrap Theme integrates the Bootstrap CSS/JavaScript framework with Sphinx documentation, offering various layout options, hierarchical menu navigation, and mobile-friendly responsive design. It is configurable, extensible, and supports different Bootswatch CSS themes. The current version is 0.8.1. Releases occur irregularly, indicating active but not rapid development.","language":"python","status":"active","last_verified":"Mon May 18","install":{"commands":["pip install sphinx-bootstrap-theme"],"cli":null},"imports":["import sphinx_bootstrap_theme","html_theme = 'bootstrap'","html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":"https://ryan-roemer.github.io/sphinx-bootstrap-theme/README.html","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/sphinx-bootstrap-theme/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"# conf.py\nimport os\nimport sys\nimport sphinx_bootstrap_theme\n\nproject = 'My Project'\ncopyright = '2026, My Team'\nauthor = 'My Team'\n\nextensions = [\n    'sphinx.ext.autodoc',\n    'sphinx.ext.napoleon'\n]\n\nhtml_theme = 'bootstrap'\nhtml_theme_path = sphinx_bootstrap_theme.get_html_theme_path()\n\nhtml_theme_options = {\n    'bootstrap_version': '3', # Can be '2' or '3'\n    'navbar_sidebarrel': False, # Remove 'prev' and 'next' links from navbar\n    'navbar_links': [\n        (\"Home\", \"index\"),\n        (\"About\", \"about\"),\n        (\"GitHub\", \"https://github.com/your-org/your-project\", True)\n    ],\n    'bootswatch_theme': \"flatly\", # Example: \"flatly\", \"journal\", etc.\n    'navbar_title': \"My Project Docs\"\n}","lang":"python","description":"To quickly use the theme, install it via pip, then update your Sphinx project's `conf.py` file with the specified imports and theme configuration. This snippet also shows common `html_theme_options`.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-18","installed_version":"0.8.1","pypi_latest":"0.8.1","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0,"mem_mb":0,"disk_size":"23.8M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.7,"import_time_s":0,"mem_mb":0,"disk_size":"24M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0,"mem_mb":0,"disk_size":"25.6M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.7,"import_time_s":0,"mem_mb":0,"disk_size":"26M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0,"mem_mb":0,"disk_size":"17.5M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.5,"import_time_s":0,"mem_mb":0,"disk_size":"18M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0,"mem_mb":0,"disk_size":"17.2M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.5,"import_time_s":0,"mem_mb":0,"disk_size":"18M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0,"mem_mb":0,"disk_size":"23.3M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"sphinx-bootstrap-theme","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":1.8,"import_time_s":0,"mem_mb":0,"disk_size":"24M"}]}}