Skip to main content

OBI Sphinx Theme

A Sphinx theme for Open Brain Institute projects.

Documentation Status

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

obi_sphinx_theme-2.0.4.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obi_sphinx_theme-2.0.4-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file obi_sphinx_theme-2.0.4.tar.gz.

File metadata

  • Download URL: obi_sphinx_theme-2.0.4.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for obi_sphinx_theme-2.0.4.tar.gz
Algorithm Hash digest
SHA256 fd7287a20c229d81f9c44c1ee3cd7b8a1b49320ff9f77f7bdc7fbb843ce66b08
MD5 5df31c7b4bb9b40593d4bd1bfcd85634
BLAKE2b-256 e1ecb1c8ac707296c2cd4a46ce71a6df2d396e319a668794746f91c232412ea2

See more details on using hashes here.

File details

Details for the file obi_sphinx_theme-2.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for obi_sphinx_theme-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 511b7844650200e846d078a2e87815a536bd3456b06cc420bab35dd9ceb5d8ed
MD5 941000de76609d1e372d156771eea0f2
BLAKE2b-256 7f52f726691dc4343d62f37760c0b73a075344236df8cfc1daa899e116da08a0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.4 This release

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page