Skip to content

Commit

Permalink
Closes Issue jsta#15, added 2 necessary karthik/dcTemplate files to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Marian L. Schmidt committed Jun 13, 2016
1 parent d434331 commit f698d9e
Show file tree
Hide file tree
Showing 9 changed files with 336 additions and 392 deletions.
6 changes: 4 additions & 2 deletions 01-what-and-why.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
title: "What is Docker and Why should I use it?"
output:
dcTemplate::dc_lesson_template:
html_document:
css: stylesheets/styles.css
template: stylesheets/default.html
highlight: pygments
fig_width: 6
fig_height: 6
highlight: pygments
---


Expand Down
6 changes: 4 additions & 2 deletions 02-Launching-Docker.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
title: "Launching RStudio in Docker"
output:
dcTemplate::dc_lesson_template:
html_document:
css: stylesheets/styles.css
template: stylesheets/default.html
highlight: pygments
fig_width: 6
fig_height: 6
highlight: pygments
---


Expand Down
6 changes: 4 additions & 2 deletions 03-install-packages.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
title: "Installing R Packages"
output:
dcTemplate::dc_lesson_template:
html_document:
css: stylesheets/styles.css
template: stylesheets/default.html
highlight: pygments
fig_width: 6
fig_height: 6
highlight: pygments
---


Expand Down
6 changes: 4 additions & 2 deletions 04-Dockerhub.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
title: "Pushing and Pulling to and from Docker Hub"
output:
dcTemplate::dc_lesson_template:
html_document:
css: stylesheets/styles.css
template: stylesheets/default.html
highlight: pygments
fig_width: 6
fig_height: 6
highlight: pygments
---


Expand Down
6 changes: 4 additions & 2 deletions 04-commit.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
title: "Committing Locally"
output:
dcTemplate::dc_lesson_template:
html_document:
css: stylesheets/styles.css
template: stylesheets/default.html
highlight: pygments
fig_width: 6
fig_height: 6
highlight: pygments
---


Expand Down
6 changes: 4 additions & 2 deletions r-docker-tutorial.Rmd
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
title: "R Docker tutorial"
output:
dcTemplate::dc_lesson_template:
html_document:
css: stylesheets/styles.css
template: stylesheets/default.html
highlight: pygments
fig_width: 6
fig_height: 6
highlight: pygments
---


Expand Down
149 changes: 149 additions & 0 deletions stylesheets/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
<!-- This template file was downloaded on June 13th, 2016 from https://github.com/karthik/dcTemplate/tree/master/inst/rmarkdown/templates/dc_lesson_template/resources developed by Karthik Ram and is under the GPL-3 license -->

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"$if(lang)$ lang="$lang$" xml:lang="$lang$"$endif$>

<head>

<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />

$for(author-meta)$
<meta name="author" content="$author-meta$" />
$endfor$

$if(date-meta)$
<meta name="date" content="$date-meta$" />
$endif$

<title>$if(title-prefix)$$title-prefix$ - $endif$$pagetitle$</title>

$for(header-includes)$
$header-includes$
$endfor$

$if(highlightjs)$
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet"
href="$highlightjs$/$if(highlightjs-theme)$$highlightjs-theme$$else$default$endif$.css"
$if(html5)$$else$type="text/css" $endif$/>
<script src="$highlightjs$/highlight.js"></script>
<style type="text/css">
pre:not([class]) {
background-color: white;
}
</style>
<script type="text/javascript">
if (window.hljs && document.readyState && document.readyState === "complete") {
window.setTimeout(function() {
hljs.initHighlighting();
}, 0);
}
</script>
$endif$

$if(highlighting-css)$
<style type="text/css">code{white-space: pre;}</style>
<style type="text/css">
$highlighting-css$
</style>
<style type="text/css">
pre:not([class]) {
background-color: white;
}
</style>

$endif$

$for(css)$
<link rel="stylesheet" href="$css$" $if(html5)$$else$type="text/css" $endif$/>
$endfor$

</head>

<body>

$if(theme)$
<style type = "text/css">
.main-container {
max-width: 1400px;
margin-left: auto;
margin-right: auto;
}
code {
color: inherit;
background-color: rgba(0, 0, 0, 0.04);
}
img {
max-width:100%;
height: auto;
}
</style>
<div class="container-fluid main-container">
<div class="row">
<div class="col-md-11 col-md-offset-1 page">
$endif$

$for(include-before)$
$include-before$
$endfor$

$if(title)$
<div id="$idprefix$header">
<h1 class="title">$title$</h1>
$if(subtitle)$
<h1 class="subtitle">$subtitle$</h1>
$endif$
$for(author)$
$if(author.name)$
<h4 class="author"><em>$author.name$</em></h4>
$if(author.affiliation)$
<address class="author_afil">
$author.affiliation$<br>$endif$
$if(author.email)$
<a class="author_email" href="mailto:#">$author.email$</a>
</address>
$endif$
$else$
<h4 class="author"><em>$author$</em></h4>
$endif$
$endfor$
$if(date)$
<h4 class="date"><em>$date$</em></h4>
$endif$
</div>
$endif$

$if(toc)$
<div id="$idprefix$TOC">
$toc$
</div>
$endif$

$body$

$for(include-after)$
$include-after$
$endfor$

$if(theme)$
</div>
</div>
</div>

<script>

// add bootstrap table styles to pandoc tables
$$(document).ready(function () {
$$('tr.header').parent('thead').parent('table').addClass('table table-condensed');
});

</script>
$endif$



</body>
</html>
116 changes: 0 additions & 116 deletions stylesheets/github-light.css

This file was deleted.

Loading

0 comments on commit f698d9e

Please sign in to comment.