============================
Sphinx Theme for ZEIT ONLINE
============================
Based on the fabulous `Read the Docs`_ theme.
.. _`Read the Docs`: https://github.com/rtfd/sphinx_rtd_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.
.. _`sphinx_elasticsearch`: https://pypi.org/project/sphinx_elasticsearch
=========
Changelog
=========
1.1.0 (2018-12-10)
------------------
- Use sphinx_elasticsearch for searching.
1.0.0 (2018-09-27)
------------------
- Initial release.
Sphinx Theme for ZEIT ONLINE
============================
Based on the fabulous `Read the Docs`_ theme.
.. _`Read the Docs`: https://github.com/rtfd/sphinx_rtd_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.
.. _`sphinx_elasticsearch`: https://pypi.org/project/sphinx_elasticsearch
=========
Changelog
=========
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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinx_zon_theme-1.1.0.tar.gz | 251.6 kB | Details |
Release files / sphinx_zon_theme-1.1.0.tar.gz
| Download URL | sphinx_zon_theme-1.1.0.tar.gz |
|---|---|
| Size | 251.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5aae02262d32406f50da8d5b8654688d762c1aec8c9c27e3950ede257be94c2e
|
|
BLAKE2b-256 checksum How to use checksums |
b3ecac654f446f5c9366a6ca1f92f8c37ab2af3201d40507d7dd21bb0139f0fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.8
|