-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jorge Aguilera <[email protected]>
- Loading branch information
Showing
72 changed files
with
413 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
site: | ||
title: Nextflow nf-nomad plugin | ||
start_page: main:ROOT:index.adoc | ||
content: | ||
sources: | ||
- url: . | ||
start_path: ./src/docs/antora | ||
edit_url: false | ||
branches: HEAD | ||
|
||
ui: | ||
bundle: | ||
url: ./src/docs/antora/ui | ||
snapshot: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: main | ||
version: final | ||
title: Nf-Nomad | ||
nav: | ||
- modules/ROOT/nav.adoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
|
||
* xref:index.adoc[Introduction] | ||
* xref:usage.adoc[Usage] | ||
* xref:config.adoc[Configuration] | ||
* xref:development.adoc[Development] | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
== Configuration | ||
|
||
Most of the basic configuration is in a `nomad` closure in the `nextflow.config` file | ||
|
||
i.e. | ||
|
||
``` | ||
nomad{ | ||
client{ | ||
address = "http://localhost:4646" | ||
} | ||
jobs{ | ||
deleteoncompletion = false | ||
} | ||
} | ||
``` | ||
|
||
=== Client configuration | ||
|
||
- address, a URL | ||
- token, if the cluster is protected you must to provide a token | ||
|
||
=== Jobs configuration | ||
|
||
- deleteOnCompletion, a boolean indicating if the job will be removed once completed |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
'use strict' | ||
|
||
module.exports = (...args) => { | ||
const numArgs = args.length | ||
if (numArgs === 3) return args[0] && args[1] | ||
if (numArgs < 3) throw new Error('{{and}} helper expects at least 2 arguments') | ||
args.pop() | ||
return args.every((it) => it) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
'use strict' | ||
|
||
const TAG_ALL_RX = /<[^>]+>/g | ||
|
||
module.exports = (html) => html && html.replace(TAG_ALL_RX, '') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict' | ||
|
||
module.exports = (a, b) => a === b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict' | ||
|
||
module.exports = (value) => (value || 0) + 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict' | ||
|
||
module.exports = (a, b) => a !== b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict' | ||
|
||
module.exports = (val) => !val |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
'use strict' | ||
|
||
module.exports = (...args) => { | ||
const numArgs = args.length | ||
if (numArgs === 3) return args[0] || args[1] | ||
if (numArgs < 3) throw new Error('{{or}} helper expects at least 2 arguments') | ||
args.pop() | ||
return args.some((it) => it) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
'use strict' | ||
|
||
const { posix: path } = require('path') | ||
|
||
module.exports = (to, from, ctx) => { | ||
if (!to) return '#' | ||
// NOTE only legacy invocation provides both to and from | ||
if (!ctx) from = (ctx = from).data.root.page.url | ||
if (to.charAt() !== '/') return to | ||
if (!from) return (ctx.data.root.site.path || '') + to | ||
let hash = '' | ||
const hashIdx = to.indexOf('#') | ||
if (~hashIdx) { | ||
hash = to.substr(hashIdx) | ||
to = to.substr(0, hashIdx) | ||
} | ||
return to === from | ||
? hash || (isDir(to) ? './' : path.basename(to)) | ||
: (path.relative(path.dirname(from + '.'), to) || '.') + (isDir(to) ? '/' + hash : hash) | ||
} | ||
|
||
function isDir (str) { | ||
return str.charAt(str.length - 1) === '/' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict' | ||
|
||
module.exports = () => new Date().getFullYear().toString() |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
{{> head defaultPageTitle='Page Not Found'}} | ||
</head> | ||
<body class="status-404"> | ||
{{> header}} | ||
{{> body}} | ||
{{> footer}} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
{{> head defaultPageTitle='Untitled'}} | ||
</head> | ||
<body class="article{{#with (or page.attributes.role page.role)}} {{{this}}}{{/with}}"> | ||
{{> header}} | ||
{{> body}} | ||
{{> footer}} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<article class="doc"> | ||
<h1 class="page">{{{or page.title 'Page Not Found'}}}</h1> | ||
<div class="paragraph"> | ||
<p>The page you’re looking for does not exist. It may have been moved. You can{{#with site.homeUrl}} return to the <a href="{{{this}}}">start page</a>, or{{/with}} follow one of the links in the navigation to the left.</p> | ||
</div> | ||
<div class="paragraph"> | ||
<p>If you arrived on this page by clicking on a link, please notify the owner of the site that the link is broken. | ||
If you typed the URL of this page manually, please double check that you entered the address correctly.</p> | ||
</div> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<article class="doc"> | ||
{{#with page.title}} | ||
<h1 class="page">{{{this}}}</h1> | ||
{{/with}} | ||
{{{page.contents}}} | ||
{{> pagination}} | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div class="body"> | ||
{{> nav}} | ||
{{> main}} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<nav class="breadcrumbs" aria-label="breadcrumbs"> | ||
{{#if page.breadcrumbs}} | ||
<ul> | ||
{{#with page.componentVersion}} | ||
{{#if (and ./title (ne ./title @root.page.breadcrumbs.0.content))}} | ||
<li><a href="{{{relativize ./url}}}">{{{./title}}}</a></li> | ||
{{/if}} | ||
{{/with}} | ||
{{#each page.breadcrumbs}} | ||
<li> | ||
{{~#if (and ./url (eq ./urlType 'internal'))~}} | ||
<a href="{{{relativize ./url}}}">{{{./content}}}</a> | ||
{{~else~}} | ||
{{{./content}}} | ||
{{~/if~}} | ||
</li> | ||
{{/each}} | ||
</ul> | ||
{{/if}} | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<footer class="footer"> | ||
<p>This site was built using Antora.</p> | ||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script src="{{{uiRootPath}}}/js/site.js"></script> | ||
<script async src="{{{uiRootPath}}}/js/vendor/highlight.js"></script> | ||
{{#if env.SITE_SEARCH_PROVIDER}} | ||
{{> search-scripts}} | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{{> footer-content}} | ||
{{> footer-scripts}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{!-- <link rel="icon" href="{{{uiRootPath}}}/img/favicon.ico" type="image/x-icon"> --}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{{#with page.canonicalUrl}} | ||
<link rel="canonical" href="{{{this}}}"> | ||
{{/with}} | ||
{{#unless (eq page.attributes.pagination undefined)}} | ||
{{#with page.previous}} | ||
<link rel="prev" href="{{{relativize ./url}}}"> | ||
{{/with}} | ||
{{#with page.next}} | ||
<link rel="next" href="{{{relativize ./url}}}"> | ||
{{/with}} | ||
{{/unless}} | ||
{{#with page.description}} | ||
<meta name="description" content="{{{detag this}}}"> | ||
{{/with}} | ||
{{#with page.keywords}} | ||
<meta name="keywords" content="{{{this}}}"> | ||
{{/with}} | ||
{{#with (or antoraVersion site.antoraVersion)}} | ||
<meta name="generator" content="Antora {{{this}}}"> | ||
{{/with}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{!-- Add additional meta tags here --}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{#with site.keys.googleAnalytics}} | ||
<script async src="https://www.googletagmanager.com/gtag/js?id={{this}}"></script> | ||
<script>function gtag(){dataLayer.push(arguments)};window.dataLayer=window.dataLayer||[];gtag('js',new Date());gtag('config','{{this}}')</script> | ||
{{/with}} | ||
<script>var uiRootPath = '{{{uiRootPath}}}'</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<title>{{{detag (or page.title defaultPageTitle)}}}{{#with site.title}} :: {{this}}{{/with}}</title> |
Oops, something went wrong.