A Sphinx theme for sites hosted at palewi.re
Project description
A Sphinx theme for sites hosted at palewi.re.
Installation
Install the theme with pipenv:
pipenv install palewire-sphinx-theme
Then, in your Sphinx project's conf.py
file, add the following line:
html_theme = "palewire"
Configuration
The theme supports two different layouts, a "wide" layout and a "narrow" layout. The wide layout that includes a sidebar is the default. You can switch to the narrow single-column layout by adding the following line to your conf.py
file:
html_theme_options = {
"nosidebar": True,
}
When using the wide layout, you can control which elements are included in the sidebar by adding the html_sidebars
option to your conf.py
file. Here's an example that includes the default sidebar elements:
html_sidebars = {
"**": [
"about.html",
"navigation.html",
]
}
Further configution of this setting is explained by the Sphinx documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for sphinx_palewire_theme-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bf819a9a079de920e68e0bc1f1bf5d3c616614343674c186af6377cb7661c22 |
|
MD5 | 1bcd5f520883cd411bdc572cc4d5dbbd |
|
BLAKE2b-256 | 55c124feece75f1c7eaa0a2b09f3e473c0d02237c8cd2c4422569e1a12a9a4b1 |