Skip to content

Commit

Permalink
docs: navigation for a path thru current docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Mar 19, 2024
1 parent e154239 commit 74d57d1
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 91 deletions.
110 changes: 56 additions & 54 deletions main/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@ export default defineConfig({
{
text: 'Getting Started',
link: '/guides/getting-started/',
collapsed: true,
items: [
{ text: 'Getting Started', link: '/guides/getting-started/' },
{
text: 'Smart Wallet Dapp Architecture',
link: '/guides/getting-started/contract-rpc',
},
],
},
{
text: 'Zoe',
Expand All @@ -142,14 +134,23 @@ export default defineConfig({
],
},
{
text: 'Agoric CLI',
link: '/guides/agoric-cli/',
text: 'ERTP',
link: '/guides/ertp/',
collapsed: true,
items: [
{ text: 'Agoric CLI Reference', link: '/guides/agoric-cli/' },
{ text: 'ERTP Overview', link: '/guides/ertp/' },
{
text: 'Using agd to make queries and transactions',
link: '/guides/agoric-cli/agd-query-tx',
text: 'Amounts, Values, and Brands',
link: '/guides/ertp/amounts',
},
{ text: 'AmountMath', link: '/guides/ertp/amount-math' },
{
text: 'Issuers and Mints',
link: '/guides/ertp/issuers-and-mints',
},
{
text: 'Purses and Payments',
link: '/guides/ertp/purses-and-payments',
},
],
},
Expand Down Expand Up @@ -181,26 +182,20 @@ export default defineConfig({
],
},
{
text: 'ERTP',
link: '/guides/ertp/',
text: 'Agoric Platform',
link: '/guides/platform/',
collapsed: true,
items: [
{ text: 'ERTP Overview', link: '/guides/ertp/' },
{
text: 'Amounts, Values, and Brands',
link: '/guides/ertp/amounts',
},
{ text: 'AmountMath', link: '/guides/ertp/amount-math' },
{
text: 'Issuers and Mints',
link: '/guides/ertp/issuers-and-mints',
},
{
text: 'Purses and Payments',
link: '/guides/ertp/purses-and-payments',
},
],
items: [],
},
{
text: 'Smart Wallet Dapp Architecture',
link: '/guides/getting-started/contract-rpc',
},
{
text: 'Name Services: agoricNames, namesByAddress, board',
link: '/guides/integration/name-services',
},

{
text: 'Permissioned Contract Deployment',
link: '/guides/coreeval/',
Expand All @@ -224,6 +219,21 @@ export default defineConfig({
},
],
},
{
text: 'Deployed Zoe Contracts',
link: '/guides/zoe/actual-contracts/',
collapsed: true,
items: [
{
text: 'Deployed Zoe Contracts',
link: '/guides/zoe/actual-contracts/',
},
{
text: 'PSM Contract',
link: '/guides/zoe/actual-contracts/PSM',
},
],
},
{
text: 'Example Zoe Contracts',
link: '/guides/zoe/contracts/',
Expand Down Expand Up @@ -302,29 +312,8 @@ export default defineConfig({
],
},
{
text: 'Deployed Zoe Contracts',
link: '/guides/zoe/actual-contracts/',
collapsed: true,
items: [
{
text: 'Deployed Zoe Contracts',
link: '/guides/zoe/actual-contracts/',
},
{
text: 'PSM Contract',
link: '/guides/zoe/actual-contracts/PSM',
},
],
},
{
text: 'Smart Wallet Dapp Architecture',
link: '/guides/getting-started/contract-rpc',
},
{
text: 'Agoric Platform',
link: '/guides/platform/',
collapsed: true,
items: [],
text: 'Integrating with Agoric Network',
link: '/guides/integration/chain-integration',
},
{
text: 'SubQuery Indexing',
Expand All @@ -334,6 +323,19 @@ export default defineConfig({
},
],
'/reference/': [

{
text: 'Agoric CLI',
link: '/guides/agoric-cli/',
collapsed: true,
items: [
{ text: 'Agoric CLI Reference', link: '/guides/agoric-cli/' },
{
text: 'Using agd to make queries and transactions',
link: '/guides/agoric-cli/agd-query-tx',
},
],
},
{
text: 'ERTP API',
link: '/reference/ertp-api/',
Expand Down
63 changes: 26 additions & 37 deletions main/.vitepress/themeConfig/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,12 @@ export const nav = [
{
text: 'Getting Started',
ariaLabel: 'Getting Started Menu',
items: [
{
text: 'Your First Agoric Dapp',
ariaLabel: 'Your First Agoric Dapp Menu',
link: '/guides/getting-started/',
},
{
text: 'Smart Wallet Dapp Architecture',
ariaLabel: 'Smart Wallet Dapp Architecture Menu',
link: '/guides/getting-started/contract-rpc',
},
{
text: 'Permissioned Contract Deployment',
ariaLabel: 'Permissioned Contract Deployment',
link: '/guides/coreeval/',
},
],
link: '/guides/getting-started/',
},
{
text: 'Agoric Components',
ariaLabel: 'Agoric Components Menu',
items: [
{
text: 'Agoric CLI',
ariaLabel: 'Agoric CLI',
link: '/guides/agoric-cli/',
},
{
text: 'JavaScript Framework',
ariaLabel: 'JavaScript Framework',
link: '/guides/js-programming/',
},
{
text: 'ERTP',
ariaLabel: 'ERTP',
Expand All @@ -50,6 +24,11 @@ export const nav = [
ariaLabel: 'Zoe',
link: '/guides/zoe/',
},
{
text: 'Smart Wallet Dapp Architecture',
ariaLabel: 'Smart Wallet Dapp Architecture Menu',
link: '/guides/getting-started/contract-rpc',
},
{
text: 'Example Zoe Contracts',
ariaLabel: 'Example Zoe Contracts',
Expand All @@ -61,16 +40,31 @@ export const nav = [
link: '/guides/zoe/actual-contracts/',
},
{
text: 'Smart Wallet Dapp Architecture',
ariaLabel: 'Smart Wallet Dapp Architecture Menu',
link: '/guides/getting-started/contract-rpc',
text: 'Permissioned Contract Deployment',
ariaLabel: 'Permissioned Contract Deployment',
link: '/guides/coreeval/',
},
{
text: 'JavaScript Framework',
ariaLabel: 'JavaScript Framework',
link: '/guides/js-programming/',
},
],
},
{
text: 'API Reference',
ariaLabel: 'API Reference Menu',
text: 'Reference',
ariaLabel: 'Reference Menu',
items: [
{
text: 'Glossary',
ariaLabel: 'Glossary Menu',
link: '/glossary/',
},
{
text: 'Agoric CLI',
ariaLabel: 'Agoric CLI',
link: '/guides/agoric-cli/',
},
{
text: 'ERTP API',
ariaLabel: 'ERTP API Menu',
Expand All @@ -83,11 +77,6 @@ export const nav = [
},
],
},
{
text: 'Glossary',
ariaLabel: 'Glossary Menu',
link: '/glossary/',
},
{
text: 'New Features',
ariaLabel: 'New Features Menu',
Expand Down

0 comments on commit 74d57d1

Please sign in to comment.