Skip to main content

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


Download files

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

Source Distribution

sphinx_palewire_theme-0.1.3.tar.gz (12.6 kB view details)

Uploaded Source

File details

Details for the file sphinx_palewire_theme-0.1.3.tar.gz.

File metadata

  • Download URL: sphinx_palewire_theme-0.1.3.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sphinx_palewire_theme-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d02cfdc4b6f857de398477a85af4a7844c5eadfba252a632458ec1298e387ab8
MD5 da3e7039ea641d57fcf72d52c70e3fee
BLAKE2b-256 623c85c0e4beaaab9c4135be304878ca484ba230558b00f30a2778af925f4909

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page