Skip to content
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
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Before finishing a change, run `pnpm build` for content changes, and `pnpm lint`
- Create the `.mdx` file under `content/docs/`, then add its path (no extension, e.g. `"wallets/features/verify"`) to `content/navigation.json`. A page missing from the navigation still builds and has a URL, but no sidebar entry; `lib/navigation.tsx` warns about navigation entries that point to missing pages.
- Moving or renaming a page changes its URL. Add a redirect from the old path to `redirects.json` and update links to it across `content/`.
- Use folder names in lowercase kebab-case, matching the existing tree (`wallets/react-native/cloud/relay.mdx`).
- A navbar tab links to its first page, so make that page the tab folder's `index.mdx` and list it first in the tab's navigation: the Wallet Verification tab opens `/wallet-verification`, not `/wallet-verification/overview`. Label it in the sidebar with `sidebarTitle: "Overview"` if needed. Every tab follows this (`/wallets`, `/apps`, `/network`, `/payments`, `/wallet-verification`).

## Frontmatter

Expand Down
2 changes: 1 addition & 1 deletion content/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@
{
"group": "Get Started",
"pages": [
"wallet-verification/overview",
"wallet-verification/index",
"wallet-verification/quickstart"
]
},
Expand Down
4 changes: 4 additions & 0 deletions redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@
"source": "/payments/overview",
"destination": "/payments"
},
{
"source": "/wallet-verification/overview",
"destination": "/wallet-verification"
},
{
"source": "/wallets/guides/tonconnect-walletconnect",
"destination": "/apps/guides/tonconnect-walletconnect"
Expand Down
Loading