Theme for building HoloViz sites; best when used with nbsite.
Project description
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.
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
Built Distribution
File details
Details for the file sphinx_holoviz_theme-0.1.4.tar.gz
.
File metadata
- Download URL: sphinx_holoviz_theme-0.1.4.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51fa769e2fcc5d222cdf0b31fbdf32c90e8f5442c75376b498d00d37e61588d9 |
|
MD5 | 072d8e1262f58101bef93b02a379fefc |
|
BLAKE2b-256 | 2d869cd769dcdcc0d762337711d539e20c9c8496e5a309bb44da6d9cb63c1e1b |
File details
Details for the file sphinx_holoviz_theme-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: sphinx_holoviz_theme-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 41.8 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d19b34237671289617a772847c3a38346f8125da2073f09475d400b10bf76c2f |
|
MD5 | 9a5112edf8e34cc805b9e0cf2b40d346 |
|
BLAKE2b-256 | ded228361447e097d437f0f452b87ec45e0a6bfd77028b783c68f23b1bf5805e |