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 and is the default, but 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
Built Distribution
Hashes for sphinx-palewire-theme-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4885baf28c7d8f113fcad9dc585ea8307dc0d6222895de6c1bbb4308224b4dd3 |
|
MD5 | 455a06570eb0eff37efb05403928a89f |
|
BLAKE2b-256 | 851f81ce538de35265758f5741d4f123b44d60e14956888448defd240642ec59 |
Hashes for sphinx_palewire_theme-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8362c4e47bf003e0972f020f672d55678528edd0c8978ff19819e4a08d06387 |
|
MD5 | 542100cf6fb9e908efe90268afe03271 |
|
BLAKE2b-256 | a381f285d9723416061944b29a90d2ad30b721f44a901a10cedc6de9ad37c509 |