Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): API docs stucture #2014

Merged
merged 3 commits into from
Sep 6, 2023
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
3 changes: 3 additions & 0 deletions docs/docs/dev_docs/dapps/api/aztec_rpc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Wallets and AztecRPC
---
3 changes: 3 additions & 0 deletions docs/docs/dev_docs/dapps/api/contract_interaction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Contract Interaction
---
9 changes: 9 additions & 0 deletions docs/docs/dev_docs/dapps/api/main.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: API
---

## API Structure

- Discuss AztecRPC, it's purpose and what it's used for
- Discuss aztec.js and the generated typescript interfaces
- Links to other pages within this api section
3 changes: 3 additions & 0 deletions docs/docs/dev_docs/dapps/tutorials/contract_deployment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Contract Deployment
---
3 changes: 3 additions & 0 deletions docs/docs/dev_docs/dapps/tutorials/contract_interaction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Contract Interactions
---
3 changes: 3 additions & 0 deletions docs/docs/dev_docs/dapps/tutorials/creating_accounts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Creating Accounts
---
10 changes: 10 additions & 0 deletions docs/docs/dev_docs/dapps/tutorials/main.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Dapp Development Tutorials
---

Links to specific tutorials

- Connecting to the RPC Server
- Creating Accounts
- Deploying a contract
- Contract Interactions
3 changes: 3 additions & 0 deletions docs/docs/dev_docs/dapps/tutorials/rpc_server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Connecting to the RPC Server
---
36 changes: 36 additions & 0 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,42 @@ const sidebars = {
},
],
},
{
label: "DApp Development",
type: "category",
link: {
type: "doc",
id: "dev_docs/dapps/main",
},
items: [
{
label: "API",
type: "category",
link: {
type: "doc",
id: "dev_docs/dapps/api/main",
},
items: [
"dev_docs/dapps/api/aztec_rpc",
"dev_docs/dapps/api/contract_interaction",
],
},
{
label: "Tutorials",
type: "category",
link: {
type: "doc",
id: "dev_docs/dapps/tutorials/main",
},
items: [
"dev_docs/dapps/tutorials/rpc_server",
"dev_docs/dapps/tutorials/creating_accounts",
"dev_docs/dapps/tutorials/contract_deployment",
"dev_docs/dapps/tutorials/contract_interaction",
],
},
],
},

{
label: "Sandbox",
Expand Down