Skip to content

Commit

Permalink
Merge pull request #122 from goldingn/rebuild_site
Browse files Browse the repository at this point in the history
rebuild website
  • Loading branch information
goldingn committed Feb 2, 2018
2 parents 39592c0 + b03f4e4 commit 4b457c2
Show file tree
Hide file tree
Showing 31 changed files with 795 additions and 185 deletions.
15 changes: 9 additions & 6 deletions docs/as_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script>
<link href="site_libs/highlightjs-1.1/default.css" rel="stylesheet" />
<script src="site_libs/highlightjs-1.1/highlight.js"></script>
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
<link href="site_libs/font-awesome-4.5.0/css/font-awesome.min.css" rel="stylesheet" />

<style type="text/css">code{white-space: pre;}</style>
Expand All @@ -34,10 +34,12 @@
}
</style>
<script type="text/javascript">
if (window.hljs && document.readyState && document.readyState === "complete") {
window.setTimeout(function() {
hljs.initHighlighting();
}, 0);
if (window.hljs) {
hljs.configure({languages: []});
hljs.initHighlightingOnLoad();
if (document.readyState && document.readyState === "complete") {
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
}
}
</script>

Expand Down Expand Up @@ -367,6 +369,7 @@ <h2 class="hasAnchor" id="examples">
<a class="anchor" href="#examples"></a>Examples
</h2>
<pre class="r">

<span class='co'># numeric/integer/logical vectors, matrices and arrays can all be coerced to</span>
<span class='co'># data greta arrays</span>

Expand Down
6 changes: 3 additions & 3 deletions docs/build_website.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ sections <- list(list(title = "creating greta arrays",
list(title = "modelling",
desc = "Define and visualise models and fit them to data",
members = c("model.html", "inference.html")),
list(title = "modules",
desc = "Collections of methods for doing more specialist analyses",
members = c("dynamics-module.html")))
list(title = "extending greta",
desc = "Write R packages that extend or use greta",
members = c("internals.html")))

# loop through these, splitting the existing index into these sections
sections_combined <- lapply(sections, make_section, data_index)
Expand Down
14 changes: 8 additions & 6 deletions docs/contribute.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<script src="site_libs/bootstrap-3.3.5/shim/html5shiv.min.js"></script>
<script src="site_libs/bootstrap-3.3.5/shim/respond.min.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script>
<link href="site_libs/highlightjs-1.1/default.css" rel="stylesheet" />
<script src="site_libs/highlightjs-1.1/highlight.js"></script>
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
<link href="site_libs/font-awesome-4.5.0/css/font-awesome.min.css" rel="stylesheet" />

<style type="text/css">code{white-space: pre;}</style>
Expand All @@ -31,10 +31,12 @@
}
</style>
<script type="text/javascript">
if (window.hljs && document.readyState && document.readyState === "complete") {
window.setTimeout(function() {
hljs.initHighlighting();
}, 0);
if (window.hljs) {
hljs.configure({languages: []});
hljs.initHighlightingOnLoad();
if (document.readyState && document.readyState === "complete") {
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
}
}
</script>

Expand Down
15 changes: 9 additions & 6 deletions docs/distribution.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<link href="site_libs/tocify-1.9.1/jquery.tocify.css" rel="stylesheet" />
<script src="site_libs/tocify-1.9.1/jquery.tocify.js"></script>
<script src="site_libs/navigation-1.1/tabsets.js"></script>
<link href="site_libs/highlightjs-1.1/default.css" rel="stylesheet" />
<script src="site_libs/highlightjs-1.1/highlight.js"></script>
<link href="site_libs/highlightjs-9.12.0/default.css" rel="stylesheet" />
<script src="site_libs/highlightjs-9.12.0/highlight.js"></script>
<link href="site_libs/font-awesome-4.5.0/css/font-awesome.min.css" rel="stylesheet" />

<style type="text/css">code{white-space: pre;}</style>
Expand All @@ -34,10 +34,12 @@
}
</style>
<script type="text/javascript">
if (window.hljs && document.readyState && document.readyState === "complete") {
window.setTimeout(function() {
hljs.initHighlighting();
}, 0);
if (window.hljs) {
hljs.configure({languages: []});
hljs.initHighlightingOnLoad();
if (document.readyState && document.readyState === "complete") {
window.setTimeout(function() { hljs.initHighlighting(); }, 0);
}
}
</script>

Expand Down Expand Up @@ -373,6 +375,7 @@ <h2 class="hasAnchor" id="examples">
<a class="anchor" href="#examples"></a>Examples
</h2>
<pre class="r">

<span class='co'># define a model likelihood</span>

<span class='co'># observed data and mean parameter to be estimated</span>
Expand Down
Loading

0 comments on commit 4b457c2

Please sign in to comment.