Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

/* Sidebar background color */
.wy-nav-side, div.wy-side-nav-search {
background-color: rgb(38, 34, 98);
}

/* Sidebar link click color */
.wy-menu-vertical .toctree-l1 > a:active {
background-color: rgb(38, 34, 98);
color: rgb(252, 252, 252);
}

/* Link color is darker to make hovering more clear */
.wy-menu-vertical .toctree-l1 > a:hover {
background-color: rgb(25, 22, 65);
color: rgb(252, 252, 252);
}

.wy-menu-vertical li.current > a:hover, .wy-menu-vertical li.current > a:active {
color: #404040;
background-color: #F5F5F5;
}

/* On hover over logo */
.wy-side-nav-search > a:hover, .wy-side-nav-search .wy-dropdown > a:hover {
background: inherit;
}

/* Border around search box */
.wy-side-nav-search input[type="text"] {
border: 0px;
}
Binary file added docs/_static/logo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ def __getattr__(cls, name):

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'sphinx_rtd_theme'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}
html_theme_options = {'logo_only': True}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
Expand All @@ -160,7 +160,11 @@ def __getattr__(cls, name):

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
html_logo = '_static/logo1.png'

# Add custom css
def setup(app):
app.add_stylesheet('custom.css')

# The name of an image file (relative to this directory) to use as a favicon of
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down
1 change: 1 addition & 0 deletions requirements_rtfd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ setuptools
setuptools_scm
sphinx
sphinx-issues
sphinx-rtd-theme
numpydoc
mock
numpy