Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
akutz committed Nov 13, 2015
0 parents commit 4f9edc0
Show file tree
Hide file tree
Showing 32 changed files with 3,237 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .docs/.themes/yeti/base.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if page_description %}<meta name="description" content="{{ page_description }}">{% endif %}
{% if site_author %}<meta name="author" content="{{ site_author }}">{% endif %}
{% if canonical_url %}<link rel="canonical" href="{{ canonical_url }}">{% endif %}
{% if favicon %}<link rel="shortcut icon" href="{{ favicon }}">
{% else %}<link rel="shortcut icon" href="{{ base_url }}/img/favicon.ico">{% endif %}

<title>{% if page_title %}{{ page_title }} - {% endif %}{{ site_name }}</title>

<link href="{{ base_url }}/css/bootstrap-custom.min.css" rel="stylesheet">
<link href="{{ base_url }}/css/font-awesome-4.0.3.css" rel="stylesheet">
<link rel="stylesheet" href="{{ base_url }}/css/highlight.css">
<link href="{{ base_url }}/css/emccode-font.css" rel="stylesheet">
<link href="{{ base_url }}/css/base.css" rel="stylesheet">
{%- for path in extra_css %}
<link href="{{ path }}" rel="stylesheet">
{%- endfor %}

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

{% if google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', '{{ google_analytics[0] }}', '{{ google_analytics[1] }}');
ga('send', 'pageview');
</script>
{% endif %}
</head>

<body>

{% include "nav.html" %}
<div class="container {% if not page_title %}index{% endif %}">
<div class="col-md-3">{% include "toc.html" %}</div>
<div class="col-md-9" role="main">{% include "content.html" %}</div>
</div>

<script src="{{ base_url }}/js/jquery-1.10.2.min.js"></script>
<script src="{{ base_url }}/js/bootstrap-3.0.3.min.js"></script>
<script src="{{ base_url }}/js/highlight.pack.js"></script>
<script src="{{ base_url }}/js/base.js"></script>
{%- for path in extra_javascript %}
<script src="{{ path }}"></script>
{%- endfor %}
</body>
</html>
11 changes: 11 additions & 0 deletions .docs/.themes/yeti/content.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% if meta %}
{% if meta.source %}
<div class="source-links">
{% for filename in meta.source %}
<span class="label label-primary">{{ filename }}</span>
{% endfor %}
</div>
{% endif %}
{% endif %}

{{ content }}
158 changes: 158 additions & 0 deletions .docs/.themes/yeti/css/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
/* hide the RTD footer */
div.injected {
display: none !important;
}

li.divider {
background-color: rgba(255, 255, 255, 0.1) !important;
}

h1#rex-ray::before {
content: "r";
display: block;
font-family: "emccode" !important;
height: 100px;
font-size: 100px;
margin-top: -25px;
text-shadow: 2px 2px 3px rgba(0, 0, 0, .25);
}

@media (max-width: 768px) {
h1#rex-ray::before {
padding-top: 10px;
}
}

div.col-md-9 h1:first-of-type {
text-align: center;
font-size: 60px;
font-weight: 300;
text-shadow: 2px 2px 3px rgba(0, 0, 0, .25);
}

div.col-md-9 p:first-of-type {
text-align: center;
text-shadow: 2px 2px 3px rgba(0, 0, 0, .15);
}

div.col-md-9 p.admonition-title:first-of-type {
text-align: left;
}

div.col-md-9 h1:first-of-type .headerlink {
display: none;
}

body {
padding-top: 70px;
}

h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before {
content: "";
display: block;
margin-top: -75px;
height: 75px;
}

ul.nav li.main {
font-weight: bold;
}

div.col-md-3 {
padding-left: 0;
}

div.col-md-9 {
padding-bottom: 100px;
}

div.source-links {
float: right;
}

/*
* Side navigation
*
* Scrollspy and affixed enhanced navigation to highlight sections and secondary
* sections of docs content.
*/

/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
position: static;
}

.bs-sidebar.well {
padding: 0;
}

/* First level of nav */
.bs-sidenav {
margin-top: 30px;
margin-bottom: 30px;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 5px;
}

/* All levels of nav */
.bs-sidebar .nav > li > a {
display: block;
padding: 5px 20px;
z-index: 1;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
text-decoration: none;
border-right: 1px solid;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
font-weight: bold;
background-color: transparent;
border-right: 1px solid;
}

/* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav {
display: none; /* Hide by default, but at >768px, show it */
margin-bottom: 8px;
}
.bs-sidebar .nav .nav > li > a {
padding-top: 3px;
padding-bottom: 3px;
padding-left: 30px;
font-size: 90%;
}

/* Show and affix the side nav when space allows it */
@media (min-width: 992px) {
.bs-sidebar .nav > .active > ul {
display: block;
}
/* Widen the fixed sidebar */
.bs-sidebar.affix,
.bs-sidebar.affix-bottom {
width: 213px;
}
.bs-sidebar.affix {
position: fixed; /* Undo the static from mobile first approach */
top: 80px;
}
.bs-sidebar.affix-bottom {
position: absolute; /* Undo the static from mobile first approach */
}
.bs-sidebar.affix-bottom .bs-sidenav,
.bs-sidebar.affix .bs-sidenav {
margin-top: 0;
margin-bottom: 0;
}
}
@media (min-width: 1200px) {
/* Widen the fixed sidebar again */
.bs-sidebar.affix-bottom,
.bs-sidebar.affix {
width: 263px;
}
}
1 change: 1 addition & 0 deletions .docs/.themes/yeti/css/bootstrap-custom.min.css

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions .docs/.themes/yeti/css/emccode-font.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
@charset "UTF-8";

@font-face {
font-family: "emccode";
src:url("../fonts/emccode.eot");
src:url("../fonts/emccode.eot?#iefix") format("embedded-opentype"),
url("../fonts/emccode.woff") format("woff"),
url("../fonts/emccode.ttf") format("truetype"),
url("../fonts/emccode.svg#emccode") format("svg");
font-weight: normal;
font-style: normal;
}

[data-icon]:before {
font-family: "emccode" !important;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: "emccode" !important;
}

.icon-emccode-logo:before {
content: "e";
vertical-align: middle;
}

.icon-emccode-logo:after {
content: " EMC{code}";
}

.icon-rexray-logo:before {
content: "r";
vertical-align: middle;
}
Loading

0 comments on commit 4f9edc0

Please sign in to comment.