Skip to content

Commit d45c123

Browse files
committed
Deployed 2a5fdd8 with MkDocs version: 0.15.3
1 parent 0d6f3d9 commit d45c123

18 files changed

+584
-204
lines changed

.nojekyll

Whitespace-only changes.

__init__.py

Whitespace-only changes.

__init__.pyc

215 Bytes
Binary file not shown.

base.html

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
{% if page_description %}<meta name="description" content="{{ page_description }}">{% endif %}
8+
{% if site_author %}<meta name="author" content="{{ site_author }}">{% endif %}
9+
{% if canonical_url %}<link rel="canonical" href="{{ canonical_url }}">{% endif %}
10+
{% if favicon %}<link rel="shortcut icon" href="{{ favicon }}">
11+
{% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}
12+
13+
<title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>
14+
15+
<link href="{{ base_url }}/css/bootstrap-custom.min.css" rel="stylesheet">
16+
<link href="{{ base_url }}/css/font-awesome-4.0.3.css" rel="stylesheet">
17+
<link rel="stylesheet" href="{{ base_url }}/css/highlight.css">
18+
<link href="{{ base_url }}/css/base.css" rel="stylesheet">
19+
{%- for path in extra_css %}
20+
<link href="{{ path }}" rel="stylesheet">
21+
{%- endfor %}
22+
23+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
24+
<!--[if lt IE 9]>
25+
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
26+
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
27+
<![endif]-->
28+
29+
{% if google_analytics %}
30+
<script>
31+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
32+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
33+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
34+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
35+
36+
ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
37+
ga('send', 'pageview');
38+
</script>
39+
{% endif %}
40+
</head>
41+
42+
<body>
43+
44+
{% include "nav.html" %}
45+
46+
<div class="container">
47+
<div class="col-md-3">{% include "toc.html" %}</div>
48+
<div class="col-md-9" role="main">{% include "content.html" %}</div>
49+
</div>
50+
51+
<footer class="col-md-12">
52+
<hr>
53+
{% if copyright %}
54+
<center>{{ copyright }}</center>
55+
{% endif %}
56+
<center>Documentation built with <a href="http://www.mkdocs.org/">MkDocs</a>.</center>
57+
</footer>
58+
59+
<script src="{{ base_url }}/js/jquery-1.10.2.min.js"></script>
60+
<script src="{{ base_url }}/js/bootstrap-3.0.3.min.js"></script>
61+
<script src="{{ base_url }}/js/highlight.pack.js"></script>
62+
<script>var base_url = '{{ base_url }}';</script>
63+
<script data-main="{{ base_url }}/mkdocs/js/search.js" src="{{ base_url }}/mkdocs/js/require.js"></script>
64+
<script src="{{ base_url }}/js/base.js"></script>
65+
{%- for path in extra_javascript %}
66+
<script src="{{ path }}"></script>
67+
{%- endfor %}
68+
69+
<div class="modal" id="mkdocs_search_modal" tabindex="-1" role="dialog" aria-labelledby="Search Modal" aria-hidden="true">
70+
<div class="modal-dialog">
71+
<div class="modal-content">
72+
<div class="modal-header">
73+
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
74+
<h4 class="modal-title" id="exampleModalLabel">Search</h4>
75+
</div>
76+
<div class="modal-body">
77+
<p>
78+
From here you can search these documents. Enter
79+
your search terms below.
80+
</p>
81+
<form role="form">
82+
<div class="form-group">
83+
<input type="text" class="form-control" placeholder="Search..." id="mkdocs-search-query">
84+
</div>
85+
</form>
86+
<div id="mkdocs-search-results"></div>
87+
</div>
88+
<div class="modal-footer">
89+
</div>
90+
</div>
91+
</div>
92+
</div>
93+
</body>
94+
</html>

content.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% if meta.source %}
2+
<div class="source-links">
3+
{% for filename in meta.source %}
4+
<span class="label label-primary">{{ filename }}</span>
5+
{% endfor %}
6+
</div>
7+
{% endif %}
8+
9+
{{ content }}

css/base.css

Lines changed: 102 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,42 @@ body {
22
padding-top: 70px;
33
}
44

5-
h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before {
5+
/*
6+
* The code below adds some padding to the top of the current anchor target so
7+
* that, when navigating to it, the header isn't hidden by the navbar at the
8+
* top. This is especially complicated because we want to *remove* the padding
9+
* after navigation so that hovering over the header shows the permalink icon
10+
* correctly. Thus, we create a CSS animation to remove the extra padding after
11+
* a second. We have two animations so that navigating to an anchor within the
12+
* page always restarts the animation.
13+
*
14+
* See <https://github.com/mkdocs/mkdocs/issues/843> for more details.
15+
*/
16+
:target::before {
617
content: "";
718
display: block;
819
margin-top: -75px;
920
height: 75px;
21+
pointer-events: none;
22+
animation: 0s 1s forwards collapse-anchor-padding-1;
23+
}
24+
25+
body.clicky :target::before {
26+
animation-name: collapse-anchor-padding-2;
27+
}
28+
29+
@keyframes collapse-anchor-padding-1 {
30+
to {
31+
margin-top: 0;
32+
height: 0;
33+
}
34+
}
35+
36+
@keyframes collapse-anchor-padding-2 {
37+
to {
38+
margin-top: 0;
39+
height: 0;
40+
}
1041
}
1142

1243
ul.nav li.main {
@@ -25,6 +56,26 @@ div.source-links {
2556
float: right;
2657
}
2758

59+
div.col-md-9 img {
60+
max-width: 100%;
61+
}
62+
63+
code {
64+
padding: 1px 3px;
65+
background: #ecf0f1;
66+
border: solid 1px #ccc;
67+
color: #7b8a8b;
68+
}
69+
70+
pre code {
71+
background: transparent;
72+
border: none;
73+
}
74+
75+
a > code {
76+
color: #18bc9c;
77+
}
78+
2879
/*
2980
* Side navigation
3081
*
@@ -111,3 +162,53 @@ div.source-links {
111162
width: 263px;
112163
}
113164
}
165+
166+
.headerlink {
167+
display: none;
168+
padding-left: .5em;
169+
}
170+
171+
h1:hover .headerlink, h2:hover .headerlink, h3:hover .headerlink, h4:hover .headerlink, h5:hover .headerlink, h6:hover .headerlink{
172+
display:inline-block;
173+
}
174+
175+
/* display submenu relative to parent*/
176+
.dropdown-submenu {
177+
position: relative;
178+
}
179+
180+
/* sub menu stlye */
181+
.dropdown-submenu>.dropdown-menu {
182+
top: 0;
183+
left: 100%;
184+
margin-top: 0px;
185+
margin-left: -1px;
186+
-webkit-border-radius: 0 4px 4px 4px;
187+
-moz-border-radius: 0 4px 4px;
188+
border-radius: 0 4px 4px 4px;
189+
}
190+
191+
/* display sub menu on hover*/
192+
.dropdown-submenu:hover>.dropdown-menu {
193+
display: block;
194+
}
195+
196+
/* little arrow */
197+
.dropdown-submenu>a:after {
198+
display: block;
199+
content: " ";
200+
float: right;
201+
width: 0;
202+
height: 0;
203+
border-color: transparent;
204+
border-style: solid;
205+
border-width: 5px 0 5px 5px;
206+
border-left-color: #ccc;
207+
margin-top: 5px;
208+
margin-right: -10px;
209+
}
210+
211+
/* little arrow of parent menu */
212+
.dropdown-submenu:hover>a:after {
213+
border-left-color: #404040;
214+
}

fonts/fontawesome-webfont.eot

100644100755
File mode changed.

fonts/fontawesome-webfont.svg

100644100755
File mode changed.

fonts/fontawesome-webfont.ttf

100644100755
File mode changed.

fonts/fontawesome-webfont.woff

100644100755
File mode changed.

0 commit comments

Comments
 (0)