Skip to content

Commit a122bf4

Browse files
author
connors
committed
Jekyll the docs.
1 parent 431c4e9 commit a122bf4

29 files changed

+1225
-1210
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ nbproject
3333
.svn
3434
.CVS
3535
.idea
36-
node_modules
36+
node_modules
37+
_site

_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: Ratchet
2+
authors: Connor Sears, Dave Gamache, and Jacob Thornton
3+
description: Prototype iPhone apps with simple HTML, CSS, and JS components.
4+
url: http://maker.github.io/ratchet

_includes/components.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
components.html

_includes/footer.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<div class="docs-outer-wrapper docs-footer">
2+
<section class="content-section">
3+
<div class="docs-inner-wrapper">
4+
<h3>License &amp; credit</h3>
5+
<p>Ratchet is under the the MIT license, meaning you're basically free to use the framework as you please. Ratchet was lovingly crafted by <a data-ignore="push" href="http://www.twitter.com/dhg">Dave Gamache</a>, <a data-ignore="push" href="http://www.twitter.com/connors">Connor Sears</a>, and <a data-ignore="push" href="http://www.twitter.com/fat">Jacob Thornton</a>.</p>
6+
</div>
7+
</section>
8+
</div>

_includes/header.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<meta charset="utf-8">
2+
<title>{{ site.name }}</title>
3+
<meta name="description" content="{{ site.name }}: {{ site.description }}">
4+
<meta name="author" content="{{ site.authors }}">
5+
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
6+
<link rel="shortcut icon" href="favicon.ico"/>
7+
<meta name="apple-mobile-web-app-capable" content="yes">
8+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
9+
<link rel="stylesheet" href="../dist/ratchet.css">
10+
<link rel="stylesheet" href="assets/css/docs.css">
11+
<link rel="stylesheet" href="assets/css/prettify.css">
12+
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
13+
14+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="assets/img/apple-touch-icon-114x114.png">
15+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="assets/img/apple-touch-icon-72x72.png">
16+
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="assets/img/apple-touch-icon-57x57.png">
17+
18+
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
19+
<script src="assets/js/prettify.js"></script>
20+
<script src="../dist/ratchet.js"></script>
21+
<script src="assets/js/docs.js"></script>
22+
<script src="assets/js/fingerblast.js"></script>
23+
<script type="text/javascript">
24+
25+
var _gaq = _gaq || [];
26+
_gaq.push(['_setAccount', 'UA-36050008-1']);
27+
_gaq.push(['_trackPageview']);
28+
29+
(function() {
30+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
31+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
32+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
33+
})();
34+
35+
</script>

_includes/jumbotron.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<header class="docs-outer-wrapper docs-header">
2+
<div class="docs-inner-wrapper">
3+
<hgroup class="docs-header-text">
4+
<h2 class="docs-header-subtitle">Prototype iPhone apps with simple HTML, CSS, and JS components.</h2>
5+
<a data-ignore="push" href="http://maker.github.com/ratchet/ratchet.zip" class="docs-btn" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V1.0']);">Download Ratchet</a>
6+
</hgroup>
7+
</div>
8+
<section class="social">
9+
<ul>
10+
<li>
11+
<iframe src="http://ghbtns.com/github-btn.html?user=maker&repo=ratchet&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
12+
</li>
13+
<li>
14+
<a data-ignore="push" href="https://twitter.com/share" class="twitter-share-button" data-url="http://maker.github.com/ratchet/" data-text="Ratchet: Prototype iPhone apps with simple HTML, CSS and JS components." data-via="GoRatchet">Tweet</a>
15+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
16+
</li>
17+
<li><a data-ignore="push" href="https://twitter.com/GoRatchet" class="twitter-follow-button" data-show-count="true">
18+
Follow @GoRatchet</a>
19+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
20+
</li>
21+
</ul>
22+
</section>
23+
</header>

_includes/nav.html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<nav class="docs-outer-wrapper docs-masthead">
2+
<div class="docs-inner-wrapper">
3+
<ul class="docs-navigation">
4+
<li class="nav-item"><a href="#gettingStarted">Getting started</a></li>
5+
<li class="nav-item nav-components">
6+
<a data-ignore="push" class="nav-components-link" href="">Components</a>
7+
<ul class="components-list">
8+
<li><a href="#bars">Bars</a></li>
9+
<li><a href="#table-views">Table views</a></li>
10+
<li><a href="#buttons">Buttons</a></li>
11+
<li><a href="#segmentedControllers">Segmented controllers</a></li>
12+
<li><a href="#counts">Counts</a></li>
13+
<li><a href="#forms">Forms</a></li>
14+
<li><a href="#toggles">Toggles</a></li>
15+
<li><a href="#popovers">Popovers</a></li>
16+
<li><a href="#modals">Modals</a></li>
17+
<li><a href="#sliders">Sliders</a></li>
18+
<li><a href="#push">Push</a></li>
19+
</ul>
20+
</li>
21+
<li class="nav-item"><a href="#pageSetup">Page setup</a></li>
22+
<li data-ignore="push" class="nav-item"><a href="http://github.com/maker/ratchet">View on GitHub</a></li>
23+
</ul>
24+
<h1 class="docs-masthead-title">Ratchet</h1>
25+
</div>
26+
</nav>

_layouts/default.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
{% include header.html %}
5+
</head>
6+
<body ontouchstart="">
7+
<!-- Masthead & navigation -->
8+
{% include nav.html %}
9+
10+
<!-- Jumbotron -->
11+
{% include jumbotron.html %}
12+
13+
<!-- Page content -->
14+
{{ content }}
15+
16+
<!-- Footer -->
17+
{% include footer.html %}
18+
</body>
19+
</html>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)