snakemake-plugin-jekyll 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/COPYRIGHT +15 -0
  3. data/LICENSE +21 -0
  4. data/NOTICE +21 -0
  5. data/README.md +93 -0
  6. data/_includes/_gh_link.html +8 -0
  7. data/_includes/_info_bar.html +5 -0
  8. data/_includes/_reading_time.html +12 -0
  9. data/_includes/accordion.html +131 -0
  10. data/_includes/editable.html +5 -0
  11. data/_includes/favicons.html +17 -0
  12. data/_includes/feedback.html +58 -0
  13. data/_includes/footer.html +8 -0
  14. data/_includes/head.html +11 -0
  15. data/_includes/landing.html +132 -0
  16. data/_includes/navigation.html +25 -0
  17. data/_includes/policy/legend.html +4 -0
  18. data/_includes/policy/rule.html +13 -0
  19. data/_includes/scrolltop.html +33 -0
  20. data/_includes/sidebar.html +22 -0
  21. data/_includes/site-footer.html +14 -0
  22. data/_includes/toc.html +35 -0
  23. data/_layouts/default.html +15 -0
  24. data/_layouts/docs.html +88 -0
  25. data/_layouts/page-two-col.html +22 -0
  26. data/_layouts/page.html +11 -0
  27. data/_layouts/redirect.html +13 -0
  28. data/assets/css/main.css +5399 -0
  29. data/assets/css/style.css +268 -0
  30. data/assets/css/vendors.min.css +3 -0
  31. data/assets/images/demo.png +0 -0
  32. data/assets/images/icons/icon-download-form.png +0 -0
  33. data/assets/images/icons/icon-download.png +0 -0
  34. data/assets/images/icons/open-iconic/sprite.min.svg +1 -0
  35. data/assets/images/phila-skyline.jpg +0 -0
  36. data/assets/images/stately-logo.png +0 -0
  37. data/assets/images/theme-sidebar.png +0 -0
  38. data/assets/images/theme.png +0 -0
  39. data/assets/img/brands.svg +1336 -0
  40. data/assets/img/favicon/android-icon-144x144.png +0 -0
  41. data/assets/img/favicon/android-icon-192x192.png +0 -0
  42. data/assets/img/favicon/android-icon-36x36.png +0 -0
  43. data/assets/img/favicon/android-icon-48x48.png +0 -0
  44. data/assets/img/favicon/android-icon-72x72.png +0 -0
  45. data/assets/img/favicon/android-icon-96x96.png +0 -0
  46. data/assets/img/favicon/apple-icon-114x114.png +0 -0
  47. data/assets/img/favicon/apple-icon-120x120.png +0 -0
  48. data/assets/img/favicon/apple-icon-144x144.png +0 -0
  49. data/assets/img/favicon/apple-icon-152x152.png +0 -0
  50. data/assets/img/favicon/apple-icon-180x180.png +0 -0
  51. data/assets/img/favicon/apple-icon-57x57.png +0 -0
  52. data/assets/img/favicon/apple-icon-60x60.png +0 -0
  53. data/assets/img/favicon/apple-icon-72x72.png +0 -0
  54. data/assets/img/favicon/apple-icon-76x76.png +0 -0
  55. data/assets/img/favicon/apple-icon-precomposed.png +0 -0
  56. data/assets/img/favicon/apple-icon.png +0 -0
  57. data/assets/img/favicon/browserconfig.xml +2 -0
  58. data/assets/img/favicon/favicon-16x16.png +0 -0
  59. data/assets/img/favicon/favicon-32x32.png +0 -0
  60. data/assets/img/favicon/favicon-96x96.png +0 -0
  61. data/assets/img/favicon/favicon.ico +0 -0
  62. data/assets/img/favicon/manifest.json +41 -0
  63. data/assets/img/favicon/ms-icon-144x144.png +0 -0
  64. data/assets/img/favicon/ms-icon-150x150.png +0 -0
  65. data/assets/img/favicon/ms-icon-310x310.png +0 -0
  66. data/assets/img/favicon/ms-icon-70x70.png +0 -0
  67. data/assets/img/snakemake-logo.png +0 -0
  68. data/assets/img/snakemake-square.png +0 -0
  69. data/assets/img/solid.svg +2996 -0
  70. data/assets/js/home.js +57 -0
  71. data/assets/js/jquery-3.3.1/jquery-3.3.1.js +10364 -0
  72. data/assets/js/jquery-3.3.1/jquery-3.3.1.min.js +2 -0
  73. data/assets/js/vendors.min.js +1 -0
  74. metadata +132 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 90395d10d0256ef5bbbec27012b645833e6c738e2d94fcb3f35d8799db8a9e24
4
+ data.tar.gz: 1ffb4aea56b7d12080b4eb394ac241098abe458fa47ba32f44e1209a23685150
5
+ SHA512:
6
+ metadata.gz: 211f9ed2e418f9a7238ccd843b4b7361a6ff6ef7e5a0724b1945ddeabd66a1668d9af913dc169378911182246c13689c8cdf364b75665e10a41617d2d7459b95
7
+ data.tar.gz: 1c7479b7d77492ce9539938106322613c8eac59c67dad0b13a92cca3d469457a240a9ff36bf50f9e470cf26c7c6b946af32fcb736dbf59f266c2b38e42ad75ee
data/COPYRIGHT ADDED
@@ -0,0 +1,15 @@
1
+ Intellectual Property Notice
2
+ ----------------------------
3
+
4
+ HPCIC DevTools is licensed under the MIT license (LICENSE).
5
+
6
+ Copyrights and patents in this project are retained by
7
+ contributors. No copyright assignment is required to contribute to
8
+ HPCIC DevTools.
9
+
10
+ SPDX usage
11
+ ------------
12
+
13
+ Individual files contain SPDX tags instead of the full license text.
14
+ This enables machine processing of license information based on the SPDX
15
+ License Identifiers that are available here: https://spdx.org/licenses/
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022-2023 LLNS, LLC and other HPCIC DevTools Developers.
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.
data/NOTICE ADDED
@@ -0,0 +1,21 @@
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.
data/README.md ADDED
@@ -0,0 +1,93 @@
1
+ # Snakemake Plugin Jekyll Docs Template
2
+
3
+ ![assets/img/snakemake-logo.png](assets/img/snakemake-logo.png)
4
+
5
+ This is a Snakemake jekyll template intended for plugin authors to easily deploy
6
+ documentation alongside their repositories. Snakemake currently supports the following
7
+ plugin types:
8
+
9
+ - [Executor Plugins](https://github.com/snakemake/snakemake-interface-executor-plugins)
10
+
11
+ ## Usage
12
+
13
+ Using the theme is easy - just add it as a `remote_theme` to your config yaml.
14
+ We will be providing an example site (to use as a template) soon!
15
+
16
+ ```bash
17
+ # Theme for docs
18
+ plugins:
19
+ - jekyll-remote-theme
20
+
21
+ remote_theme: snakemake/snakemake-plugin-docs-jekyll
22
+ ```
23
+
24
+ And add
25
+
26
+ ```
27
+ gem "jekyll-remote-theme"
28
+ ```
29
+
30
+ to your Gemfile.
31
+
32
+ ### Add a Page
33
+
34
+ And then you can add any pages with the following front end matter (header)
35
+ to use the documentation template.
36
+
37
+ ```
38
+ ---
39
+ title: plugin
40
+ layout: docs
41
+ permalink: /cmake/
42
+ ---
43
+ ```
44
+
45
+ ### Add a Sidebar
46
+
47
+ To add a sidebar to your pages, create a file under `_data/menus/` that is named
48
+ according to your sidebar, e.g., `_data/menus/mysidebar.yaml` for a sidebar named `mysidebar`.
49
+ The file should be a flat list of names and urls:
50
+
51
+ ```yaml
52
+ - title: My Page
53
+ url: "mypage"
54
+ - title: Root of Site
55
+ url: ""
56
+ ```
57
+
58
+ And then you can add this to the front end matter of pages where you want it to appear:
59
+
60
+ ```
61
+ ---
62
+ title: plugin
63
+ layout: docs
64
+ sidebar: mysidebar
65
+ permalink: /pagename/
66
+ ---
67
+ ```
68
+
69
+ ## Development
70
+
71
+ If you want to use the gem, it is built during CI, and release is currently done from the command line:
72
+
73
+ ```bash
74
+ $ /bin/bash script/release.sh
75
+ ```
76
+
77
+ But this isn't required since we can use `jekyll-remote-theme` and use it directly from GitHub.
78
+ If you do release, you should bump the version in [snakemake-plugin-docs-jekyll.gemspec](snakemake-plugin-docs-jekyll.gemspec)
79
+ and be on the main branch.
80
+
81
+
82
+ ## License
83
+
84
+ HPCIC DevTools is distributed under the terms of the MIT license.
85
+ All new contributions must be made under this license.
86
+
87
+ See [LICENSE](https://github.com/converged-computing/cloud-select/blob/main/LICENSE),
88
+ [COPYRIGHT](https://github.com/converged-computing/cloud-select/blob/main/COPYRIGHT), and
89
+ [NOTICE](https://github.com/converged-computing/cloud-select/blob/main/NOTICE) for details.
90
+
91
+ SPDX-License-Identifier: (MIT)
92
+
93
+ LLNL-CODE- 842614
@@ -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,5 @@
1
+ <div class="py-2">
2
+ <div class="{% if page.url == '/home/' %}container-lg-home{% else %}container-lg{% endif %} px-4">
3
+ <p class="mb-0 text-white text-small">{{ site.info_bar_text }}</p>
4
+ </div>
5
+ </div>
@@ -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,17 @@
1
+ <link rel="apple-touch-icon" sizes="57x57" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-57x57.png">
2
+ <link rel="apple-touch-icon" sizes="60x60" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-60x60.png">
3
+ <link rel="apple-touch-icon" sizes="72x72" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-72x72.png">
4
+ <link rel="apple-touch-icon" sizes="76x76" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-76x76.png">
5
+ <link rel="apple-touch-icon" sizes="114x114" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-114x114.png">
6
+ <link rel="apple-touch-icon" sizes="120x120" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-120x120.png">
7
+ <link rel="apple-touch-icon" sizes="144x144" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-144x144.png">
8
+ <link rel="apple-touch-icon" sizes="152x152" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-152x152.png">
9
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ site.baseurl }}/assets/img/favicon/apple-icon-180x180.png">
10
+ <link rel="icon" type="image/png" sizes="192x192" href="{{ site.baseurl }}/assets/img/favicon/android-icon-192x192.png">
11
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ site.baseurl }}/assets/img/favicon/favicon-32x32.png">
12
+ <link rel="icon" type="image/png" sizes="96x96" href="{{ site.baseurl }}/assets/img/favicon/favicon-96x96.png">
13
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ site.baseurl }}/assets/img/favicon/favicon-16x16.png">
14
+ <link rel="manifest" href="{{ site.baseurl }}/assets/img/favicon/manifest.json">
15
+ <meta name="msapplication-TileColor" content="#ffffff">
16
+ <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
17
+ <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
+
@@ -0,0 +1,8 @@
1
+ <footer class="footer">
2
+ <p>{{ site.description }}</p>
3
+ <p>
4
+ &copy; {{ 'now' | date: "%Y" }} <a class="highlight-link" href="https://github.com/snakemake/" target="_blank" rel="noreferrer">
5
+ Snakemake Authors and Contributors
6
+ </a>
7
+ </p>
8
+ </footer>
@@ -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/snakemake-logo.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://snakemake.github.io/snakemake-workflow-catalog/">
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">Workflows</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://snakemake.readthedocs.io/en/stable/project_info/faq.html">
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://snakemake.readthedocs.io/en/stable/getting_started/installation.html">
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>&nbsp;&nbsp; {{ 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
+