ccpbiosim-sphinx-theme#
Sphinx theme for CCPBioSim documentation
This is the Sphinx theme used across CCPBioSim projects. It is built on pydata-sphinx-theme and uses the same colours as ccpbiosim.org.
📄 Example Page
Code, tables, tabs and other content using the theme.
💻 Source Code
The theme repository on GitHub.
🌐 CCPBioSim
The main CCPBioSim website.
Installation#
Add the theme to your docs requirements:
ccpbiosim-sphinx-theme>=1.0,<2.0
Usage#
Set the theme in conf.py:
html_theme = "ccpbiosim_sphinx_theme"
html_context = {"github_repo": "my-project"}
The banner at the top of this page is added with:
.. ccpbiosim-hero::
:logo-light: _static/logo-black-text.svg
:logo-dark: _static/logo-white-text.svg
:tagline: A short description of the project
:button: installation | Get started
:github: CCPBioSim/my-project