Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

homepage migration to readthedocs #2483

Merged
merged 17 commits into from
Jun 10, 2020
Merged
506 changes: 506 additions & 0 deletions docs/en_US/_templates/index.html

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions docs/en_US/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{% extends "!layout.html" %}
{% block sidebartitle %}

{% if logo and theme_logo_only %}
<a href="{{ pathto('index') }}">
{% else %}
<a href="{{ pathto('index') }}" class="icon icon-home"> {{ project }}
{% endif %}

{% if logo %}
{# Not strictly valid HTML, but it's the only way to display/scale it properly, without weird scripting or heaps of work #}
<img src="{{ pathto('_static/' + logo, 1) }}" class="logo" />
{% endif %}
</a>

{% if theme_display_version %}
{%- set nav_version = version %}
{% if READTHEDOCS and current_version %}
{%- set nav_version = current_version %}
{% endif %}
{% if nav_version %}
<div class="version">
{{ nav_version }}
</div>
{% endif %}
{% endif %}

{% include "searchbox.html" %}

{% endblock %}
6 changes: 5 additions & 1 deletion docs/en_US/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
source_suffix = ['.rst', '.md']

# The master toctree document.
master_doc = 'index'
master_doc = 'contents'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand All @@ -82,6 +82,10 @@
pygments_style = None


html_additional_pages = {
'index': 'index.html',
}

# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
Expand Down
File renamed without changes.
92 changes: 92 additions & 0 deletions docs/static/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,95 @@
.wy-table-responsive table td, .wy-table-responsive table th{
white-space:normal
}

.title {
padding-bottom: 6px;
border-bottom: 1px solid #ccc;
}

.second-title{
margin-top: 14px;
}
/* command style */
.command {
background-color: #f8f8f8;
border: 1px solid #e1e4e5;
height: 40px;
line-height: 40px;
font-size: 12px;
padding-left: 10px;
}

.command-intro {
line-height: 40px;
}

.code{
background-color: #f8f8f8;
padding: 15px 20px;
}

/* p margin-top: 24 */
.topMargin{
margin-top: 24px;
}

/* document body width */
.wy-nav-content{
max-width: 100% !important;
background-color: #fff;
}

/* nni logo bgcolor */
.wy-side-nav-search{
background-color: black;
}

/* document body font-family */
.wy-body-for-nav, h1, h2, h3, h4, h5, h6, div, p, ul, li, a{
font-family: "Lato", segoe ui, "proxima-nova","Helvetica Neue",Arial,sans-serif;
}

.wy-nav-content ul li{
list-style: disc;
margin-bottom: 12px;
margin-left: 24px;
}

.list, .list tr, .list td{
border: 1px solid #ccc;
}

.column b{
padding-bottom: 4px;
border-bottom: 2px solid blue;
}
.column td{
width: 200px;
text-align: center;
line-height: 36px;
}
td.framework{
width:300px;
-webkit-width: 220px;
}
.list .circle li{
list-style-type: circle;
}

.list .firstUl, .circle{
padding-left: 20px;
}

.list .verticalMiddle{
vertical-align: middle !important;
text-align: center;
}

.inline img, .inline h3{
display: inline-block;
}

.ui-img img{
height: 230px;
}
1 change: 1 addition & 0 deletions docs/static/img/overview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/img/release_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.