From 9c240a991a52fd74fc4417a94db8e721fe8e3243 Mon Sep 17 00:00:00 2001 From: Gaurav agarwal Date: Fri, 7 Aug 2026 16:46:12 +0530 Subject: [PATCH] docs: give the Address Labels API its own top-level nav section It landed in #236 as one item under "Understanding Cubes", next to the EVM and Solana cube pages. Labels are a distinct product surface, not a cube variant, and the section needs room to grow. Moves the page into docs/labels/ and adds a top-level sidebar category following the Stablecoin APIs pattern (generated-index over its own folder), positioned with the other API product sections between Stablecoin APIs and MCP. The page carries sidebar_label "Overview" so the nav reads "Address Labels API > Overview" rather than repeating the full page title. The URL becomes /docs/labels/address-labels-api, still carrying the target keyword. #236 already shipped and deployed the cubes URL, which is live and serving, so this adds a client redirect from /docs/cubes/address-labels-api/ rather than leaving it to 404. Title, description, canonical, and the FAQPage/TechArticle/BreadcrumbList JSON-LD were re-verified in the production build at the new URL, the generated redirect page was confirmed to point at it, and the inbound link from the Balances cube was repointed. Co-Authored-By: Claude Opus 5 --- docs/cubes/balances-cube.md | 2 +- docs/{cubes => labels}/address-labels-api.md | 2 ++ docusaurus.config.js | 7 +++++++ sidebars.js | 12 +++++++++++- 4 files changed, 21 insertions(+), 2 deletions(-) rename docs/{cubes => labels}/address-labels-api.md (99%) diff --git a/docs/cubes/balances-cube.md b/docs/cubes/balances-cube.md index 10199494..79017af3 100644 --- a/docs/cubes/balances-cube.md +++ b/docs/cubes/balances-cube.md @@ -248,7 +248,7 @@ If you need to know *why* a balance moved rather than *what it became*, reconstr ## Related -- [Address Labels API](/docs/cubes/address-labels-api) — identify which of those addresses are exchanges, contracts, or known entities +- [Address Labels API](/docs/labels/address-labels-api) — identify which of those addresses are exchanges, contracts, or known entities - [Balance Updates cube](/docs/cubes/balance-updates-cube) — per-change history and change attribution - [Transfers cube](/docs/cubes/transfers-cube) — the transfers that drive most balance changes - [Token Holders API (Ethereum)](/docs/blockchain/Ethereum/token-holders/token-holder-api) — worked `EVM.Holders` examples diff --git a/docs/cubes/address-labels-api.md b/docs/labels/address-labels-api.md similarity index 99% rename from docs/cubes/address-labels-api.md rename to docs/labels/address-labels-api.md index 02724986..ab49a0ba 100644 --- a/docs/cubes/address-labels-api.md +++ b/docs/labels/address-labels-api.md @@ -1,5 +1,7 @@ --- title: "Address Labels API — Identify Crypto Wallets" +sidebar_label: "Overview" +sidebar_position: 1 description: "Identify wallets and contracts with the Bitquery Address Labels API: exchange hot and cold wallets, deposit addresses, token contracts and clones, any chain." keywords: - address labels API diff --git a/docusaurus.config.js b/docusaurus.config.js index 3832a2d8..010dbb0b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -198,6 +198,13 @@ const config = { to: "/docs/blockchain/Ethereum/token-holders/token-holder-api/", from: "/docs/examples/balances/tokenHolders-api/", }, + // Labels moved out of the cubes section into their own top-level + // section. The cubes URL shipped in #236 and was live, so it keeps + // redirecting. + { + to: "/docs/labels/address-labels-api/", + from: "/docs/cubes/address-labels-api/", + }, { to: "/docs/contribution-guidelines/", from: "/docs/contribution_guidelines/", diff --git a/sidebars.js b/sidebars.js index 14ca5c7c..259d145a 100644 --- a/sidebars.js +++ b/sidebars.js @@ -389,7 +389,6 @@ const sidebars = { ], }, "cubes/solana", - "cubes/address-labels-api", ], }, @@ -1072,6 +1071,17 @@ const sidebars = { "stablecoin-APIs/usdt-api", ], }, + { + type: "category", + label: "Address Labels API", + link: { + type: "generated-index", + title: "Address Labels API", + description: + "Identify the real-world entity behind any wallet or contract address — exchange wallets, deposit addresses, token contracts, and issuer-blocked lists.", + }, + items: ["labels/address-labels-api"], + }, { type: "category", label: "MCP",