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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a3c37f36bfab724d3bc633d6aa2a4c21610459e4c8560648e1d8af229c638c0 |
|
MD5 | f6b7ccf8070f108254fd31746997b7a7 |
|
BLAKE2b-256 | 8a974b977b0604136e9e754cdd1caa526d75b8cebd3bf4779a634d30f0f28eab |
Hashes for sphinx_palewire_theme-0.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f23201cefb855601add3cc05bc47f49e6bfc9f00aaa43191707e90faa91ea21b |
|
MD5 | 0b08572c0bc9c75fc03c1063c6619982 |
|
BLAKE2b-256 | 719476f041c5afff150e17d29ecd39ad73a7ef39eb9eb0f68cf6f1e593b773b2 |