OBI Sphinx Theme
A Sphinx theme for Open Brain Institute projects.
This is a thin wrapper around pydata-sphinx-theme that applies the OBI color palette:
| Role | Color |
|---|---|
| Brand / Buttons | Navy #002766 |
| Selections | Light blue #d6ebff / #bae0ff |
| Panels | Soft blue-grey #f5f8fa / #edf2f7 |
| Editor / Background | White #ffffff |
| Text | Dark #141414 / #262626 |
| Scrollbars | Navy #002766 |
Installation
pip install obi-sphinx-theme
Usage
In your project's conf.py:
html_theme = "obi_sphinx_theme"
The theme defaults to left-aligned navigation, the consuming repository's GitHub link, and OBI LinkedIn and Website icon links. The GitHub URL is detected from the project's origin remote and falls back to the OBI GitHub organization when no GitHub remote is available. These defaults are applied automatically, while values supplied through html_theme_options take precedence—for example, a project can replace the detected GitHub link with another URL. All pydata-sphinx-theme options remain supported via html_theme_options.
Development
# Install in development mode
pip install -e .
# Build the demo docs
cd doc
make html
License
Copyright (c) 2025 Open Brain Institute
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
See LICENSE.txt for the complete notice.
Metadata
Release files for obi-sphinx-theme 2.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| obi_sphinx_theme-2.0.4.tar.gz | 15.6 kB | Without provenance | Details for obi_sphinx_theme-2.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| obi_sphinx_theme-2.0.4-py3-none-any.whl | Python 3 | none | any | Details for obi_sphinx_theme-2.0.4-py3-none-any.whl |
Total release size: 31.8 kB
Release files / obi_sphinx_theme-2.0.4.tar.gz
| Download URL | obi_sphinx_theme-2.0.4.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd7287a20c229d81f9c44c1ee3cd7b8a1b49320ff9f77f7bdc7fbb843ce66b08
|
|
BLAKE2b-256 checksum How to use checksums |
e1ecb1c8ac707296c2cd4a46ce71a6df2d396e319a668794746f91c232412ea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / obi_sphinx_theme-2.0.4-py3-none-any.whl
| Download URL | obi_sphinx_theme-2.0.4-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
511b7844650200e846d078a2e87815a536bd3456b06cc420bab35dd9ceb5d8ed
|
|
BLAKE2b-256 checksum How to use checksums |
7f52f726691dc4343d62f37760c0b73a075344236df8cfc1daa899e116da08a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for obi-sphinx-theme 2.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.