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

docs: navigation for a path thru current docs #1007

Merged
merged 1 commit into from
Mar 19, 2024
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
109 changes: 55 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,18 @@ 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
Loading