Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 64 additions & 1 deletion _data/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,69 @@ module.exports = {
},
{
section: 'ORACLE JOBS',
contents: [
{
url: '/docs/jobs/migration-v1-v2',
title: 'Migrating to v2 Jobs',
},
{
url: '/docs/jobs/',
title: 'Jobs',
children: [
{ url: '/docs/jobs/types/cron/', title: 'Cron' },
{
url: '/docs/jobs/types/direct-request/',
title: 'Direct Request',
},
{
url: '/docs/jobs/types/flux-monitor/',
title: 'Flux Monitor',
},
{ url: '/docs/jobs/types/keeper/', title: 'Keeper' },
{
url: '/docs/jobs/types/offchain-reporting/',
title: 'Off-chain Reporting',
},
{ url: '/docs/jobs/types/webhook/', title: 'Webhook' },
],
},
{
url: '/docs/tasks/',
title: 'Tasks',
children: [
{ url: '/docs/jobs/task-types/http/', title: 'HTTP' },
{ url: '/docs/jobs/task-types/bridge/', title: 'Bridge' },
{ url: '/docs/jobs/task-types/jsonparse/', title: 'JSON Parse' },
{ url: '/docs/jobs/task-types/cborparse/', title: 'CBOR Parse' },
{
url: '/docs/jobs/task-types/eth-abi-decode/',
title: 'ETH ABI Decode',
},
{
url: '/docs/jobs/task-types/eth-abi-decode-log/',
title: 'ETH ABI Decode Log',
},
{
url: '/docs/jobs/task-types/eth-abi-encode/',
title: 'ETH ABI Encode',
},
{ url: '/docs/jobs/task-types/eth-call/', title: 'ETH Call' },
{ url: '/docs/jobs/task-types/eth-tx/', title: 'ETH Tx' },

{ url: '/docs/jobs/task-types/multiply/', title: 'Multiply' },
{ url: '/docs/jobs/task-types/divide/', title: 'Divide' },

{ url: '/docs/jobs/task-types/any/', title: 'Any' },
{ url: '/docs/jobs/task-types/mean/', title: 'Mean' },
{ url: '/docs/jobs/task-types/median/', title: 'Median' },
{ url: '/docs/jobs/task-types/mode/', title: 'Mode' },
{ url: '/docs/jobs/task-types/sum/', title: 'Sum' },
],
},
],
},
{
section: 'v1 JSON JOBS [DEPRECATED]',
contents: [
{ url: '/docs/job-specifications/', title: 'Job Specifications' },
{ url: '/docs/core-adapters/', title: 'Core Adapters' },
Expand Down Expand Up @@ -294,4 +357,4 @@ module.exports = {
},
],
},
}
};
1 change: 1 addition & 0 deletions _includes/main.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<link rel="preload" href="/prism.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="/prism.css"></noscript>
<script src="/prism.js" defer></script>
<script src="/prism-jpv2.js" defer></script>
<script src="/tab.js" defer></script>
<script src="/sul.js" defer></script>
<script src="/notification.js" defer></script>
Expand Down
4 changes: 3 additions & 1 deletion _src/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ pre {
}
p code,
ul li code {
color: #a50909;
background-color: #f6f8fa;
border-radius: 3px;
margin: 0;
padding: 0.2em 0.4em;
font-size: 0.9em;
}

#page {
Expand All @@ -33,7 +35,6 @@ code-tabs {
overflow-x: scroll;
}
.tab-bar {
margin-bottom: -18px;
margin-top: 32px;
white-space: nowrap;
}
Expand Down Expand Up @@ -142,6 +143,7 @@ a.anchor img {
display: flex;
}
.nav-content > div {
width:800px;
max-width: 800px;
margin: 0px auto;
padding: 0 16px 16px 16px;
Expand Down
Binary file added _src/images/dag_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions _src/prism-jpv2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Expand with support for job spec v2 toml
Prism.languages.jpv2dot=Prism.languages.extend('dot', {});

var variable = {
pattern: /\$\(.*\)/,
lookbehind: !0,
inside: {
comment: {
pattern: /[\$\(\)\.]/,
},
keyword: {
pattern: /[^\$\(\)\.]/,
},
},
};

Prism.languages.jpv2dot['attr-value'].inside.variable = variable;
Prism.languages.jpv2dot['attr-value'].inside.markup.inside.variable = variable;

Prism.languages.jpv2=Prism.languages.extend('toml', {});
Prism.languages.insertBefore('jpv2','string',{
pipeline: {
pattern: /"""(?:\\[\s\S]|[^\\])*?"""/,
inside: Prism.languages.jpv2dot,
greedy: !0,
alias: 'language-jpv2dot',
},
});
Loading