Skip to content

Commit

Permalink
Kanister docs read_the_docs theme (#5175)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavannd1 authored and Ilya Kislenko committed Mar 11, 2019
1 parent a84e267 commit c8e9cd8
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 8 deletions.
33 changes: 33 additions & 0 deletions docs/_static/custom_new.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.wy-nav-content {
max-width: 1200px !important;
}

.wy-side-nav-search {
background-color: #daebf1;
}

.wy-side-nav-search>div.version,
.wy-side-nav-search>a,
.wy-side-nav-search .wy-dropdown>a {
color: #555;
}

.wy-table-responsive table {
width: 100%;
}

.wy-table-responsive table td,.wy-table-responsive table th {
white-space: normal;
}

.wy-table-responsive table colgroup col {
width: auto;
}

.highlight-yaml span.l.l-Scalar.l-Scalar-Plain {
color: #E74C3C;
}

.highlight-yaml span.p.p-Indicator + span.l.l-Scalar.l-Scalar-Plain {
color: inherit;
}
Binary file added docs/_static/kanister-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
html_theme = 'sphinx_rtd_theme'

html_sidebars = {
'**': [
Expand All @@ -100,12 +100,11 @@
# documentation.
#
html_theme_options = {
'show_powered_by': 'false',
'description': '',
'logo': 'kanister.svg',
'logo_name': 'Kanister Logo'
'canonical_url': 'https://docs.kanister.io',
}

html_logo = '_static/kanister-logo.png'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
Expand All @@ -118,7 +117,7 @@
html_favicon = "_static/favicon.ico"

html_context = {
'css_files': ['_static/custom.css'],
'css_files': ['_static/custom_new.css'],
}

# -- Options for HTMLHelp output ------------------------------------------
Expand Down
8 changes: 6 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
Kanister: Application-Specific Data Management
**********************************************

.. image:: https://goreportcard.com/badge/github.com/kanisterio/kanister
:target: https://goreportcard.com/report/github.com/kanisterio/kanister
.. image:: https://travis-ci.org/kanisterio/kanister.svg?branch=master
:target: https://travis-ci.org/kanisterio/kanister

Kanister allows domain experts to capture application-specific data management
tasks in Blueprints which can be easily shared and extended. The framework takes
care of the tedious details around execution on Kubernetes and presents a
homogeneous operational experience across applications at scale.

.. toctree::
:hidden:
:maxdepth: 2

self
overview
usage
architecture
Expand Down

0 comments on commit c8e9cd8

Please sign in to comment.