Skip to main content

Sphinx Theme for ZEIT ONLINE

Based on the fabulous Read the Docs theme.

Usage

Install the package, e.g. pip install sphinx_zon_theme, and then set html_theme = 'sphinx_zon_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)

  • Supports (multi-project) search using sphinx_elasticsearch. Configure like this (default values are shown here):

    html_theme_options = {
        'elasticsearch_host': 'http://docs.zeit.de/elasticsearch',
        'elasticsearch_index': 'docs',
        # For creating links to search result items
        'public_url_root': 'http://docs.zeit.de/'
    }

    To disable and use the built-in Sphinx search, set elasticsearch_host to None.

  • Adds a “like” button (iframe) at the bottom of each page. To disable, set like_iframe_src to None.

Changelog

1.4.0 (2020-10-16)

  • Make compatible with Sphinx-2, update sphinx_rtd_theme to 0.5.0

1.3.2 (2020-01-08)

  • Hide empty table heads with CSS

1.3.1 (2019-12-11)

  • Fix rst syntax for pypi upload

1.3.0 (2019-12-11)

  • Style tables a little more nicely

1.2.0 (2019-04-05)

  • Add a “like” button to the bottom of each page

1.1.1 (2018-12-14)

1.1.0 (2018-12-10)

  • Use sphinx_elasticsearch for searching.

1.0.0 (2018-09-27)

  • Initial release.

Metadata

Release files for sphinx-zon-theme 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-zon-theme 1.4.0
File Size Uploaded Provenance Actions
sphinx_zon_theme-1.4.0.tar.gz 252.4 kB Without provenance Details for sphinx_zon_theme-1.4.0.tar.gz

Release files / sphinx_zon_theme-1.4.0.tar.gz

Download URL sphinx_zon_theme-1.4.0.tar.gz
Size 252.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cefdf0bbe50854addfb01bbeccd3c15141c5666e114c5ea5a591861d4cf9e23b
BLAKE2b-256 checksum
How to use checksums
04cca8ef379cd193ecd537be71fc1c4018a859c1b3ef24ecc56080b049752f3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.9

Security for sphinx-zon-theme 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page