mirror of
https://github.com/dhall-lang/dhall-kubernetes.git
synced 2024-09-17 10:27:08 +03:00
Deployed 7fb699d
with MkDocs version: 1.0.4
This commit is contained in:
commit
e8f1abea7d
369
apply/index.html
Normal file
369
apply/index.html
Normal file
@ -0,0 +1,369 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:400,500,700" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
/* Modular scale with exponent 1.26, about 2^(1/3), so we get 2em in there,
|
||||
which is convenient. 1.26 is also close to (golden ratio)^0.5.
|
||||
0.63em
|
||||
0.80em
|
||||
1.00em
|
||||
1.26em
|
||||
1.59em
|
||||
2.00em
|
||||
*/
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.59em;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: auto 16rem 50rem auto;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "sidebar sidebar main x""sidebar sidebar main x";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
color: #444;
|
||||
margin-bottom: 1.59rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1.9rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.59rem;
|
||||
margin-top: 3.38rem;
|
||||
margin-bottom: 1.39rem;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.59rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
/* Roboto Mono 500 is about as heavy as Inter semibold (600). */
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
abbr {
|
||||
text-transform: uppercase;
|
||||
/* Downsize so caps are x-height, and compensate weight loss. */
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
/* Don't disturb the line height of normal text. */
|
||||
line-height: 0rem;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
p>code,
|
||||
a>code,
|
||||
h3>code,
|
||||
li>code,
|
||||
td>code {
|
||||
background-color: #f0f0f0;
|
||||
padding: 0.13rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
border-radius: 0.2rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 2.29rem;
|
||||
margin-bottom: 0.89rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
margin-left: -0.1rem;
|
||||
}
|
||||
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
pre,
|
||||
table {
|
||||
/* Same space as line height, leave exactly one line blank. */
|
||||
margin-bottom: 1.59em;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1.41rem;
|
||||
padding-right: 0;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 0 0.2rem 0.2rem 0;
|
||||
border-left: 0.3rem solid #d5d8e0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
pre>code {
|
||||
margin-right: 1.41rem;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
list-style-type: none;
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
table {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #326ce5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main>ul li:before {
|
||||
color: #555;
|
||||
content: '\2022';
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
margin-left: -0.9rem;
|
||||
width: 0.9rem;
|
||||
}
|
||||
|
||||
main>li {
|
||||
margin-left: 0.87rem;
|
||||
}
|
||||
|
||||
ol li:before {
|
||||
content: counter(item);
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
width: 0.8rem;
|
||||
margin-left: -1.6rem;
|
||||
padding-right: 0.8rem;
|
||||
}
|
||||
|
||||
ol li {
|
||||
margin-left: 1.6rem;
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
display: grid;
|
||||
grid-area: sidebar;
|
||||
grid-template-columns: auto 16rem;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "x logo""x toc";
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 100%;
|
||||
grid-area: logo;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
#sidebar>nav {
|
||||
grid-area: toc;
|
||||
}
|
||||
|
||||
#sidebar>nav ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#sidebar>nav li ul {
|
||||
padding-top: 0.3rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-section {
|
||||
padding-top: 1.59rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: 0.3em solid #d5d8e0;
|
||||
padding-left: 1em;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
#sidebar>nav .current a {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-heading {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
#breadcrumbs {
|
||||
margin-bottom: 2.85rem;
|
||||
word-spacing: 0.3em;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#breadcrumbs a {
|
||||
word-spacing: 0;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#nav-prev-next {
|
||||
margin-top: 3.18rem;
|
||||
padding-bottom: 3.18rem;
|
||||
}
|
||||
|
||||
#nav-prev,
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#nav-prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#nav-prev::before {
|
||||
content: '\219e';
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
#nav-next::after {
|
||||
content: '\21a0';
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
main {
|
||||
grid-area: main;
|
||||
min-height: 100%;
|
||||
padding: 2rem;
|
||||
padding-left: 4rem;
|
||||
padding-right: 4rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 66rem) {
|
||||
body {
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: auto auto;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
order: 2;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
display: block;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
order: 1
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<body>
|
||||
<div id="sidebar">
|
||||
<img src="https://user-images.githubusercontent.com/628387/55276718-39b3df80-52f7-11e9-953a-98c9665a11e9.png" id="logo" />
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="toc-section"><a href="..">Overview</a></li>
|
||||
<li class="toc-section"><a href="../intro/">User Guide</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../intro/">Introduction</a></li>
|
||||
<li class="toc-chapter
|
||||
current"><a href="./">Apply</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../config/">Secrets and ConfigMaps</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../images/">Container Images</a></li>
|
||||
<li class="toc-section"><a href="../projects/">Projects using Dhall</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav id="breadcrumbs">
|
||||
<a href="..">Tako</a>
|
||||
› <a href="..">User Guide</a>
|
||||
› <a href="./">Apply</a>
|
||||
<a id="repo-link" href="https://github.com/ruuda/tako/">GitHub</a>
|
||||
</nav>
|
||||
<article>
|
||||
<h1 id="apply">Apply</h1>
|
||||
</article>
|
||||
<nav id="nav-prev-next">
|
||||
<a id="nav-prev" href="../intro/" title="Introduction">Previous</a>
|
||||
<a id="nav-next" href="../config/" title="Secrets and ConfigMaps">Next</a>
|
||||
</nav>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
369
config/index.html
Normal file
369
config/index.html
Normal file
@ -0,0 +1,369 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:400,500,700" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
/* Modular scale with exponent 1.26, about 2^(1/3), so we get 2em in there,
|
||||
which is convenient. 1.26 is also close to (golden ratio)^0.5.
|
||||
0.63em
|
||||
0.80em
|
||||
1.00em
|
||||
1.26em
|
||||
1.59em
|
||||
2.00em
|
||||
*/
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.59em;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: auto 16rem 50rem auto;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "sidebar sidebar main x""sidebar sidebar main x";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
color: #444;
|
||||
margin-bottom: 1.59rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1.9rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.59rem;
|
||||
margin-top: 3.38rem;
|
||||
margin-bottom: 1.39rem;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.59rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
/* Roboto Mono 500 is about as heavy as Inter semibold (600). */
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
abbr {
|
||||
text-transform: uppercase;
|
||||
/* Downsize so caps are x-height, and compensate weight loss. */
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
/* Don't disturb the line height of normal text. */
|
||||
line-height: 0rem;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
p>code,
|
||||
a>code,
|
||||
h3>code,
|
||||
li>code,
|
||||
td>code {
|
||||
background-color: #f0f0f0;
|
||||
padding: 0.13rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
border-radius: 0.2rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 2.29rem;
|
||||
margin-bottom: 0.89rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
margin-left: -0.1rem;
|
||||
}
|
||||
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
pre,
|
||||
table {
|
||||
/* Same space as line height, leave exactly one line blank. */
|
||||
margin-bottom: 1.59em;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1.41rem;
|
||||
padding-right: 0;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 0 0.2rem 0.2rem 0;
|
||||
border-left: 0.3rem solid #d5d8e0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
pre>code {
|
||||
margin-right: 1.41rem;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
list-style-type: none;
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
table {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #326ce5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main>ul li:before {
|
||||
color: #555;
|
||||
content: '\2022';
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
margin-left: -0.9rem;
|
||||
width: 0.9rem;
|
||||
}
|
||||
|
||||
main>li {
|
||||
margin-left: 0.87rem;
|
||||
}
|
||||
|
||||
ol li:before {
|
||||
content: counter(item);
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
width: 0.8rem;
|
||||
margin-left: -1.6rem;
|
||||
padding-right: 0.8rem;
|
||||
}
|
||||
|
||||
ol li {
|
||||
margin-left: 1.6rem;
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
display: grid;
|
||||
grid-area: sidebar;
|
||||
grid-template-columns: auto 16rem;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "x logo""x toc";
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 100%;
|
||||
grid-area: logo;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
#sidebar>nav {
|
||||
grid-area: toc;
|
||||
}
|
||||
|
||||
#sidebar>nav ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#sidebar>nav li ul {
|
||||
padding-top: 0.3rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-section {
|
||||
padding-top: 1.59rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: 0.3em solid #d5d8e0;
|
||||
padding-left: 1em;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
#sidebar>nav .current a {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-heading {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
#breadcrumbs {
|
||||
margin-bottom: 2.85rem;
|
||||
word-spacing: 0.3em;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#breadcrumbs a {
|
||||
word-spacing: 0;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#nav-prev-next {
|
||||
margin-top: 3.18rem;
|
||||
padding-bottom: 3.18rem;
|
||||
}
|
||||
|
||||
#nav-prev,
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#nav-prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#nav-prev::before {
|
||||
content: '\219e';
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
#nav-next::after {
|
||||
content: '\21a0';
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
main {
|
||||
grid-area: main;
|
||||
min-height: 100%;
|
||||
padding: 2rem;
|
||||
padding-left: 4rem;
|
||||
padding-right: 4rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 66rem) {
|
||||
body {
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: auto auto;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
order: 2;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
display: block;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
order: 1
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<body>
|
||||
<div id="sidebar">
|
||||
<img src="https://user-images.githubusercontent.com/628387/55276718-39b3df80-52f7-11e9-953a-98c9665a11e9.png" id="logo" />
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="toc-section"><a href="..">Overview</a></li>
|
||||
<li class="toc-section"><a href="../intro/">User Guide</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../intro/">Introduction</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../apply/">Apply</a></li>
|
||||
<li class="toc-chapter
|
||||
current"><a href="./">Secrets and ConfigMaps</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../images/">Container Images</a></li>
|
||||
<li class="toc-section"><a href="../projects/">Projects using Dhall</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav id="breadcrumbs">
|
||||
<a href="..">Tako</a>
|
||||
› <a href="..">User Guide</a>
|
||||
› <a href="./">Secrets and ConfigMaps</a>
|
||||
<a id="repo-link" href="https://github.com/ruuda/tako/">GitHub</a>
|
||||
</nav>
|
||||
<article>
|
||||
<h1 id="config">Config</h1>
|
||||
</article>
|
||||
<nav id="nav-prev-next">
|
||||
<a id="nav-prev" href="../apply/" title="Apply">Previous</a>
|
||||
<a id="nav-next" href="../images/" title="Container Images">Next</a>
|
||||
</nav>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
369
images/index.html
Normal file
369
images/index.html
Normal file
@ -0,0 +1,369 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:400,500,700" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
/* Modular scale with exponent 1.26, about 2^(1/3), so we get 2em in there,
|
||||
which is convenient. 1.26 is also close to (golden ratio)^0.5.
|
||||
0.63em
|
||||
0.80em
|
||||
1.00em
|
||||
1.26em
|
||||
1.59em
|
||||
2.00em
|
||||
*/
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.59em;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: auto 16rem 50rem auto;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "sidebar sidebar main x""sidebar sidebar main x";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
color: #444;
|
||||
margin-bottom: 1.59rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1.9rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.59rem;
|
||||
margin-top: 3.38rem;
|
||||
margin-bottom: 1.39rem;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.59rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
/* Roboto Mono 500 is about as heavy as Inter semibold (600). */
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
abbr {
|
||||
text-transform: uppercase;
|
||||
/* Downsize so caps are x-height, and compensate weight loss. */
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
/* Don't disturb the line height of normal text. */
|
||||
line-height: 0rem;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
p>code,
|
||||
a>code,
|
||||
h3>code,
|
||||
li>code,
|
||||
td>code {
|
||||
background-color: #f0f0f0;
|
||||
padding: 0.13rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
border-radius: 0.2rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 2.29rem;
|
||||
margin-bottom: 0.89rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
margin-left: -0.1rem;
|
||||
}
|
||||
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
pre,
|
||||
table {
|
||||
/* Same space as line height, leave exactly one line blank. */
|
||||
margin-bottom: 1.59em;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1.41rem;
|
||||
padding-right: 0;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 0 0.2rem 0.2rem 0;
|
||||
border-left: 0.3rem solid #d5d8e0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
pre>code {
|
||||
margin-right: 1.41rem;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
list-style-type: none;
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
table {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #326ce5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main>ul li:before {
|
||||
color: #555;
|
||||
content: '\2022';
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
margin-left: -0.9rem;
|
||||
width: 0.9rem;
|
||||
}
|
||||
|
||||
main>li {
|
||||
margin-left: 0.87rem;
|
||||
}
|
||||
|
||||
ol li:before {
|
||||
content: counter(item);
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
width: 0.8rem;
|
||||
margin-left: -1.6rem;
|
||||
padding-right: 0.8rem;
|
||||
}
|
||||
|
||||
ol li {
|
||||
margin-left: 1.6rem;
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
display: grid;
|
||||
grid-area: sidebar;
|
||||
grid-template-columns: auto 16rem;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "x logo""x toc";
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 100%;
|
||||
grid-area: logo;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
#sidebar>nav {
|
||||
grid-area: toc;
|
||||
}
|
||||
|
||||
#sidebar>nav ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#sidebar>nav li ul {
|
||||
padding-top: 0.3rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-section {
|
||||
padding-top: 1.59rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: 0.3em solid #d5d8e0;
|
||||
padding-left: 1em;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
#sidebar>nav .current a {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-heading {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
#breadcrumbs {
|
||||
margin-bottom: 2.85rem;
|
||||
word-spacing: 0.3em;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#breadcrumbs a {
|
||||
word-spacing: 0;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#nav-prev-next {
|
||||
margin-top: 3.18rem;
|
||||
padding-bottom: 3.18rem;
|
||||
}
|
||||
|
||||
#nav-prev,
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#nav-prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#nav-prev::before {
|
||||
content: '\219e';
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
#nav-next::after {
|
||||
content: '\21a0';
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
main {
|
||||
grid-area: main;
|
||||
min-height: 100%;
|
||||
padding: 2rem;
|
||||
padding-left: 4rem;
|
||||
padding-right: 4rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 66rem) {
|
||||
body {
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: auto auto;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
order: 2;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
display: block;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
order: 1
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<body>
|
||||
<div id="sidebar">
|
||||
<img src="https://user-images.githubusercontent.com/628387/55276718-39b3df80-52f7-11e9-953a-98c9665a11e9.png" id="logo" />
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="toc-section"><a href="..">Overview</a></li>
|
||||
<li class="toc-section"><a href="../intro/">User Guide</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../intro/">Introduction</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../apply/">Apply</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../config/">Secrets and ConfigMaps</a></li>
|
||||
<li class="toc-chapter
|
||||
current"><a href="./">Container Images</a></li>
|
||||
<li class="toc-section"><a href="../projects/">Projects using Dhall</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav id="breadcrumbs">
|
||||
<a href="..">Tako</a>
|
||||
› <a href="..">User Guide</a>
|
||||
› <a href="./">Container Images</a>
|
||||
<a id="repo-link" href="https://github.com/ruuda/tako/">GitHub</a>
|
||||
</nav>
|
||||
<article>
|
||||
<h1 id="images">Images</h1>
|
||||
</article>
|
||||
<nav id="nav-prev-next">
|
||||
<a id="nav-prev" href="../config/" title="Secrets and ConfigMaps">Previous</a>
|
||||
<a id="nav-next" href="../projects/" title="Projects using Dhall">Next</a>
|
||||
</nav>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
367
index.html
Normal file
367
index.html
Normal file
@ -0,0 +1,367 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:400,500,700" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
/* Modular scale with exponent 1.26, about 2^(1/3), so we get 2em in there,
|
||||
which is convenient. 1.26 is also close to (golden ratio)^0.5.
|
||||
0.63em
|
||||
0.80em
|
||||
1.00em
|
||||
1.26em
|
||||
1.59em
|
||||
2.00em
|
||||
*/
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.59em;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: auto 16rem 50rem auto;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "sidebar sidebar main x""sidebar sidebar main x";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
color: #444;
|
||||
margin-bottom: 1.59rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1.9rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.59rem;
|
||||
margin-top: 3.38rem;
|
||||
margin-bottom: 1.39rem;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.59rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
/* Roboto Mono 500 is about as heavy as Inter semibold (600). */
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
abbr {
|
||||
text-transform: uppercase;
|
||||
/* Downsize so caps are x-height, and compensate weight loss. */
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
/* Don't disturb the line height of normal text. */
|
||||
line-height: 0rem;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
p>code,
|
||||
a>code,
|
||||
h3>code,
|
||||
li>code,
|
||||
td>code {
|
||||
background-color: #f0f0f0;
|
||||
padding: 0.13rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
border-radius: 0.2rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 2.29rem;
|
||||
margin-bottom: 0.89rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
margin-left: -0.1rem;
|
||||
}
|
||||
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
pre,
|
||||
table {
|
||||
/* Same space as line height, leave exactly one line blank. */
|
||||
margin-bottom: 1.59em;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1.41rem;
|
||||
padding-right: 0;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 0 0.2rem 0.2rem 0;
|
||||
border-left: 0.3rem solid #d5d8e0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
pre>code {
|
||||
margin-right: 1.41rem;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
list-style-type: none;
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
table {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #326ce5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main>ul li:before {
|
||||
color: #555;
|
||||
content: '\2022';
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
margin-left: -0.9rem;
|
||||
width: 0.9rem;
|
||||
}
|
||||
|
||||
main>li {
|
||||
margin-left: 0.87rem;
|
||||
}
|
||||
|
||||
ol li:before {
|
||||
content: counter(item);
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
width: 0.8rem;
|
||||
margin-left: -1.6rem;
|
||||
padding-right: 0.8rem;
|
||||
}
|
||||
|
||||
ol li {
|
||||
margin-left: 1.6rem;
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
display: grid;
|
||||
grid-area: sidebar;
|
||||
grid-template-columns: auto 16rem;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "x logo""x toc";
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 100%;
|
||||
grid-area: logo;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
#sidebar>nav {
|
||||
grid-area: toc;
|
||||
}
|
||||
|
||||
#sidebar>nav ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#sidebar>nav li ul {
|
||||
padding-top: 0.3rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-section {
|
||||
padding-top: 1.59rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: 0.3em solid #d5d8e0;
|
||||
padding-left: 1em;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
#sidebar>nav .current a {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-heading {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
#breadcrumbs {
|
||||
margin-bottom: 2.85rem;
|
||||
word-spacing: 0.3em;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#breadcrumbs a {
|
||||
word-spacing: 0;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#nav-prev-next {
|
||||
margin-top: 3.18rem;
|
||||
padding-bottom: 3.18rem;
|
||||
}
|
||||
|
||||
#nav-prev,
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#nav-prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#nav-prev::before {
|
||||
content: '\219e';
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
#nav-next::after {
|
||||
content: '\21a0';
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
main {
|
||||
grid-area: main;
|
||||
min-height: 100%;
|
||||
padding: 2rem;
|
||||
padding-left: 4rem;
|
||||
padding-right: 4rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 66rem) {
|
||||
body {
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: auto auto;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
order: 2;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
display: block;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
order: 1
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<body>
|
||||
<div id="sidebar">
|
||||
<img src="https://user-images.githubusercontent.com/628387/55276718-39b3df80-52f7-11e9-953a-98c9665a11e9.png" id="logo" />
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="toc-section"><a href=".">Overview</a></li>
|
||||
<li class="toc-section"><a href="intro/">User Guide</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="intro/">Introduction</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="apply/">Apply</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="config/">Secrets and ConfigMaps</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="images/">Container Images</a></li>
|
||||
<li class="toc-section"><a href="projects/">Projects using Dhall</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav id="breadcrumbs">
|
||||
<a href=".">Tako</a>
|
||||
› <a href=".">Overview</a>
|
||||
<a id="repo-link" href="https://github.com/ruuda/tako/">GitHub</a>
|
||||
</nav>
|
||||
<article>
|
||||
<h1 id="index">Index</h1>
|
||||
</article>
|
||||
<nav id="nav-prev-next">
|
||||
<a id="nav-next" href="intro/" title="Introduction">Next</a>
|
||||
</nav>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
369
intro/index.html
Normal file
369
intro/index.html
Normal file
@ -0,0 +1,369 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:400,500,700" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
/* Modular scale with exponent 1.26, about 2^(1/3), so we get 2em in there,
|
||||
which is convenient. 1.26 is also close to (golden ratio)^0.5.
|
||||
0.63em
|
||||
0.80em
|
||||
1.00em
|
||||
1.26em
|
||||
1.59em
|
||||
2.00em
|
||||
*/
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.59em;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: auto 16rem 50rem auto;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "sidebar sidebar main x""sidebar sidebar main x";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
color: #444;
|
||||
margin-bottom: 1.59rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1.9rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.59rem;
|
||||
margin-top: 3.38rem;
|
||||
margin-bottom: 1.39rem;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.59rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
/* Roboto Mono 500 is about as heavy as Inter semibold (600). */
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
abbr {
|
||||
text-transform: uppercase;
|
||||
/* Downsize so caps are x-height, and compensate weight loss. */
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
/* Don't disturb the line height of normal text. */
|
||||
line-height: 0rem;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
p>code,
|
||||
a>code,
|
||||
h3>code,
|
||||
li>code,
|
||||
td>code {
|
||||
background-color: #f0f0f0;
|
||||
padding: 0.13rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
border-radius: 0.2rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 2.29rem;
|
||||
margin-bottom: 0.89rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
margin-left: -0.1rem;
|
||||
}
|
||||
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
pre,
|
||||
table {
|
||||
/* Same space as line height, leave exactly one line blank. */
|
||||
margin-bottom: 1.59em;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1.41rem;
|
||||
padding-right: 0;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 0 0.2rem 0.2rem 0;
|
||||
border-left: 0.3rem solid #d5d8e0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
pre>code {
|
||||
margin-right: 1.41rem;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
list-style-type: none;
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
table {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #326ce5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main>ul li:before {
|
||||
color: #555;
|
||||
content: '\2022';
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
margin-left: -0.9rem;
|
||||
width: 0.9rem;
|
||||
}
|
||||
|
||||
main>li {
|
||||
margin-left: 0.87rem;
|
||||
}
|
||||
|
||||
ol li:before {
|
||||
content: counter(item);
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
width: 0.8rem;
|
||||
margin-left: -1.6rem;
|
||||
padding-right: 0.8rem;
|
||||
}
|
||||
|
||||
ol li {
|
||||
margin-left: 1.6rem;
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
display: grid;
|
||||
grid-area: sidebar;
|
||||
grid-template-columns: auto 16rem;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "x logo""x toc";
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 100%;
|
||||
grid-area: logo;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
#sidebar>nav {
|
||||
grid-area: toc;
|
||||
}
|
||||
|
||||
#sidebar>nav ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#sidebar>nav li ul {
|
||||
padding-top: 0.3rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-section {
|
||||
padding-top: 1.59rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: 0.3em solid #d5d8e0;
|
||||
padding-left: 1em;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
#sidebar>nav .current a {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-heading {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
#breadcrumbs {
|
||||
margin-bottom: 2.85rem;
|
||||
word-spacing: 0.3em;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#breadcrumbs a {
|
||||
word-spacing: 0;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#nav-prev-next {
|
||||
margin-top: 3.18rem;
|
||||
padding-bottom: 3.18rem;
|
||||
}
|
||||
|
||||
#nav-prev,
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#nav-prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#nav-prev::before {
|
||||
content: '\219e';
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
#nav-next::after {
|
||||
content: '\21a0';
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
main {
|
||||
grid-area: main;
|
||||
min-height: 100%;
|
||||
padding: 2rem;
|
||||
padding-left: 4rem;
|
||||
padding-right: 4rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 66rem) {
|
||||
body {
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: auto auto;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
order: 2;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
display: block;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
order: 1
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<body>
|
||||
<div id="sidebar">
|
||||
<img src="https://user-images.githubusercontent.com/628387/55276718-39b3df80-52f7-11e9-953a-98c9665a11e9.png" id="logo" />
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="toc-section"><a href="..">Overview</a></li>
|
||||
<li class="toc-section"><a href="./">User Guide</a></li>
|
||||
<li class="toc-chapter
|
||||
current"><a href="./">Introduction</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../apply/">Apply</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../config/">Secrets and ConfigMaps</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../images/">Container Images</a></li>
|
||||
<li class="toc-section"><a href="../projects/">Projects using Dhall</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav id="breadcrumbs">
|
||||
<a href="..">Tako</a>
|
||||
› <a href="..">User Guide</a>
|
||||
› <a href="./">Introduction</a>
|
||||
<a id="repo-link" href="https://github.com/ruuda/tako/">GitHub</a>
|
||||
</nav>
|
||||
<article>
|
||||
<h1 id="intro">Intro</h1>
|
||||
</article>
|
||||
<nav id="nav-prev-next">
|
||||
<a id="nav-prev" href=".." title="Overview">Previous</a>
|
||||
<a id="nav-next" href="../apply/" title="Apply">Next</a>
|
||||
</nav>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
367
projects/index.html
Normal file
367
projects/index.html
Normal file
@ -0,0 +1,367 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono|Roboto:400,500,700" rel="stylesheet">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
/* Modular scale with exponent 1.26, about 2^(1/3), so we get 2em in there,
|
||||
which is convenient. 1.26 is also close to (golden ratio)^0.5.
|
||||
0.63em
|
||||
0.80em
|
||||
1.00em
|
||||
1.26em
|
||||
1.59em
|
||||
2.00em
|
||||
*/
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.59em;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: auto 16rem 50rem auto;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "sidebar sidebar main x""sidebar sidebar main x";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
article {
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
color: #444;
|
||||
margin-bottom: 1.59rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1.9rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.59rem;
|
||||
margin-top: 3.38rem;
|
||||
margin-bottom: 1.39rem;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Roboto Mono', monospace;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.59rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
/* Roboto Mono 500 is about as heavy as Inter semibold (600). */
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
abbr {
|
||||
text-transform: uppercase;
|
||||
/* Downsize so caps are x-height, and compensate weight loss. */
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
/* Don't disturb the line height of normal text. */
|
||||
line-height: 0rem;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
p>code,
|
||||
a>code,
|
||||
h3>code,
|
||||
li>code,
|
||||
td>code {
|
||||
background-color: #f0f0f0;
|
||||
padding: 0.13rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
border-radius: 0.2rem;
|
||||
line-height: 1rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 2.29rem;
|
||||
margin-bottom: 0.89rem;
|
||||
}
|
||||
|
||||
h3>code {
|
||||
margin-left: -0.1rem;
|
||||
}
|
||||
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
pre,
|
||||
table {
|
||||
/* Same space as line height, leave exactly one line blank. */
|
||||
margin-bottom: 1.59em;
|
||||
}
|
||||
|
||||
pre {
|
||||
padding: 1.41rem;
|
||||
padding-right: 0;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 0 0.2rem 0.2rem 0;
|
||||
border-left: 0.3rem solid #d5d8e0;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
pre>code {
|
||||
margin-right: 1.41rem;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
list-style-type: none;
|
||||
counter-reset: item;
|
||||
}
|
||||
|
||||
table {
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
th,
|
||||
td {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #326ce5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
main>ul li:before {
|
||||
color: #555;
|
||||
content: '\2022';
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
margin-left: -0.9rem;
|
||||
width: 0.9rem;
|
||||
}
|
||||
|
||||
main>li {
|
||||
margin-left: 0.87rem;
|
||||
}
|
||||
|
||||
ol li:before {
|
||||
content: counter(item);
|
||||
display: inline-block;
|
||||
font-weight: 700;
|
||||
width: 0.8rem;
|
||||
margin-left: -1.6rem;
|
||||
padding-right: 0.8rem;
|
||||
}
|
||||
|
||||
ol li {
|
||||
margin-left: 1.6rem;
|
||||
counter-increment: item;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
display: grid;
|
||||
grid-area: sidebar;
|
||||
grid-template-columns: auto 16rem;
|
||||
grid-template-rows: 9rem auto;
|
||||
grid-template-areas: "x logo""x toc";
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 100%;
|
||||
grid-area: logo;
|
||||
}
|
||||
|
||||
/* Navigation */
|
||||
|
||||
#sidebar>nav {
|
||||
grid-area: toc;
|
||||
}
|
||||
|
||||
#sidebar>nav ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#sidebar>nav li ul {
|
||||
padding-top: 0.3rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-section {
|
||||
padding-top: 1.59rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: 0.3em solid #d5d8e0;
|
||||
padding-left: 1em;
|
||||
margin-left: -1em;
|
||||
}
|
||||
|
||||
#sidebar>nav .current a {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#sidebar>nav li.toc-heading {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
#breadcrumbs {
|
||||
margin-bottom: 2.85rem;
|
||||
word-spacing: 0.3em;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#breadcrumbs a {
|
||||
word-spacing: 0;
|
||||
color: #78a;
|
||||
}
|
||||
|
||||
#nav-prev-next {
|
||||
margin-top: 3.18rem;
|
||||
padding-bottom: 3.18rem;
|
||||
}
|
||||
|
||||
#nav-prev,
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#nav-prev {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#nav-next,
|
||||
#repo-link {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#nav-prev::before {
|
||||
content: '\219e';
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
#nav-next::after {
|
||||
content: '\21a0';
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
main {
|
||||
grid-area: main;
|
||||
min-height: 100%;
|
||||
padding: 2rem;
|
||||
padding-left: 4rem;
|
||||
padding-right: 4rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 66rem) {
|
||||
body {
|
||||
grid-template-columns: 100%;
|
||||
grid-template-rows: auto auto;
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
order: 2;
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
display: block;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
main {
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
order: 1
|
||||
}
|
||||
|
||||
#sidebar>img {
|
||||
height: 5rem;
|
||||
}
|
||||
|
||||
#sidebar>nav li.current,
|
||||
#sidebar>nav li ul {
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<body>
|
||||
<div id="sidebar">
|
||||
<img src="https://user-images.githubusercontent.com/628387/55276718-39b3df80-52f7-11e9-953a-98c9665a11e9.png" id="logo" />
|
||||
<nav>
|
||||
<ul>
|
||||
<li class="toc-section"><a href="..">Overview</a></li>
|
||||
<li class="toc-section"><a href="../intro/">User Guide</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../intro/">Introduction</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../apply/">Apply</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../config/">Secrets and ConfigMaps</a></li>
|
||||
<li class="toc-chapter
|
||||
"><a href="../images/">Container Images</a></li>
|
||||
<li class="toc-section"><a href="./">Projects using Dhall</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
<main>
|
||||
<nav id="breadcrumbs">
|
||||
<a href="..">Tako</a>
|
||||
› <a href="./">Projects using Dhall</a>
|
||||
<a id="repo-link" href="https://github.com/ruuda/tako/">GitHub</a>
|
||||
</nav>
|
||||
<article>
|
||||
<h1 id="projects">Projects</h1>
|
||||
</article>
|
||||
<nav id="nav-prev-next">
|
||||
<a id="nav-prev" href="../images/" title="Container Images">Previous</a>
|
||||
</nav>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
2986
search/lunr.js
Normal file
2986
search/lunr.js
Normal file
File diff suppressed because it is too large
Load Diff
96
search/main.js
Normal file
96
search/main.js
Normal file
@ -0,0 +1,96 @@
|
||||
function getSearchTermFromLocation() {
|
||||
var sPageURL = window.location.search.substring(1);
|
||||
var sURLVariables = sPageURL.split('&');
|
||||
for (var i = 0; i < sURLVariables.length; i++) {
|
||||
var sParameterName = sURLVariables[i].split('=');
|
||||
if (sParameterName[0] == 'q') {
|
||||
return decodeURIComponent(sParameterName[1].replace(/\+/g, '%20'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function joinUrl (base, path) {
|
||||
if (path.substring(0, 1) === "/") {
|
||||
// path starts with `/`. Thus it is absolute.
|
||||
return path;
|
||||
}
|
||||
if (base.substring(base.length-1) === "/") {
|
||||
// base ends with `/`
|
||||
return base + path;
|
||||
}
|
||||
return base + "/" + path;
|
||||
}
|
||||
|
||||
function formatResult (location, title, summary) {
|
||||
return '<article><h3><a href="' + joinUrl(base_url, location) + '">'+ title + '</a></h3><p>' + summary +'</p></article>';
|
||||
}
|
||||
|
||||
function displayResults (results) {
|
||||
var search_results = document.getElementById("mkdocs-search-results");
|
||||
while (search_results.firstChild) {
|
||||
search_results.removeChild(search_results.firstChild);
|
||||
}
|
||||
if (results.length > 0){
|
||||
for (var i=0; i < results.length; i++){
|
||||
var result = results[i];
|
||||
var html = formatResult(result.location, result.title, result.summary);
|
||||
search_results.insertAdjacentHTML('beforeend', html);
|
||||
}
|
||||
} else {
|
||||
search_results.insertAdjacentHTML('beforeend', "<p>No results found</p>");
|
||||
}
|
||||
}
|
||||
|
||||
function doSearch () {
|
||||
var query = document.getElementById('mkdocs-search-query').value;
|
||||
if (query.length > 2) {
|
||||
if (!window.Worker) {
|
||||
displayResults(search(query));
|
||||
} else {
|
||||
searchWorker.postMessage({query: query});
|
||||
}
|
||||
} else {
|
||||
// Clear results for short queries
|
||||
displayResults([]);
|
||||
}
|
||||
}
|
||||
|
||||
function initSearch () {
|
||||
var search_input = document.getElementById('mkdocs-search-query');
|
||||
if (search_input) {
|
||||
search_input.addEventListener("keyup", doSearch);
|
||||
}
|
||||
var term = getSearchTermFromLocation();
|
||||
if (term) {
|
||||
search_input.value = term;
|
||||
doSearch();
|
||||
}
|
||||
}
|
||||
|
||||
function onWorkerMessage (e) {
|
||||
if (e.data.allowSearch) {
|
||||
initSearch();
|
||||
} else if (e.data.results) {
|
||||
var results = e.data.results;
|
||||
displayResults(results);
|
||||
}
|
||||
}
|
||||
|
||||
if (!window.Worker) {
|
||||
console.log('Web Worker API not supported');
|
||||
// load index in main thread
|
||||
$.getScript(joinUrl(base_url, "search/worker.js")).done(function () {
|
||||
console.log('Loaded worker');
|
||||
init();
|
||||
window.postMessage = function (msg) {
|
||||
onWorkerMessage({data: msg});
|
||||
};
|
||||
}).fail(function (jqxhr, settings, exception) {
|
||||
console.error('Could not load worker.js');
|
||||
});
|
||||
} else {
|
||||
// Wrap search in a web worker
|
||||
var searchWorker = new Worker(joinUrl(base_url, "search/worker.js"));
|
||||
searchWorker.postMessage({init: true});
|
||||
searchWorker.onmessage = onWorkerMessage;
|
||||
}
|
1
search/search_index.json
Normal file
1
search/search_index.json
Normal file
@ -0,0 +1 @@
|
||||
{"config":{"lang":["en"],"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"","text":"Index","title":"Overview"},{"location":"#index","text":"","title":"Index"},{"location":"apply/","text":"Apply","title":"Apply"},{"location":"apply/#apply","text":"","title":"Apply"},{"location":"config/","text":"Config","title":"Secrets and ConfigMaps"},{"location":"config/#config","text":"","title":"Config"},{"location":"images/","text":"Images","title":"Container Images"},{"location":"images/#images","text":"","title":"Images"},{"location":"intro/","text":"Intro","title":"Introduction"},{"location":"intro/#intro","text":"","title":"Intro"},{"location":"projects/","text":"Projects","title":"Projects using Dhall"},{"location":"projects/#projects","text":"","title":"Projects"}]}
|
128
search/worker.js
Normal file
128
search/worker.js
Normal file
@ -0,0 +1,128 @@
|
||||
var base_path = 'function' === typeof importScripts ? '.' : '/search/';
|
||||
var allowSearch = false;
|
||||
var index;
|
||||
var documents = {};
|
||||
var lang = ['en'];
|
||||
var data;
|
||||
|
||||
function getScript(script, callback) {
|
||||
console.log('Loading script: ' + script);
|
||||
$.getScript(base_path + script).done(function () {
|
||||
callback();
|
||||
}).fail(function (jqxhr, settings, exception) {
|
||||
console.log('Error: ' + exception);
|
||||
});
|
||||
}
|
||||
|
||||
function getScriptsInOrder(scripts, callback) {
|
||||
if (scripts.length === 0) {
|
||||
callback();
|
||||
return;
|
||||
}
|
||||
getScript(scripts[0], function() {
|
||||
getScriptsInOrder(scripts.slice(1), callback);
|
||||
});
|
||||
}
|
||||
|
||||
function loadScripts(urls, callback) {
|
||||
if( 'function' === typeof importScripts ) {
|
||||
importScripts.apply(null, urls);
|
||||
callback();
|
||||
} else {
|
||||
getScriptsInOrder(urls, callback);
|
||||
}
|
||||
}
|
||||
|
||||
function onJSONLoaded () {
|
||||
data = JSON.parse(this.responseText);
|
||||
var scriptsToLoad = ['lunr.js'];
|
||||
if (data.config && data.config.lang && data.config.lang.length) {
|
||||
lang = data.config.lang;
|
||||
}
|
||||
if (lang.length > 1 || lang[0] !== "en") {
|
||||
scriptsToLoad.push('lunr.stemmer.support.js');
|
||||
if (lang.length > 1) {
|
||||
scriptsToLoad.push('lunr.multi.js');
|
||||
}
|
||||
for (var i=0; i < lang.length; i++) {
|
||||
if (lang[i] != 'en') {
|
||||
scriptsToLoad.push(['lunr', lang[i], 'js'].join('.'));
|
||||
}
|
||||
}
|
||||
}
|
||||
loadScripts(scriptsToLoad, onScriptsLoaded);
|
||||
}
|
||||
|
||||
function onScriptsLoaded () {
|
||||
console.log('All search scripts loaded, building Lunr index...');
|
||||
if (data.config && data.config.separator && data.config.separator.length) {
|
||||
lunr.tokenizer.separator = new RegExp(data.config.separator);
|
||||
}
|
||||
if (data.index) {
|
||||
index = lunr.Index.load(data.index);
|
||||
data.docs.forEach(function (doc) {
|
||||
documents[doc.location] = doc;
|
||||
});
|
||||
console.log('Lunr pre-built index loaded, search ready');
|
||||
} else {
|
||||
index = lunr(function () {
|
||||
if (lang.length === 1 && lang[0] !== "en" && lunr[lang[0]]) {
|
||||
this.use(lunr[lang[0]]);
|
||||
} else if (lang.length > 1) {
|
||||
this.use(lunr.multiLanguage.apply(null, lang)); // spread operator not supported in all browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator#Browser_compatibility
|
||||
}
|
||||
this.field('title');
|
||||
this.field('text');
|
||||
this.ref('location');
|
||||
|
||||
for (var i=0; i < data.docs.length; i++) {
|
||||
var doc = data.docs[i];
|
||||
this.add(doc);
|
||||
documents[doc.location] = doc;
|
||||
}
|
||||
});
|
||||
console.log('Lunr index built, search ready');
|
||||
}
|
||||
allowSearch = true;
|
||||
postMessage({allowSearch: allowSearch});
|
||||
}
|
||||
|
||||
function init () {
|
||||
var oReq = new XMLHttpRequest();
|
||||
oReq.addEventListener("load", onJSONLoaded);
|
||||
var index_path = base_path + '/search_index.json';
|
||||
if( 'function' === typeof importScripts ){
|
||||
index_path = 'search_index.json';
|
||||
}
|
||||
oReq.open("GET", index_path);
|
||||
oReq.send();
|
||||
}
|
||||
|
||||
function search (query) {
|
||||
if (!allowSearch) {
|
||||
console.error('Assets for search still loading');
|
||||
return;
|
||||
}
|
||||
|
||||
var resultDocuments = [];
|
||||
var results = index.search(query);
|
||||
for (var i=0; i < results.length; i++){
|
||||
var result = results[i];
|
||||
doc = documents[result.ref];
|
||||
doc.summary = doc.text.substring(0, 200);
|
||||
resultDocuments.push(doc);
|
||||
}
|
||||
return resultDocuments;
|
||||
}
|
||||
|
||||
if( 'function' === typeof importScripts ) {
|
||||
onmessage = function (e) {
|
||||
if (e.data.init) {
|
||||
init();
|
||||
} else if (e.data.query) {
|
||||
postMessage({ results: search(e.data.query) });
|
||||
} else {
|
||||
console.error("Worker - Unrecognized message: " + e);
|
||||
}
|
||||
};
|
||||
}
|
33
sitemap.xml
Normal file
33
sitemap.xml
Normal file
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>1970-01-01</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>1970-01-01</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>1970-01-01</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>1970-01-01</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>1970-01-01</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
<url>
|
||||
<loc>None</loc>
|
||||
<lastmod>1970-01-01</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
</url>
|
||||
</urlset>
|
BIN
sitemap.xml.gz
Normal file
BIN
sitemap.xml.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user