Skip to content

Commit

Permalink
Add Streams docs
Browse files Browse the repository at this point in the history
Co-authored-by: Dr-Electron <dr-electr0n@protonmail.com>
  • Loading branch information
lucas-tortora and Dr-Electron committed Sep 27, 2021
1 parent 2a2e1d3 commit 73ac9fb
Show file tree
Hide file tree
Showing 9 changed files with 48 additions and 13 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/EXTERNAL_DOCS_CONFIG
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,13 @@
routeBasePath: "wasp",
sidebarPath: require.resolve("./external/wasp/documentation/sidebars.js"),
}
],
],
[
"@docusaurus/plugin-content-docs",
{
id: "streams",
path: "external/streams/documentation/docs",
routeBasePath: "streams",
sidebarPath: require.resolve("./external/streams/documentation/sidebars.js"),
}
],
6 changes: 6 additions & 0 deletions .github/workflows/EXTERNAL_DOCS_DROPDOWN_CONFIG
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,9 @@
className: "icon-goshimmer",
activeBaseRegex: 'goshimmer/.*'
},
{
label: "Streams",
to: "streams/welcome",
className: "icon-streams",
activeBaseRegex: 'streams/.*'
},
4 changes: 4 additions & 0 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
{
"repo": "https://github.com/iotaledger/identity.rs",
"staticPath": "./documentation/static"
},
{
"repo": "https://github.com/iotaledger/streams",
"staticPath": "./documentation/static"
}
]
}
10 changes: 9 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ module.exports = {
'. 1 3 2',
'. 1 3 2',
'. 1 3 2',
'. 1 3 2',
],
items_: [
{
Expand All @@ -83,7 +84,7 @@ module.exports = {
to: "docs/build/getting-started/architecture",
icon: "\ue908",
activeBaseRegex: 'docs/build/getting-started/.*'
}
},
]
},
{
Expand Down Expand Up @@ -162,6 +163,13 @@ module.exports = {
icon: "\ue905",
activeBaseRegex: 'identity.rs/.*'
},
{
label: "Streams",
sublabel: "Share data securely",
to: "streams/welcome",
icon: "\ue900",
activeBaseRegex: 'streams/.*'
},
],
},
{
Expand Down
7 changes: 7 additions & 0 deletions src/css/fonts/SVGs/streams_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/css/fonts/icomoon.eot
Binary file not shown.
Loading

0 comments on commit 73ac9fb

Please sign in to comment.