sphinx_holoviz_theme: Theme for building HoloViz sites
| Build Status | |
| Latest dev release | |
| Latest release |
What is it?
sphinx_holoviz_theme is the theme that is used when building sites in the HoloViz ecosystem. This theme is best used in conjunction with nbsite. See the nbsite docs for examples.
How to use
To use this theme: pip/conda install sphinx_holoviz_theme and set html_theme to sphinx_holoviz_theme. To control the look and feel, change html_theme_options in conf.py:
html_static_path += ['_static']
html_theme = 'sphinx_holoviz_theme'
html_theme_options = {
'custom_css': 'site.css',
'logo': 'nbsite-logo.png',
'favicon': 'favicon.ico',
'primary_color': '#F16A25',
'primary_color_dark': '#B5501C',
'secondary_color': '#F5C33C',
'second_nav': False,
}
- logo and favicon: provide paths relative to html_static_path (doc/_static by default)
- primary_color, primary_color_dark and secondary_color: control the colors that the website uses for header, nav, links... These can be css named colors, or hex colors.
- second_nav: Boolean indicating whether to use a second nav bar.
- custom_css: path relative to html_static_path overriding styles. Styles come first from the theme's main.css_t, which is populated with the colors options, then extended/overridden by your site's own css.
NOTE: Only use the custom_css to overwrite small pieces of the css not to make general improvements. If you have general improvements, please open a PR on the this repo.
About HoloViz
sphinx_holoviz_theme is part of the HoloViz ecosystem for making high-level tools to simplify visualization in Python. See holoviz.org for related packages that you can use with sphinx_holoviz_theme and status.pyviz.org for the current status of each HoloViz project.
Release files for sphinx-holoviz-theme 0.1.4
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_holoviz_theme-0.1.4.tar.gz | 24.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_holoviz_theme-0.1.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 66.0 kB
Release files / sphinx_holoviz_theme-0.1.4.tar.gz
| Download URL | sphinx_holoviz_theme-0.1.4.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51fa769e2fcc5d222cdf0b31fbdf32c90e8f5442c75376b498d00d37e61588d9
|
|
BLAKE2b-256 checksum How to use checksums |
2d869cd769dcdcc0d762337711d539e20c9c8496e5a309bb44da6d9cb63c1e1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7
|
Release files / sphinx_holoviz_theme-0.1.4-py2.py3-none-any.whl
| Download URL | sphinx_holoviz_theme-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 41.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d19b34237671289617a772847c3a38346f8125da2073f09475d400b10bf76c2f
|
|
BLAKE2b-256 checksum How to use checksums |
ded228361447e097d437f0f452b87ec45e0a6bfd77028b783c68f23b1bf5805e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.6.7
|