Unverified Commit e1e1977c authored by Yan Ni's avatar Yan Ni Committed by GitHub
Browse files

homepage migration to readthedocs (#2483)



* create Dev homepage (#2101)

create dev homepage for lijiao

* Doc homepage (#2102)

update index

* update (#2413)
Co-authored-by: default avatarLijiao <15910218274@163.com>

* Final doc (#2436)

* change font-family Segoe

* update
Co-authored-by: default avatarLijiao <15910218274@163.com>

* chang font-family (#2438)

"Lato", segoe ui, "proxima-nova","Helvetica Neue",Arial,sans-serif

* update index.html (#2441)

* change font-family Segoe

* update
Co-authored-by: default avatarLijiao <15910218274@163.com>

* change font-family Segoe (#2453)
Co-authored-by: default avatarLijiao <15910218274@163.com>

* Update layout.html (#2469)

* change font-family Segoe (#2478)
Co-authored-by: default avatarLijiao <15910218274@163.com>

* Update index.html (#2482)

* add chinese doc link (#2512)

* add chinese doc link

* update
Co-authored-by: default avatarLijiao <15910218274@163.com>

* change link (#2519)
Co-authored-by: default avatarLijiao <15910218274@163.com>

* update release version

* update wechat group QRcode

* update wechat image (#2533)

* update wechat image

* update link
Co-authored-by: default avatarLijiao <15910218274@163.com>

* fix broken link (#2542)
Co-authored-by: default avatarLijiao <15910218274@163.com>
Co-authored-by: default avatarLijiaoa <61399850+Lijiaoa@users.noreply.github.com>
Co-authored-by: default avatarLijiao <15910218274@163.com>
parent 74e5ea90
...@@ -341,7 +341,7 @@ With authors' permission, we listed a set of NNI usage examples and relevant art ...@@ -341,7 +341,7 @@ With authors' permission, we listed a set of NNI usage examples and relevant art
Join IM discussion groups: Join IM discussion groups:
|Gitter||WeChat| |Gitter||WeChat|
|----|----|----| |----|----|----|
|<img src="https://user-images.githubusercontent.com/39592018/80665738-e0574a80-8acc-11ea-91bc-0836dc4cbf89.png" width="180"/>| OR |<img src="https://user-images.githubusercontent.com/39592018/83856705-8e00ed80-a74c-11ea-95dc-2525b61a09e0.png" width="180"/>| |![image](https://user-images.githubusercontent.com/39592018/80665738-e0574a80-8acc-11ea-91bc-0836dc4cbf89.png)| OR |![image](https://github.com/scarlett2018/nniutil/raw/master/wechat.png)|
## Related Projects ## Related Projects
......
This diff is collapsed.
{% 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 %}
...@@ -64,7 +64,7 @@ source_parsers = { ...@@ -64,7 +64,7 @@ source_parsers = {
source_suffix = ['.rst', '.md'] source_suffix = ['.rst', '.md']
# The master toctree document. # The master toctree document.
master_doc = 'index' master_doc = 'contents'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
...@@ -82,6 +82,10 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'Release_v1.0.md'] ...@@ -82,6 +82,10 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'Release_v1.0.md']
pygments_style = None pygments_style = None
html_additional_pages = {
'index': 'index.html',
}
# -- Options for HTML output ------------------------------------------------- # -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
......
.wy-table-responsive table td, .wy-table-responsive table th{ .wy-table-responsive table td, .wy-table-responsive table th{
white-space:normal 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;
}
.wy-side-nav-search>div.version{
color: #fff !important;
}
.list{
width: 90%;
margin: 0 auto;
}
.chinese{
margin-bottom: 16px;
}
.QR{
width: 180px;
}
.or{
vertical-align: middle;
}
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment