dask_sphinx_theme-1.1.0/ 0000775 0001750 0001750 00000000000 13352167177 016702 5 ustar mrocklin mrocklin 0000000 0000000 dask_sphinx_theme-1.1.0/LICENSE.txt 0000664 0001750 0001750 00000002672 13344525731 020527 0 ustar mrocklin mrocklin 0000000 0000000 Copyright (c) 2018 Dask Developers
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
Neither the name of Anaconda nor the names of any contributors may be used to
endorse or promote products derived from this software without specific prior
written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
dask_sphinx_theme-1.1.0/MANIFEST.in 0000664 0001750 0001750 00000000471 13344525731 020435 0 ustar mrocklin mrocklin 0000000 0000000 recursive-include dask_sphinx_theme *.py
recursive-include dask_sphinx_theme *.html
recursive-include dask_sphinx_theme *.css
recursive-include dask_sphinx_theme *.svg
recursive-include dask_sphinx_theme *.conf
include setup.py
include requirements.txt
include README.rst
include LICENSE.txt
include MANIFEST.in
dask_sphinx_theme-1.1.0/dask_sphinx_theme.egg-info/ 0000775 0001750 0001750 00000000000 13352167177 024071 5 ustar mrocklin mrocklin 0000000 0000000 dask_sphinx_theme-1.1.0/dask_sphinx_theme.egg-info/entry_points.txt 0000664 0001750 0001750 00000000074 13352167177 027370 0 ustar mrocklin mrocklin 0000000 0000000 [sphinx.html_themes]
dask_sphinx_theme = dask_sphinx_theme
dask_sphinx_theme-1.1.0/dask_sphinx_theme.egg-info/requires.txt 0000664 0001750 0001750 00000000021 13352167177 026462 0 ustar mrocklin mrocklin 0000000 0000000 sphinx_rtd_theme
dask_sphinx_theme-1.1.0/dask_sphinx_theme.egg-info/not-zip-safe 0000664 0001750 0001750 00000000001 13352167177 026317 0 ustar mrocklin mrocklin 0000000 0000000
dask_sphinx_theme-1.1.0/dask_sphinx_theme.egg-info/top_level.txt 0000664 0001750 0001750 00000000022 13352167177 026615 0 ustar mrocklin mrocklin 0000000 0000000 dask_sphinx_theme
dask_sphinx_theme-1.1.0/dask_sphinx_theme.egg-info/PKG-INFO 0000664 0001750 0001750 00000001634 13352167177 025172 0 ustar mrocklin mrocklin 0000000 0000000 Metadata-Version: 1.0
Name: dask-sphinx-theme
Version: 1.1.0
Summary: Dask theme for Sphinx
Home-page: https://github.com/dask/dask-sphinx-theme/
Author: Dask Developers
Author-email: UNKNOWN
License: BSD
Description-Content-Type: UNKNOWN
Description: Dask Sphinx Theme
=================
This is the official Sphinx theme for Dask documentation. It extends the
``sphinx_rtd_theme`` project, but adds custom styling and a navigation bar to
additional Dask subprojects.
When creating a Dask subproject you can include this theme by changing this
line in your conf.py file
.. code-block:: python
html_theme = 'dask_sphinx_theme'
And by including ``dask_sphinx_theme`` as a requirement in your documentation
installation.
History
-------
Platform: UNKNOWN
dask_sphinx_theme-1.1.0/dask_sphinx_theme.egg-info/dependency_links.txt 0000664 0001750 0001750 00000000001 13352167177 030137 0 ustar mrocklin mrocklin 0000000 0000000
dask_sphinx_theme-1.1.0/dask_sphinx_theme.egg-info/SOURCES.txt 0000664 0001750 0001750 00000001151 13352167177 025753 0 ustar mrocklin mrocklin 0000000 0000000 LICENSE.txt
MANIFEST.in
README.rst
requirements.txt
setup.py
dask_sphinx_theme/__init__.py
dask_sphinx_theme/layout.html
dask_sphinx_theme/theme.conf
dask_sphinx_theme.egg-info/PKG-INFO
dask_sphinx_theme.egg-info/SOURCES.txt
dask_sphinx_theme.egg-info/dependency_links.txt
dask_sphinx_theme.egg-info/entry_points.txt
dask_sphinx_theme.egg-info/not-zip-safe
dask_sphinx_theme.egg-info/requires.txt
dask_sphinx_theme.egg-info/top_level.txt
dask_sphinx_theme/static/css/explore.css
dask_sphinx_theme/static/css/nbsphinx.css
dask_sphinx_theme/static/css/style.css
dask_sphinx_theme/static/images/dask-horizontal-white.svg dask_sphinx_theme-1.1.0/setup.cfg 0000664 0001750 0001750 00000000046 13352167177 020523 0 ustar mrocklin mrocklin 0000000 0000000 [egg_info]
tag_build =
tag_date = 0
dask_sphinx_theme-1.1.0/setup.py 0000664 0001750 0001750 00000001720 13344515225 020404 0 ustar mrocklin mrocklin 0000000 0000000 #!/usr/bin/env python
from setuptools import setup
import dask_sphinx_theme
setup(name='dask_sphinx_theme',
version=dask_sphinx_theme.__version__,
url='https://github.com/dask/dask-sphinx-theme/',
license='BSD',
author='Dask Developers',
description='Dask theme for Sphinx',
long_description=open('README.rst').read(),
zip_safe=False,
packages=['dask_sphinx_theme'],
package_data={'dask_sphinx_theme': [
'theme.conf',
'*.html',
'static/css/*.css',
'static/images/*.svg',
'static/js/*.js',
'static/font/*.*'
]},
include_package_data=True,
# http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
entry_points = {
'sphinx.html_themes': [
'dask_sphinx_theme = dask_sphinx_theme',
]
},
install_requires=open('requirements.txt').read().strip().split('\n'),
)
dask_sphinx_theme-1.1.0/requirements.txt 0000664 0001750 0001750 00000000021 13344237322 022146 0 ustar mrocklin mrocklin 0000000 0000000 sphinx_rtd_theme
dask_sphinx_theme-1.1.0/README.rst 0000664 0001750 0001750 00000000755 13344237104 020365 0 ustar mrocklin mrocklin 0000000 0000000 Dask Sphinx Theme
=================
This is the official Sphinx theme for Dask documentation. It extends the
``sphinx_rtd_theme`` project, but adds custom styling and a navigation bar to
additional Dask subprojects.
When creating a Dask subproject you can include this theme by changing this
line in your conf.py file
.. code-block:: python
html_theme = 'dask_sphinx_theme'
And by including ``dask_sphinx_theme`` as a requirement in your documentation
installation.
History
-------
dask_sphinx_theme-1.1.0/dask_sphinx_theme/ 0000775 0001750 0001750 00000000000 13352167177 022377 5 ustar mrocklin mrocklin 0000000 0000000 dask_sphinx_theme-1.1.0/dask_sphinx_theme/static/ 0000775 0001750 0001750 00000000000 13352167177 023666 5 ustar mrocklin mrocklin 0000000 0000000 dask_sphinx_theme-1.1.0/dask_sphinx_theme/static/images/ 0000775 0001750 0001750 00000000000 13352167177 025133 5 ustar mrocklin mrocklin 0000000 0000000 dask_sphinx_theme-1.1.0/dask_sphinx_theme/static/images/dask-horizontal-white.svg 0000664 0001750 0001750 00000006034 13344515225 032076 0 ustar mrocklin mrocklin 0000000 0000000
dask_sphinx_theme-1.1.0/dask_sphinx_theme/static/css/ 0000775 0001750 0001750 00000000000 13352167177 024456 5 ustar mrocklin mrocklin 0000000 0000000 dask_sphinx_theme-1.1.0/dask_sphinx_theme/static/css/nbsphinx.css 0000664 0001750 0001750 00000001417 13347715456 027027 0 ustar mrocklin mrocklin 0000000 0000000 /* Turn off In/Out prompts */
div.nbinput div.prompt, div.nboutput div.prompt {
display: none;
}
.rst-content pre.literal-block div[class^='highlight'], .rst-content div[class^='highlight'] div[class^='highlight'] {
background: none;
}
.output_area table {
margin-left: 0;
margin-right: 0;
margin-top: 1em;
border: none;
border-collapse: collapse;
border-spacing: 0;
color: black;
table-layout: fixed;
}
.output_area thead {
border-bottom: 1px solid black;
vertical-align: bottom;
}
.output_area tbody tr:nth-child(2n+1) {
background: #f5f5f5;
}
.output_area tr, .output_area th, .output_area td {
text-align: right;
vertical-align: middle;
padding: 0.5em 0.5em;
line-height: normal;
white-space: normal;
max-width: none;
border: none;
}
dask_sphinx_theme-1.1.0/dask_sphinx_theme/static/css/explore.css 0000664 0001750 0001750 00000003074 13346763316 026652 0 ustar mrocklin mrocklin 0000000 0000000 .wy-nav-side {
padding-top: 50px;
padding-bottom: 0rem;
}
.wy-nav-content {
margin-top: 50px;
}
#explore-links {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 300;
height: 50px;
line-height: 50px;
text-align: center;
background-color: black;
color: #ECB172;
display: flex;
}
#explore-links .caption {
flex: 0;
width: 300px;
max-height: 100%;
padding: 5px;
}
#explore-links a {
color: #ECB172;
}
#explore-links a:hover {
background-color: #343131;
}
@media (max-width: 768px) {
#explore-links {
display: none;
}
}
#explore-links ul { /* all lists... */
display: flex;
flex: 1;
color: #ECB172;
transition: .3s;
}
#explore-links li { /* all list items... */
flex: 1;
position: relative; /* set the origin for child boxes to be positioned from */
transition: .3s;
text-align: left;
max-width: 12rem;
}
#explore-links ul li a {
padding-left: 1rem;
display: block;
height: 100%;
}
#explore-links ul ul { /* lists within lists... */
left: 0; /* align them to the left of the parent list item - necessary for some older browsers */
top: 100%; /* align them to the bottom of the parent list item - again only necessary for older browsers */
display: none; /* hide 'em */
color: #ECB172;
background-color: black;
}
#explore-links li:hover ul { /* when list items are hovered over, do this to lists contained within them... */
display: block; /* show 'em */
}
#explore-links ul li:hover { /* when list items are hovered over, do this to lists contained within them... */
background-color: #343131;
}
dask_sphinx_theme-1.1.0/dask_sphinx_theme/static/css/style.css 0000664 0001750 0001750 00000002761 13344600527 026326 0 ustar mrocklin mrocklin 0000000 0000000 @import url("theme.css");
.rst-content h1,h2,h3,h4,h5{
font-family: 'Garamond', 'Georgia', serif;
font-weight: normal;
}
.rst-content h1 {
font-size: 240%;
}
.rst-content h2 {
font-size: 180%;
}
.rst-content h3 {
font-size: 160%;
}
.wy-menu-vertical li ul li a,
.wy-menu-vertical li.current a,
.wy-menu-vertical a {
color: #ECB172;
}
.wy-menu-vertical li.toctree-l2.current>a:hover,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a:hover,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a:hover,
.wy-menu-vertical li.current a:hover {
background: #404040;
color: #ECB172;
}
.wy-menu-vertical a:hover {
background: #303030;
}
.wy-side-nav-search>a img.logo,
.wy-side-nav-search .wy-dropdown>a img.logo {
width: 10rem
}
.wy-side-nav-search {
background-color: black;
}
.wy-side-nav-search>div.version {
display: none;
}
.wy-menu-vertical header,
.wy-menu-vertical p.caption {
color: #D67548;
}
.wy-menu-vertical li.on a,
.wy-menu-vertical li.current>a {
background: #303030;
border-top: none;
border-bottom: none;
}
.wy-menu-vertical ul,
.wy-side-scroll {
background-color: black;
}
.wy-menu-vertical li.toctree-l2.current>a,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a,
.wy-menu-vertical li ul {
background-color: #303030;
}
/* Mobile */
.wy-nav-top {
background: black;
}
.wy-nav-top a {
color: #ECB172;
}
.wy-nav-top i {
color: #ECB172;
}
.wy-breadcrumbs {
display: none;
}
dask_sphinx_theme-1.1.0/dask_sphinx_theme/theme.conf 0000664 0001750 0001750 00000000076 13344525731 024346 0 ustar mrocklin mrocklin 0000000 0000000 [theme]
inherit = sphinx_rtd_theme
stylesheet = css/style.css
dask_sphinx_theme-1.1.0/dask_sphinx_theme/__init__.py 0000664 0001750 0001750 00000000613 13352167133 024500 0 ustar mrocklin mrocklin 0000000 0000000 from os import path
__version__ = '1.1.0'
def get_html_theme_path():
"""Return list of HTML theme paths."""
cur_dir = path.abspath(path.dirname(path.dirname(__file__)))
return cur_dir
# See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
def setup(app):
app.add_html_theme('dask_sphinx_theme', path.abspath(path.dirname(__file__)))
dask_sphinx_theme-1.1.0/dask_sphinx_theme/layout.html 0000664 0001750 0001750 00000005273 13351710146 024576 0 ustar mrocklin mrocklin 0000000 0000000 {% extends "sphinx_rtd_theme/layout.html" %}
{% set css_files = css_files + ["_static/css/explore.css"] %}
{% set css_files = css_files + ["_static/css/nbsphinx.css"] %}
{% block extrabody %}
{% endblock %}
dask_sphinx_theme-1.1.0/PKG-INFO 0000664 0001750 0001750 00000001634 13352167177 020003 0 ustar mrocklin mrocklin 0000000 0000000 Metadata-Version: 1.0
Name: dask_sphinx_theme
Version: 1.1.0
Summary: Dask theme for Sphinx
Home-page: https://github.com/dask/dask-sphinx-theme/
Author: Dask Developers
Author-email: UNKNOWN
License: BSD
Description-Content-Type: UNKNOWN
Description: Dask Sphinx Theme
=================
This is the official Sphinx theme for Dask documentation. It extends the
``sphinx_rtd_theme`` project, but adds custom styling and a navigation bar to
additional Dask subprojects.
When creating a Dask subproject you can include this theme by changing this
line in your conf.py file
.. code-block:: python
html_theme = 'dask_sphinx_theme'
And by including ``dask_sphinx_theme`` as a requirement in your documentation
installation.
History
-------
Platform: UNKNOWN