rseops-docs-jekyll 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/COPYRIGHT +16 -0
- data/LICENSE +22 -0
- data/NOTICE +22 -0
- data/README.md +97 -0
- data/_includes/_gh_link.html +8 -0
- data/_includes/_info_bar.html +5 -0
- data/_includes/_reading_time.html +12 -0
- data/_includes/accordion.html +131 -0
- data/_includes/editable.html +5 -0
- data/_includes/favicons.html +7 -0
- data/_includes/feedback.html +58 -0
- data/_includes/footer.html +8 -0
- data/_includes/head.html +11 -0
- data/_includes/landing.html +132 -0
- data/_includes/navigation.html +25 -0
- data/_includes/policy/legend.html +4 -0
- data/_includes/policy/rule.html +13 -0
- data/_includes/scrolltop.html +33 -0
- data/_includes/sidebar.html +22 -0
- data/_includes/site-footer.html +14 -0
- data/_includes/toc.html +35 -0
- data/_layouts/default.html +15 -0
- data/_layouts/docs.html +88 -0
- data/_layouts/page-two-col.html +22 -0
- data/_layouts/page.html +11 -0
- data/_layouts/redirect.html +13 -0
- data/assets/css/main.css +5399 -0
- data/assets/css/style.css +268 -0
- data/assets/css/vendors.min.css +3 -0
- data/assets/images/demo.png +0 -0
- data/assets/images/icons/icon-download-form.png +0 -0
- data/assets/images/icons/icon-download.png +0 -0
- data/assets/images/icons/open-iconic/sprite.min.svg +1 -0
- data/assets/images/phila-skyline.jpg +0 -0
- data/assets/images/stately-logo.png +0 -0
- data/assets/img/brands.svg +1336 -0
- data/assets/img/favicon/android-icon-144x144.png +0 -0
- data/assets/img/favicon/android-icon-192x192.png +0 -0
- data/assets/img/favicon/android-icon-36x36.png +0 -0
- data/assets/img/favicon/android-icon-48x48.png +0 -0
- data/assets/img/favicon/android-icon-72x72.png +0 -0
- data/assets/img/favicon/android-icon-96x96.png +0 -0
- data/assets/img/favicon/apple-icon-114x114.png +0 -0
- data/assets/img/favicon/apple-icon-120x120.png +0 -0
- data/assets/img/favicon/apple-icon-144x144.png +0 -0
- data/assets/img/favicon/apple-icon-152x152.png +0 -0
- data/assets/img/favicon/apple-icon-180x180.png +0 -0
- data/assets/img/favicon/apple-icon-57x57.png +0 -0
- data/assets/img/favicon/apple-icon-60x60.png +0 -0
- data/assets/img/favicon/apple-icon-72x72.png +0 -0
- data/assets/img/favicon/apple-icon-76x76.png +0 -0
- data/assets/img/favicon/apple-icon-precomposed.png +0 -0
- data/assets/img/favicon/apple-icon.png +0 -0
- data/assets/img/favicon/browserconfig.xml +2 -0
- data/assets/img/favicon/favicon-16x16.png +0 -0
- data/assets/img/favicon/favicon-32x32.png +0 -0
- data/assets/img/favicon/favicon-96x96.png +0 -0
- data/assets/img/favicon/favicon.ico +0 -0
- data/assets/img/favicon/manifest.json +41 -0
- data/assets/img/favicon/ms-icon-144x144.png +0 -0
- data/assets/img/favicon/ms-icon-150x150.png +0 -0
- data/assets/img/favicon/ms-icon-310x310.png +0 -0
- data/assets/img/favicon/ms-icon-70x70.png +0 -0
- data/assets/img/rse-ops-circle.png +0 -0
- data/assets/img/rse-ops-text.png +0 -0
- data/assets/img/solid.svg +2996 -0
- data/assets/js/home.js +57 -0
- data/assets/js/jquery-3.3.1/jquery-3.3.1.js +10364 -0
- data/assets/js/jquery-3.3.1/jquery-3.3.1.min.js +2 -0
- data/assets/js/vendors.min.js +1 -0
- metadata +131 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d67c6dc80e7d44b0d1b4c7079c14210c02dd4b88a74c5058dd0641a30ee80285
|
4
|
+
data.tar.gz: 63d1b6da759f8ed4a4facfc09b07d78507aa7b1929b0551297bc04c4a40f8a96
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d2acbe3546df3de4d99a18645a19a4f6960fd040d8d18cd70a0c4cfad44c3c076d5ed7d1271da31d6eb47700398f5dfc9b5410afba25e233f5f85ff3e7020ca9
|
7
|
+
data.tar.gz: b0871e957b407551e4badd15dec7d5f2c5ed230f90630aa8a5f8ce1a233f21b6a667c2bb2d1e4d80c34b1d1f71e462fbdf0a1199c65e3c770ae8d8c20ddebc7e
|
data/COPYRIGHT
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
Intellectual Property Notice
|
2
|
+
----------------------------
|
3
|
+
|
4
|
+
RADIUSS Docker is licensed under the MIT license (LICENSE).
|
5
|
+
|
6
|
+
Copyrights and patents in the RADIUSS Docker project are retained by
|
7
|
+
contributors. No copyright assignment is required to contribute to RADIUSS
|
8
|
+
Docker.
|
9
|
+
|
10
|
+
|
11
|
+
SPDX usage
|
12
|
+
------------
|
13
|
+
|
14
|
+
Individual files contain SPDX tags instead of the full license text.
|
15
|
+
This enables machine processing of license information based on the SPDX
|
16
|
+
License Identifiers that are available here: https://spdx.org/licenses/
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2021, Lawrence Livermore National Security, LLC
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
22
|
+
|
data/NOTICE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
This work was produced under the auspices of the U.S. Department of
|
2
|
+
Energy by Lawrence Livermore National Laboratory under Contract
|
3
|
+
DE-AC52-07NA27344.
|
4
|
+
|
5
|
+
This work was prepared as an account of work sponsored by an agency of
|
6
|
+
the United States Government. Neither the United States Government nor
|
7
|
+
Lawrence Livermore National Security, LLC, nor any of their employees
|
8
|
+
makes any warranty, expressed or implied, or assumes any legal liability
|
9
|
+
or responsibility for the accuracy, completeness, or usefulness of any
|
10
|
+
information, apparatus, product, or process disclosed, or represents that
|
11
|
+
its use would not infringe privately owned rights.
|
12
|
+
|
13
|
+
Reference herein to any specific commercial product, process, or service
|
14
|
+
by trade name, trademark, manufacturer, or otherwise does not necessarily
|
15
|
+
constitute or imply its endorsement, recommendation, or favoring by the
|
16
|
+
United States Government or Lawrence Livermore National Security, LLC.
|
17
|
+
|
18
|
+
The views and opinions of authors expressed herein do not necessarily
|
19
|
+
state or reflect those of the United States Government or Lawrence
|
20
|
+
Livermore National Security, LLC, and shall not be used for advertising
|
21
|
+
or product endorsement purposes.
|
22
|
+
|
data/README.md
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
# RSE-ops Docs Jekyll
|
2
|
+
|
3
|
+
![assets/img/rse-ops-text.png](assets/img/rse-ops-text.png)
|
4
|
+
|
5
|
+
This is a RSE-ops documentation Jekyll theme that can be easily deployed to a RSE-ops
|
6
|
+
site. The style looks like this, either with a sidebar:
|
7
|
+
|
8
|
+
TOOD UPDATE
|
9
|
+
|
10
|
+
or without.
|
11
|
+
|
12
|
+
TOOD UPDATE
|
13
|
+
|
14
|
+
## Usage
|
15
|
+
|
16
|
+
Using the theme is easy - just add it as a `remote_theme` to your config yaml.
|
17
|
+
|
18
|
+
```bash
|
19
|
+
# Theme for docs
|
20
|
+
plugins:
|
21
|
+
- jekyll-remote-theme
|
22
|
+
|
23
|
+
remote_theme: rse-ops/rseops-docs-jekyll
|
24
|
+
```
|
25
|
+
|
26
|
+
And add
|
27
|
+
|
28
|
+
```
|
29
|
+
gem "jekyll-remote-theme"
|
30
|
+
```
|
31
|
+
|
32
|
+
to your Gemfile.
|
33
|
+
|
34
|
+
### Add a Page
|
35
|
+
|
36
|
+
And then you can add any pages with the following front end matter (header)
|
37
|
+
to use the documentation template.
|
38
|
+
|
39
|
+
```
|
40
|
+
---
|
41
|
+
title: CMake
|
42
|
+
layout: docs
|
43
|
+
permalink: /cmake/
|
44
|
+
---
|
45
|
+
```
|
46
|
+
|
47
|
+
### Add a Sidebar
|
48
|
+
|
49
|
+
To add a sidebar to your pages, create a file under `_data/menus/` that is named
|
50
|
+
according to your sidebar, e.g., `_data/menus/mysidebar.yaml` for a sidebar named `mysidebar`.
|
51
|
+
The file should be a flat list of names and urls:
|
52
|
+
|
53
|
+
```yaml
|
54
|
+
- title: My Page
|
55
|
+
url: "mypage"
|
56
|
+
- title: Root of Site
|
57
|
+
url: ""
|
58
|
+
```
|
59
|
+
|
60
|
+
And then you can add this to the front end matter of pages where you want it to appear:
|
61
|
+
|
62
|
+
```
|
63
|
+
---
|
64
|
+
title: CMake
|
65
|
+
layout: docs
|
66
|
+
sidebar: mysidebar
|
67
|
+
permalink: /pagename/
|
68
|
+
---
|
69
|
+
```
|
70
|
+
|
71
|
+
## Development
|
72
|
+
|
73
|
+
If you want to use the gem, it is built during CI, and release is currently done from the command line:
|
74
|
+
|
75
|
+
```bash
|
76
|
+
$ /bin/bash script/release.sh
|
77
|
+
```
|
78
|
+
|
79
|
+
But this isn't required since we can use `jekyll-remote-theme` and use it directly from GitHub.
|
80
|
+
If you do release, you should bump the version in [rseops-docs-jekyll.gemspec](rseops-docs-jekyll.gemspec)
|
81
|
+
and be on the main branch.
|
82
|
+
|
83
|
+
License
|
84
|
+
-------
|
85
|
+
|
86
|
+
Copyright (c) 2021, Lawrence Livermore National Security, LLC.
|
87
|
+
Produced at the Lawrence Livermore National Laboratory.
|
88
|
+
|
89
|
+
RADIUSS is licensed under the MIT license [LICENSE](./LICENSE).
|
90
|
+
|
91
|
+
Copyrights and patents in the RADIUSS Docker project are retained by
|
92
|
+
contributors. No copyright assignment is required to contribute to RADIUSS
|
93
|
+
Docker.
|
94
|
+
|
95
|
+
This work was produced under the auspices of the U.S. Department of
|
96
|
+
Energy by Lawrence Livermore National Laboratory under Contract
|
97
|
+
DE-AC52-07NA27344.
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{% unless site.github_link == nil or site.github_link == false %}
|
2
|
+
<div class="border-top mb-0 pt-4 mt-5 text-gray">
|
3
|
+
<h5>This page is open source</h5>
|
4
|
+
<p class="text-small">
|
5
|
+
<a target="_blank" href="{{ site.github.repository_url }}/edit/{{ site.github_pages_branch }}/{{ page.path }}">Help improve its content by opening a Pull Request on GitHub</a>.
|
6
|
+
</p>
|
7
|
+
</div>
|
8
|
+
{% endunless %}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<span title="Estimated read time">
|
2
|
+
{% if post.content != nil %}
|
3
|
+
{% assign words = post.content | number_of_words %}
|
4
|
+
{% else %}
|
5
|
+
{% assign words = content | number_of_words %}
|
6
|
+
{% endif %}
|
7
|
+
{% if words < 360 %}
|
8
|
+
1 min
|
9
|
+
{% else %}
|
10
|
+
{{ words | divided_by:180 }} min
|
11
|
+
{% endif %}
|
12
|
+
</span>
|
@@ -0,0 +1,131 @@
|
|
1
|
+
<style>
|
2
|
+
.accordion {
|
3
|
+
width: 100%;
|
4
|
+
background: #fff;
|
5
|
+
text-align: left;
|
6
|
+
}
|
7
|
+
.accordion:hover {
|
8
|
+
background-color: #F7F7F7;
|
9
|
+
}
|
10
|
+
.accordion__trigger {
|
11
|
+
-webkit-appearance: none;
|
12
|
+
-moz-appearance: none;
|
13
|
+
appearance: none;
|
14
|
+
font-size: inherit;
|
15
|
+
/* text-transform: uppercase; */
|
16
|
+
letter-spacing: 2px;
|
17
|
+
padding: 1rem 1.5rem;
|
18
|
+
background: #333;
|
19
|
+
color: white;
|
20
|
+
cursor: pointer;
|
21
|
+
transition: 0.3s ease;
|
22
|
+
border: 0 none;
|
23
|
+
border-bottom: 1px solid #555;
|
24
|
+
width: 100%;
|
25
|
+
text-align: left;
|
26
|
+
margin: 0;
|
27
|
+
position: relative;
|
28
|
+
}
|
29
|
+
.accordion__trigger::after {
|
30
|
+
content: "";
|
31
|
+
position: absolute;
|
32
|
+
right: 20px;
|
33
|
+
top: calc(50% - 5px);
|
34
|
+
width: 0;
|
35
|
+
height: 0;
|
36
|
+
border-left: 10px solid transparent;
|
37
|
+
border-right: 10px solid transparent;
|
38
|
+
border-top: 10px solid #fff;
|
39
|
+
transform: rotate(0deg);
|
40
|
+
transform-origin: center;
|
41
|
+
transition: transform 0.5s;
|
42
|
+
}
|
43
|
+
.accordion__trigger[aria-expanded="true"]::after {
|
44
|
+
transform: rotate(180deg);
|
45
|
+
}
|
46
|
+
.accordion__copy {
|
47
|
+
overflow: hidden;
|
48
|
+
padding: 0 1.5rem 0 1.5rem;
|
49
|
+
color: #666;
|
50
|
+
line-height: 1.6;
|
51
|
+
font-size: 1rem;
|
52
|
+
font-weight: 500;
|
53
|
+
max-height: 0;
|
54
|
+
visibility: hidden;
|
55
|
+
transition: visibility 0.5s, padding 0.5s, max-height 0.5s;
|
56
|
+
}
|
57
|
+
.accordion__copy--open {
|
58
|
+
visibility: visible;
|
59
|
+
}
|
60
|
+
.accordion__copy__pic {
|
61
|
+
width: 100px;
|
62
|
+
height: auto;
|
63
|
+
float: right;
|
64
|
+
margin: 0 0 0 20px;
|
65
|
+
}
|
66
|
+
@media (min-width: 540px) {
|
67
|
+
.container__head {
|
68
|
+
font-size: 2rem;
|
69
|
+
}
|
70
|
+
.accordion__copy__pic {
|
71
|
+
width: 180px;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
</style>
|
76
|
+
|
77
|
+
<script>
|
78
|
+
// Thank you https://codepen.io/sgestrella/pen/byjPgQ
|
79
|
+
(function () {
|
80
|
+
const headings = document.querySelectorAll(".accordion__heading");
|
81
|
+
const triggers = [];
|
82
|
+
const accordionContents = document.querySelectorAll(".accordion__copy");
|
83
|
+
const copyOpenClass = "accordion__copy--open";
|
84
|
+
|
85
|
+
headings.forEach((h, i) => {
|
86
|
+
let btn = h.querySelector("button");
|
87
|
+
triggers.push(btn);
|
88
|
+
let target = h.nextElementSibling;
|
89
|
+
btn.onclick = () => {
|
90
|
+
let expanded = btn.getAttribute("aria-expanded") === "true";
|
91
|
+
if (expanded) {
|
92
|
+
closeItem(target, btn);
|
93
|
+
} else {
|
94
|
+
openItem(target, btn);
|
95
|
+
}
|
96
|
+
};
|
97
|
+
});
|
98
|
+
function closeAllExpandedItems() {
|
99
|
+
const expandedTriggers = triggers.filter(
|
100
|
+
(t) => t.getAttribute("aria-expanded") === "true"
|
101
|
+
);
|
102
|
+
const expandedCopy = Array.from(accordionContents).filter((c) =>
|
103
|
+
c.classList.value.includes(copyOpenClass)
|
104
|
+
);
|
105
|
+
expandedTriggers.forEach((trigger) => {
|
106
|
+
trigger.setAttribute("aria-expanded", false);
|
107
|
+
});
|
108
|
+
expandedCopy.forEach((copy) => {
|
109
|
+
copy.classList.remove(copyOpenClass);
|
110
|
+
copy.style.maxHeight = 0;
|
111
|
+
copy.style.padding = "0 1.5rem 0 1.5rem";
|
112
|
+
});
|
113
|
+
}
|
114
|
+
function closeItem(target, btn) {
|
115
|
+
closeAllExpandedItems();
|
116
|
+
btn.setAttribute("aria-expanded", false);
|
117
|
+
target.classList.remove(copyOpenClass);
|
118
|
+
target.style.maxHeight = 0;
|
119
|
+
target.style.padding = "0 1.5rem 0 1.5rem";
|
120
|
+
}
|
121
|
+
function openItem(target, btn) {
|
122
|
+
closeAllExpandedItems();
|
123
|
+
btn.setAttribute("aria-expanded", true);
|
124
|
+
target.classList.add(copyOpenClass);
|
125
|
+
target.style.maxHeight = target.scrollHeight + "px";
|
126
|
+
target.style.padding = "1rem 1.5rem 2rem 1.5rem";
|
127
|
+
}
|
128
|
+
setTimeout(() => triggers[0].click(), 750);
|
129
|
+
})();
|
130
|
+
|
131
|
+
</script>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<div style="padding-top:30px">
|
2
|
+
<a href="{{ site.repo }}/edit/{% if site.github_branch %}{{ site.github_branch }}{% else %}main{% endif %}/{{ page.path }}" target="_blank"><i class="fa fa-edit fa-fw"></i> Edit this page</a><br>
|
3
|
+
<a href="{{ site.repo }}/issues/new?labels={% if page.editable %}{{ page.editable }}{% else %}question{% endif %}&title=Question:&body=Question on: {{ site.repo }}/tree/{% if site.github_branch %}{{ site.github_branch }}{% else %}main{% endif %}/{{ page.path }}" target="_blank"><i class="fab fa-github fa-fw"></i> Create documentation issue</a><br>
|
4
|
+
<a href="{{ site.repo }}/issues/new" target="_blank"><i class="fas fa-tasks fa-fw"></i> Create project issue</a>
|
5
|
+
</div>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<link rel="icon" type="image/png" sizes="192x192" href="{{ site.baseurl }}/assets/img/favicon/android-icon-192x192.png">
|
2
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/assets/img/favicon/favicon-32x32.png">
|
3
|
+
<link rel="icon" type="image/png" sizes="96x96" href="{{ site.baseurl }}/assets/img/favicon/favicon-96x96.png">
|
4
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ site.baseurl }}/assets/img/favicon/favicon-16x16.png">
|
5
|
+
<meta name="msapplication-TileColor" content="#ffffff">
|
6
|
+
<meta name="msapplication-TileImage" content="{{ site.baseurl }}/assets/img/favicon/ms-icon-144x144.png">
|
7
|
+
<meta name="theme-color" content="#ffffff">
|
@@ -0,0 +1,58 @@
|
|
1
|
+
{% if site.feedback %}<style>
|
2
|
+
.feedback--answer {
|
3
|
+
display: inline-block;
|
4
|
+
}
|
5
|
+
.feedback--answer-no {
|
6
|
+
margin-left: 1em;
|
7
|
+
}
|
8
|
+
.feedback--response {
|
9
|
+
display: none;
|
10
|
+
margin-top: 1em;
|
11
|
+
}
|
12
|
+
.feedback--response__visible {
|
13
|
+
display: block;
|
14
|
+
}
|
15
|
+
</style>
|
16
|
+
<h5 class="feedback--title">Feedback</h5>
|
17
|
+
<p class="feedback--question">Was this page helpful?</p>
|
18
|
+
<button class="feedback--answer feedback--answer-yes">Yes</button>
|
19
|
+
<button class="feedback--answer feedback--answer-no">No</button>
|
20
|
+
<p class="feedback--response feedback--response-yes">
|
21
|
+
Glad to hear it! Please <a href="{{ site.repo }}/issues/new">tell us how we can improve</a>.
|
22
|
+
</p>
|
23
|
+
<p class="feedback--response feedback--response-no">
|
24
|
+
Sorry to hear that. Please <a href="{{ site.repo }}/issues/new">tell us how we can improve</a>.
|
25
|
+
</p>
|
26
|
+
<script>
|
27
|
+
const yesButton = document.querySelector('.feedback--answer-yes');
|
28
|
+
const noButton = document.querySelector('.feedback--answer-no');
|
29
|
+
const yesResponse = document.querySelector('.feedback--response-yes');
|
30
|
+
const noResponse = document.querySelector('.feedback--response-no');
|
31
|
+
const disableButtons = () => {
|
32
|
+
yesButton.disabled = true;
|
33
|
+
noButton.disabled = true;
|
34
|
+
};
|
35
|
+
const sendFeedback = (value) => {
|
36
|
+
if (typeof ga !== 'function') return;
|
37
|
+
const args = {
|
38
|
+
command: 'send',
|
39
|
+
hitType: 'event',
|
40
|
+
category: 'Helpful',
|
41
|
+
action: 'click',
|
42
|
+
label: window.location.pathname,
|
43
|
+
value: value
|
44
|
+
};
|
45
|
+
ga(args.command, args.hitType, args.category, args.action, args.label, args.value);
|
46
|
+
};
|
47
|
+
yesButton.addEventListener('click', () => {
|
48
|
+
yesResponse.classList.add('feedback--response__visible');
|
49
|
+
disableButtons();
|
50
|
+
sendFeedback(1);
|
51
|
+
});
|
52
|
+
noButton.addEventListener('click', () => {
|
53
|
+
noResponse.classList.add('feedback--response__visible');
|
54
|
+
disableButtons();
|
55
|
+
sendFeedback(0);
|
56
|
+
});
|
57
|
+
</script>{% endif %}<br/>
|
58
|
+
|
data/_includes/head.html
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
4
|
+
<meta name="viewport" content="width=device-width">
|
5
|
+
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
|
6
|
+
<link href="https://fonts.googleapis.com/css?family=Lato:300,400|Lora" rel="stylesheet">
|
7
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css">
|
8
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
9
|
+
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css"> -->
|
10
|
+
<script src="{{ site.baseurl }}/assets/js/home.js" ></script>
|
11
|
+
</head>
|
@@ -0,0 +1,132 @@
|
|
1
|
+
<!--Thank you https://longpdo.github.io/-->
|
2
|
+
<div id="landing">
|
3
|
+
<img src="assets/img/brands.svg"/>
|
4
|
+
<div class="landing-title">
|
5
|
+
<h1>
|
6
|
+
<span class="highlight-title"><a href="{{ site.baseurl }}/home/"><img src="{{ site.baseurl }}/assets/img/rse-ops-text.png"/></a></span>
|
7
|
+
</h1>
|
8
|
+
<h1>
|
9
|
+
<span id="typing"></span>
|
10
|
+
</h1>
|
11
|
+
<div class="landing-icons">
|
12
|
+
|
13
|
+
<a class="social-link" aria-label="Home" href="{{ site.baseurl }}/home/">
|
14
|
+
<svg viewBox="0 0 200 200" class="circle">
|
15
|
+
<circle cx="100" cy="100" r="80" />
|
16
|
+
</svg>
|
17
|
+
<div class="social">
|
18
|
+
<svg class="social-svg" viewBox="0 0 48 48">
|
19
|
+
<use x="12" y="12" width="24" height="24" viewBox="0 0 48 48" xlink:href="{{ "/assets/img/solid.svg#home"| prepend: site.baseurl }}"></use>
|
20
|
+
</svg>
|
21
|
+
</div>
|
22
|
+
<span class="label">Home</span>
|
23
|
+
</a>
|
24
|
+
|
25
|
+
<a class="social-link" aria-label="Builds" href="https://rse-ops.github.io/docs/container-bases/">
|
26
|
+
<svg viewBox="0 0 200 200" class="circle">
|
27
|
+
<circle cx="100" cy="100" r="80" />
|
28
|
+
</svg>
|
29
|
+
<div class="social">
|
30
|
+
<svg class="social-svg" viewBox="0 0 48 48">
|
31
|
+
<use x="12" y="12" width="24" height="24" viewBox="0 0 48 48" xlink:href="{{ "/assets/img/solid.svg#square"| prepend: site.baseurl }}"></use>
|
32
|
+
</svg>
|
33
|
+
</div>
|
34
|
+
<span class="label">Containers</span>
|
35
|
+
</a>
|
36
|
+
|
37
|
+
{% if site.email != null %}
|
38
|
+
<a class="social-link email" aria-label="My E-Mail" href="mailto:{{site.email}}">
|
39
|
+
<svg viewBox="0 0 200 200" class="circle">
|
40
|
+
<circle cx="100" cy="100" r="80" />
|
41
|
+
</svg>
|
42
|
+
<div class="social">
|
43
|
+
<svg class="social-svg" viewBox="0 0 48 48">
|
44
|
+
<use x="12" y="12" width="24" height="24" viewBox="0 0 48 48" xlink:href="{{ "/assets/img/solid.svg#envelope" | prepend: site.baseurl }}""></use>
|
45
|
+
</svg>
|
46
|
+
</div>
|
47
|
+
<span class="label">E-Mail</span>
|
48
|
+
</a>
|
49
|
+
{% endif %}
|
50
|
+
|
51
|
+
{% if site.github_username != null %}
|
52
|
+
<a class="social-link" aria-label="My GitHub" target="_blank" rel="noreferrer"
|
53
|
+
href="https://github.com/{{site.github_username}}"
|
54
|
+
>
|
55
|
+
<svg viewBox="0 0 200 200" class="circle">
|
56
|
+
<circle cx="100" cy="100" r="80" />
|
57
|
+
</svg>
|
58
|
+
<div class="social">
|
59
|
+
<svg class="social-svg" viewBox="0 0 48 48">
|
60
|
+
<use x="12" y="12" width="24" height="24" viewBox="0 0 48 48" xlink:href="{{ "/assets/img/brands.svg#github" | prepend: site.baseurl }}"></use>
|
61
|
+
</svg>
|
62
|
+
</div>
|
63
|
+
<span class="label">GitHub</span>
|
64
|
+
</a>
|
65
|
+
{% endif %}
|
66
|
+
|
67
|
+
{% if site.codepen_username != null %}
|
68
|
+
<a class="social-link" aria-label="My Codepen" target="_blank" rel="noreferrer"
|
69
|
+
href="https://codepen.io/{{site.codepen_username}}"
|
70
|
+
>
|
71
|
+
<svg viewBox="0 0 200 200" class="circle">
|
72
|
+
<circle cx="100" cy="100" r="80" />
|
73
|
+
</svg>
|
74
|
+
<div class="social">
|
75
|
+
<svg class="social-svg" viewBox="0 0 48 48">
|
76
|
+
<use x="12" y="12" width="24" height="24" viewBox="0 0 48 48" xlink:href="{{ "/assets/img/brands.svg#codepen" | prepend: site.baseurl }}"></use>
|
77
|
+
</svg>
|
78
|
+
</div>
|
79
|
+
<span class="label">CodePen</span>
|
80
|
+
</a>
|
81
|
+
{% endif %}
|
82
|
+
|
83
|
+
{% if site.dev_username != null %}
|
84
|
+
<a class="social-link" aria-label="My DEV" target="_blank" rel="noreferrer"
|
85
|
+
href="https://dev.to/{{site.dev_username}}"
|
86
|
+
>
|
87
|
+
<svg viewBox="0 0 200 200" class="circle">
|
88
|
+
<circle cx="100" cy="100" r="80" />
|
89
|
+
</svg>
|
90
|
+
<div class="social">
|
91
|
+
<svg class="social-svg" viewBox="0 0 48 48">
|
92
|
+
<use x="12" y="12" width="24" height="24" viewBox="0 0 48 48" xlink:href="{{ "/assets/img/brands.svg#dev" | prepend: site.baseurl }}"></use>
|
93
|
+
</svg>
|
94
|
+
</div>
|
95
|
+
<span class="label">DEV</span>
|
96
|
+
</a>
|
97
|
+
{% endif %}
|
98
|
+
|
99
|
+
{% if site.linkedin_username != null %}
|
100
|
+
<a class="social-link linkedin" aria-label="My LinkedIn" target="_blank"
|
101
|
+
rel="noreferrer" href="https://www.linkedin.com/{{site.linkedin_username}}"
|
102
|
+
>
|
103
|
+
<svg viewBox="0 0 200 200" class="circle">
|
104
|
+
<circle cx="100" cy="100" r="80" />
|
105
|
+
</svg>
|
106
|
+
<div class="social">
|
107
|
+
<svg class="social-svg" viewBox="0 0 48 48">
|
108
|
+
<use x="12" y="12" width="24" height="24" viewBox="0 0 48 48" xlink:href="{{ "/assets/img/brands.svg#linkedin-in" | prepend: site.baseurl }}"></use>
|
109
|
+
</svg>
|
110
|
+
</div>
|
111
|
+
<span class="label">LinkedIn</span>
|
112
|
+
</a>
|
113
|
+
{% endif %}
|
114
|
+
|
115
|
+
{% if site.twitter_username != null %}
|
116
|
+
<a class="social-link twitter" aria-label="My Twitter" target="_blank"
|
117
|
+
rel="noreferrer" href="https://twitter.com/{{site.twitter_username}}"
|
118
|
+
>
|
119
|
+
<svg viewBox="0 0 200 200" class="circle">
|
120
|
+
<circle cx="100" cy="100" r="80" />
|
121
|
+
</svg>
|
122
|
+
<div class="social">
|
123
|
+
<svg class="social-svg" viewBox="0 0 48 48">
|
124
|
+
<use x="12" y="12" width="24" height="24" viewBox="0 0 48 48" xlink:href="{{ "/assets/img/brands.svg#twitter" | prepend: site.baseurl }}"></use>
|
125
|
+
</svg>
|
126
|
+
</div>
|
127
|
+
<span class="label">Twitter</span>
|
128
|
+
</a>
|
129
|
+
{% endif %}
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
</div>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<nav class="site-nav py-4 bg-white">
|
2
|
+
<div class="{% if page.url == '/home/' %}container-lg-home{% else %}container-lg{% endif %} px-4">
|
3
|
+
<div class="d-flex flex-justify-between flex-items-center">
|
4
|
+
<div>
|
5
|
+
<a class="heading-beta no-underline" href="/home/">{% unless site.nav_logo_file == nil %}<img src="{{ site.nav_logo_file | absolute_url }}" alt="" class="site-logo mr-2">{% endunless %}</a>
|
6
|
+
</div>
|
7
|
+
<button type="button" name="Open nav" class="site-nav-trigger js-site-nav-trigger">
|
8
|
+
nav
|
9
|
+
</button>
|
10
|
+
|
11
|
+
<ol class="site-nav-items list-style-none js-site-nav-list">
|
12
|
+
<li class="site-nav-item mb-0 mr-3 js-site-nav-item">
|
13
|
+
<a class="site-nav-link" href="https://rse-ops.github.io/about/">
|
14
|
+
About
|
15
|
+
</a>
|
16
|
+
</li>
|
17
|
+
<li class="site-nav-item mb-0 mr-3 js-site-nav-item">
|
18
|
+
<a class="site-nav-link" href="https://rse-ops.github.io/docs/">
|
19
|
+
Docs
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
</ol>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</nav>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<h4 id="legend">Legend</h4>
|
2
|
+
<p><a href=""><img src="https://img.shields.io/badge/M.section-N-red.svg" alt="generic badge" /></a> Designates a <strong>mandatory</strong> point (policy).</p>
|
3
|
+
|
4
|
+
<p><a href=""><img src="https://img.shields.io/badge/R.section-N-yellow.svg" alt="generic badge" /></a> Designates a <strong>recommended</strong> point (guideline).</p>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<section class="accordion__item">
|
2
|
+
<h4 class="accordion__heading"><button class="accordion__trigger">
|
3
|
+
<p> <a name="{{ rule.id }}"></a><a href="#{{ rule.id }}"><img style="float:left" src="{{ rule.badge }}" alt="{% if rule.alt %}{{ rule.alt }}{% else %}Generic badge{% endif %}"/></a> {{ rule.description }}</p>
|
4
|
+
</button></h4>
|
5
|
+
<div class="accordion__copy">
|
6
|
+
<ul style="padding-bottom:20px">
|
7
|
+
{% if rule.details %}<li><strong>Details</strong>: {{ rule.details }}</li>{% endif %}
|
8
|
+
{% if rule.rationale %}<li><strong>Rationale</strong>: {{ rule.rationale }}</li>{% endif %}
|
9
|
+
{% if rule.references %}<li><strong>Reference</strong>: {% for reference in rule.references %}<a href="{{ reference.url }}" target="_blank"><em>{{ reference.id }}</em></a>{% endfor %}</li>{% endif %}
|
10
|
+
{% if rule.examples %}<li><strong>Examples</strong>:<ul>{% for example in rule.examples %}<li>{{ example }}</li>{% endfor %}</ul></li>{% endif %}
|
11
|
+
</ul>
|
12
|
+
</div>
|
13
|
+
</section>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
<style>
|
3
|
+
#uppy {
|
4
|
+
position: fixed;
|
5
|
+
bottom: 20px;
|
6
|
+
right: 30px;
|
7
|
+
z-index: 99;
|
8
|
+
border: none;
|
9
|
+
outline: none;
|
10
|
+
background-color: darkred;
|
11
|
+
color: white;
|
12
|
+
cursor: pointer;
|
13
|
+
margin:15px;
|
14
|
+
border-radius: 10px;
|
15
|
+
}
|
16
|
+
|
17
|
+
#returnTop:hover {
|
18
|
+
background-color: #555;
|
19
|
+
}
|
20
|
+
</style>
|
21
|
+
|
22
|
+
<button id="uppy" title="Return to Top" class="btn btn-lg"> <i class="fa fa-chevron-up"></i></button>
|
23
|
+
|
24
|
+
<script>
|
25
|
+
(function() {
|
26
|
+
|
27
|
+
var scrollTop = function() {
|
28
|
+
window.scrollTo(0, 0);
|
29
|
+
};
|
30
|
+
document.getElementById('uppy').onclick = scrollTop;
|
31
|
+
})();
|
32
|
+
</script>
|
33
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<div id="td-sidebar-menu" class="td-sidebar__inner">
|
2
|
+
<!-- TODO we need search here -->
|
3
|
+
<!--<form class="td-sidebar__search d-flex align-items-center">
|
4
|
+
<input type="search" class="form-control td-search-input" placeholder="Search this site..." aria-label="Search this site..." autocomplete="off">
|
5
|
+
<button class="btn btn-link td-sidebar__toggle d-md-none p-0 ml-3 fas fa-bars" type="button" data-toggle="collapse" data-target="#td-section-nav" aria-controls="td-docs-nav" aria-expanded="false" aria-label="Toggle section navigation">
|
6
|
+
</button>
|
7
|
+
</form>-->
|
8
|
+
|
9
|
+
<nav class="collapse td-sidebar-nav pt-2" id="td-section-nav">
|
10
|
+
<ul class="list-style-none">
|
11
|
+
{% for section in site.data.menus.[page.sidebar] %}
|
12
|
+
{% capture sectionUrl %}
|
13
|
+
{{ section.url | replace: "/", "" }}
|
14
|
+
{% endcapture %}
|
15
|
+
{% capture pageUrl %}
|
16
|
+
{{ page.url | replace: "/", "" }}
|
17
|
+
{% endcapture %}
|
18
|
+
<li class="side-nav-item border-bottom m-0{% if pageUrl == sectionUrl %} active{% endif %} js-side-nav-item"><a href="{{ site.baseurl }}/{{ section.url }}" class="side-nav-link py-2 d-block{% if pageUrl == sectionUrl %} active js-side-nav-link-active{% endif %}">{{ section.title }}</a></li>
|
19
|
+
{% endfor %}
|
20
|
+
</ul>
|
21
|
+
</nav>
|
22
|
+
</div>
|