From 7c8a7a08284b1a7ee19adac0fdb1fb8991fd1b9f Mon Sep 17 00:00:00 2001 From: Jernej Kos Date: Thu, 4 Jul 2024 10:18:30 +0200 Subject: [PATCH] docs: Add ROFL --- docs/rofl/README.mdx | 19 +++++++++++++++++++ docs/rofl/app.md | 1 + docs/rofl/prerequisites.md | 1 + external/oasis-sdk | 2 +- sidebarRofl.ts | 13 +++++++++++++ sidebars.ts | 2 ++ 6 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 docs/rofl/README.mdx create mode 120000 docs/rofl/app.md create mode 120000 docs/rofl/prerequisites.md create mode 100644 sidebarRofl.ts diff --git a/docs/rofl/README.mdx b/docs/rofl/README.mdx new file mode 100644 index 0000000000..0350409b28 --- /dev/null +++ b/docs/rofl/README.mdx @@ -0,0 +1,19 @@ +--- +description: Build your own ROFL application +--- + +import DocCardList from '@theme/DocCardList'; +import {findSidebarItem} from '@site/src/sidebarUtils'; + +# Build ROFL Application + +This chapter will teach you how to build your own ROFL application with +[Oasis Runtime SDK]. + + + +[Oasis Runtime SDK]: + https://github.com/oasisprotocol/oasis-sdk/tree/main/runtime-sdk diff --git a/docs/rofl/app.md b/docs/rofl/app.md new file mode 120000 index 0000000000..50a112030a --- /dev/null +++ b/docs/rofl/app.md @@ -0,0 +1 @@ +../../external/oasis-sdk/docs/rofl/app.md \ No newline at end of file diff --git a/docs/rofl/prerequisites.md b/docs/rofl/prerequisites.md new file mode 120000 index 0000000000..4de79acf45 --- /dev/null +++ b/docs/rofl/prerequisites.md @@ -0,0 +1 @@ +../../external/oasis-sdk/docs/rofl/prerequisites.md \ No newline at end of file diff --git a/external/oasis-sdk b/external/oasis-sdk index 385af35781..c1de65ca7a 160000 --- a/external/oasis-sdk +++ b/external/oasis-sdk @@ -1 +1 @@ -Subproject commit 385af35781072dbe3d5e29f93951972f8ed71e92 +Subproject commit c1de65ca7a5bb1dbcb112ffcbba44380f0f0f4d5 diff --git a/sidebarRofl.ts b/sidebarRofl.ts new file mode 100644 index 0000000000..ab641b515f --- /dev/null +++ b/sidebarRofl.ts @@ -0,0 +1,13 @@ +import {SidebarsConfig} from '@docusaurus/plugin-content-docs'; + +export const sidebarROFL: SidebarsConfig = { + rofl: [ + { + type: 'doc', + label: 'Overview', + id: 'rofl/README', + }, + 'rofl/prerequisites', + 'rofl/app', + ], +}; diff --git a/sidebars.ts b/sidebars.ts index dbec4e54fb..0e6781e1a9 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -7,6 +7,7 @@ import {sidebarGeneral} from './sidebarGeneral'; import {sidebarGetInvolved} from './sidebarGetInvolved'; import {sidebarNode} from './sidebarNode'; import {sidebarParaTime} from './sidebarParatime'; +import {sidebarROFL} from './sidebarRofl'; const sidebars: SidebarsConfig = { ...sidebarAdrs, @@ -16,6 +17,7 @@ const sidebars: SidebarsConfig = { ...sidebarGetInvolved, ...sidebarNode, ...sidebarParaTime, + ...sidebarROFL, }; export default sidebars;