Skip to main content

Sphinx theme for ZEIT ONLINE docs

Project description

Usage

Install the package

$ pip install zondocs_theme

Then set html_theme = 'zondocs_theme' in your Sphinx conf.py.

Features

  • Automatically uses the ZON logo.

  • Adds an “edit this page” link to the sidebar. To customize how this link is created, you can set the following:

    html_theme_options = {
        'editme_link': (
            'https://github.com/zeitonline/{project}/edit/master/{page}')
    }
    (This is the default value, it supports two variables, project is taken

    directly from conf.py, and page evaluates to path/to/current/page.suffix)

Local testing

Run bin/build to build whl and use pip install zondocs_theme...whl to use it in your project.

Release process

pipenv is needed to run the release process.

Update the version in pyproject.toml.

For a test release run

$ bin/release test

For a offical release run

$ bin/release prod

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

zondocs_theme-1.0.8.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

zondocs_theme-1.0.8-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file zondocs_theme-1.0.8.tar.gz.

File metadata

  • Download URL: zondocs_theme-1.0.8.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for zondocs_theme-1.0.8.tar.gz
Algorithm Hash digest
SHA256 fad299f1fd6a609bbe84795f3f88cd916da666bcdd0e9d6ec11cc25a69c1c6cb
MD5 56d184a1f60b560e9bc2cdeb4511c10c
BLAKE2b-256 f7e2e4234ab0b71db7e8032d189c02d9b45d9761c95b3e49673b703f9883cc48

See more details on using hashes here.

File details

Details for the file zondocs_theme-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for zondocs_theme-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 17f83721e9d1da25fdd58ffdfb947d38290a66ea5bee083d90d822ef6da07788
MD5 7956805b937fafab63d25b717c1b6119
BLAKE2b-256 4a1e0fed588a1301c0b64f40b660c73d698eeb77f39d04623f1ca71d616740fb

See more details on using hashes here.

Supported by

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