Skip to content

Commit c3f8faf

Browse files
committed
FIRST
0 parents  commit c3f8faf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+37975
-0
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_site

Diff for: _config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: Node-RED
2+
markdown: kramdown
3+
pygments: true

Diff for: _includes/footer.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<div class="container">
2+
<div class="footer">
3+
<p>&copy; IBM Corp. 2013</p>
4+
</div>
5+
</div>
6+
<script src="jquery/js/jquery-1.9.1.js"></script>
7+
<script src="bootstrap/js/bootstrap.min.js"></script>
8+
</body>

Diff for: _includes/header.html

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE html>
2+
<html lang="en"><head>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Node-RED{% if page.title %} : {{ page.title }}{% endif %}</title>
7+
<!-- BOOTSTRAPS -->
8+
<link href='http://fonts.googleapis.com/css?family=Roboto+Slab:400,700,300,100' rel='stylesheet' type='text/css'>
9+
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
10+
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
11+
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
12+
<link href="/bootstrap/css/bootstrap.slate.min.css" rel="stylesheet" media="screen">
13+
<link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
14+
<!--
15+
<link href="http://bootstrapstyler.com/preview/_/adaptive/css/styler/theme.css" rel="stylesheet">
16+
<link href="http://bootstrapstyler.com/preview/_/adaptive/css/styler/theme-responsive-767.css" rel="stylesheet">
17+
<link href="http://bootstrapstyler.com/preview/_/adaptive/css/styler/theme-responsive-768-979.css" rel="stylesheet">
18+
-->
19+
20+
<link href="/css/style.css" rel="stylesheet" media="screen">
21+
</head>
22+
<body>
23+
<div class="navbar navbar-inverse navbar-fixed-top shadow">
24+
<div class="navbar-inner">
25+
<div class="container">
26+
<!--
27+
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
28+
<span class="icon-bar"></span>
29+
<span class="icon-bar"></span>
30+
<span class="icon-bar"></span>
31+
</button>
32+
-->
33+
<a class="brand" href="/"><img src="/node-red.png"> Node-RED</a>
34+
<!--
35+
<div class="nav-collapse collapse pull-right">
36+
<ul class="nav">
37+
<li><a href="getting-started.html">getting started</a></li>
38+
<li><a href="#contact">download</a></li>
39+
<li><a href="#contact">documentation</a></li>
40+
</ul>
41+
</div>
42+
-->
43+
</div>
44+
</div>
45+
</div>

Diff for: _layouts/barebones.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% include header.html %}
2+
{{ content }}
3+
{% include footer.html %}

Diff for: _layouts/default.html

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{% include header.html %}
2+
<div class="banner">
3+
<div class="container main-content shadow">
4+
<div class="row-fluid">
5+
<div class="span3">
6+
<ul class="toc">
7+
{% capture toc %}
8+
{% for p in site.pages %}
9+
{% if p.path contains "docs/" %}
10+
<li><a data-toc-index="{{ p.toc-index }}" href="{{ p.url }}" {% if p.path == page.path %}class="active"{% endif %}><i class="icon icon-caret-right"></i> {{ p.title }}</a></li>
11+
{% endif %}
12+
{% endfor %}
13+
{% endcapture%}
14+
{% render_toc toc %}
15+
</ul>
16+
</div>
17+
<div class="span9">
18+
<h3 class="pagetitle">{{ page.title }}</h3>
19+
{{ content }}
20+
</div>
21+
</div>
22+
</div>
23+
</div>
24+
{% include footer.html %}

Diff for: _plugins/toc-sort.rb

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module Jekyll
2+
class RenderSortedTOC < Liquid::Tag
3+
4+
def initialize(tag_name, text, tokens)
5+
super
6+
@text = text
7+
end
8+
9+
def render(context)
10+
lines = context[@text].split("\n").sort()
11+
"#{lines}"
12+
end
13+
end
14+
end
15+
16+
Liquid::Template.register_tag('render_toc', Jekyll::RenderSortedTOC)

0 commit comments

Comments
 (0)