Force add html files

This commit is contained in:
hadley 2015-07-27 17:33:47 -05:00
parent 933b699cb6
commit 18ccf69545
4 changed files with 106 additions and 0 deletions

BIN
_includes/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,20 @@
<!--
<li class="dropdown-header">Getting started</li>
<li><a href="intro.html">Introduction</a></li>
<li><a href="package.html">Package structure</a></li>
<li class="dropdown-header">Package components</li>
<li><a href="r.html">Code (<code>R/</code>)</a></li>
<li><a href="description.html">Package metadata (<code>DESCRIPTION</code>)</a></li>
<li><a href="man.html">Object documentation (<code>man/</code>)</a></li>
<li><a href="vignettes.html">Vignettes (<code>vignettes/</code>)</a></li>
<li><a href="tests.html">Testing (<code>tests/</code>)</a></li>
<li><a href="namespace.html">Namespaces (<code>NAMESPACE</code>)</a></li>
<li><a href="data.html">Data (<code>data/</code>)</a></li>
<li><a href="src.html">Compiled code (<code>src/</code>)</a></li>
<li><a href="inst.html">Installed files (<code>inst/</code>)</a></li>
<li><a href="misc.html">Other components</a></li>
<li class="dropdown-header">Best practices</li>
<li><a href="git.html">Git and GitHub</a></li>
<li><a href="check.html">Checking</a></li>
<li><a href="release.html">Release</a></li>
-->

77
_layouts/default.html Normal file
View File

@ -0,0 +1,77 @@
<!DOCTYPE html>
<html>
<head>
<title>{{page.title}} &middot; R packages</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="www/bootstrap.min.css" rel="stylesheet">
<link href="www/highlight.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Inconsolata:400,700'
rel='stylesheet' type='text/css'>
</head>
<body>
<div class="container">
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Table of contents <b class="caret"></b>
</a>
<ul class="dropdown-menu pull-right" role="menu">
{% include package-nav.html %}
</ul>
</li>
</ul>
<h3 class="muted"><a href="/">R for data science</a> <small>by Garrett Grolemund and Hadley Wickham</small></h3>
<hr>
</div>
<div class="row">
<div class="col-xs-12 col-sm-3" id="nav">
<h4>Contents</h4>
<ul class="list-unstyled" id="toc"></ul>
<hr>
<p><a href="/contribute.html">How to contribute</a></p>
<p><a class="btn btn-primary" href="https://github.com/hadley/r4ds/edit/master/{{page.path}}">Edit this page</a></p>
</div>
<div id="content" class="col-xs-12 col-sm-8 pull-right">
{{ content }}
</div>
</div>
<div class="footer">
<hr>
<p>&copy; Garrett Grolemund &amp; Hadley Wickham. Powered by <a href="http://jekyllrb.com/">jekyll</a>,
<a href="http://yihui.name/knitr/">knitr</a>, and
<a href="http://johnmacfarlane.net/pandoc/">pandoc</a>. Source
available on <a href="https://github.com/hadley/r4ds/">github</a>.
</p>
</div>
</div> <!-- /container -->
<script src="//code.jquery.com/jquery.js"></script>
<script src="www/bootstrap.min.js"></script>
<script src="www/toc.js"></script>
<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', 'UA-67989-17', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

9
_layouts/post.html Normal file
View File

@ -0,0 +1,9 @@
---
layout: default
---
<h2>{{ page.title }}</h2>
<p class="meta">{{ page.date | date_to_string }}</p>
<div class="post">
{{ content }}
</div>