Skip to content

Commit 1e69ebf

Browse files
committed
update sidebars and dropdown menu and add intro page
1 parent 86c8f10 commit 1e69ebf

File tree

4 files changed

+35
-3
lines changed

4 files changed

+35
-3
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Introduction
3+
id: introduction
4+
---
5+
6+
This section introduces guides for the primary use cases of building on Swarm.
7+
8+
9+
### [**Upload and Download**](/docs/develop/access-the-swarm/upload-and-download)
10+
Learn how to upload and retrieve different types of data from Swarm, in both Node.js and browser environments.
11+
12+
### [**Host a Website**](/docs/develop/access-the-swarm/host-your-website)
13+
Publish a website to Swarm, and optionally configure ENS for a human-readable domain.
14+
15+
### [**Publish Updatable Content**](/docs/develop/access-the-swarm/updatable-content)
16+
Explore how to make your content evolve over time on Swarm, with serialized updates that keep a stable reference.
17+
18+
### [**Add Access Control**](/docs/develop/access-the-swarm/act)
19+
Restrict access to your Swarm content and share it only with authorized users.
20+
21+
### [**Messaging on Swarm**](/docs/develop/access-the-swarm/messaging)
22+
Integrate messaging into your dApps using Swarm — from private encrypted messages to real-time communication.

docs/develop/access-the-swarm/upload-and-download.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,12 @@ Once your Bee node is running, a HTTP API is enabled for you to interact with. T
5050
defaultValue="swarm-cli"
5151
values={[
5252
{label: 'Swarm CLI', value: 'swarm-cli'},
53+
{label: 'bee-js', value: 'bee-js'},
5354
{label: 'API', value: 'api'},
5455
]}>
56+
57+
<TabItem value="bee-js">
58+
</TabItem>
5559
<TabItem value="api">
5660

5761
#### API
@@ -213,8 +217,13 @@ Once your file is uploaded to Swarm it can be easily downloaded.
213217
defaultValue="swarm-cli"
214218
values={[
215219
{label: 'Swarm CLI', value: 'swarm-cli'},
220+
{label: 'bee-js', value: 'bee-js'},
216221
{label: 'API', value: 'api'},
217222
]}>
223+
224+
<TabItem value="bee-js">
225+
</TabItem>
226+
218227
<TabItem value="api">
219228

220229
#### API

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ module.exports = {
176176
items: [
177177
{
178178
to: 'docs/develop/introduction',
179-
label: 'Develop on Swarm'
180-
},
179+
label: 'Getting Started'
180+
},
181181
{
182182
to: 'docs/develop/access-the-swarm/introduction',
183-
label: 'Access the Swarm'
183+
label: 'Building on Swarm'
184184
},
185185
{
186186
to: 'docs/develop/tools-and-features/introduction',

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ module.exports = {
9595
type: 'category',
9696
label: 'Building on Swarm',
9797
items: [
98+
'develop/access-the-swarm/introduction',
9899
'develop/access-the-swarm/upload-and-download',
99100
'develop/access-the-swarm/host-your-website',
100101
'develop/access-the-swarm/updatable-content',

0 commit comments

Comments
 (0)