Options Reference¶
Every html_theme_options key with type, default, and description.
Branding¶
Option |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Logo image path relative to |
|
string |
|
Alt text / brand label for sidebar and mobile bar. |
|
string |
|
Favicon path relative to |
Colours¶
Option |
Type |
Default |
Description |
|---|---|---|---|
|
CSS colour |
|
Navy. Headings, TOC active links, API names, version badge. |
|
CSS colour |
|
Orange. Unvisited links, active borders, landing gradient. |
|
CSS colour |
|
Sidebar background. |
|
CSS colour |
|
Sidebar link text (non-active). |
Content & Layout¶
Option |
Type |
Default |
Description |
|---|---|---|---|
|
CSS length |
|
Content column max width (overridden to 80% on ≥1920px). |
|
string |
|
Pagename for the landing page (e.g. |
Repository¶
Option |
Type |
Default |
Description |
|---|---|---|---|
|
string |
|
Repository URL. Shows GitHub icon in header. Empty to hide. |
|
string |
|
Label for the repository link. |
html_context (Landing Cards)¶
Landing page navigation cards are configured via html_context,
not html_theme_options:
html_context = {
"landing_page": {
"menu": [
{"title": "Page Title", "url": "pagename"},
...
]
}
}
Each dict requires title (display text) and url (pagename
relative to doc root, no .html extension). Cards render as
.bst-landing-card elements on the landing page only.