diff --git a/docusaurus.config.js b/docusaurus.config.js index 1e5a4aab..3cf77958 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -2,229 +2,6 @@ const { themes } = require("prism-react-renderer"); const lightCodeTheme = themes.github; const darkCodeTheme = themes.dracula; -const redirectsList = [ - { - from: "/docs", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/quickstart", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/overview", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/getting-started", - to: "/docs/HyperIndex/getting-started", - }, - { - from: "/docs/hyperindex-basics", - to: "/docs/HyperIndex/getting-started", - }, - { - from: "/docs/contract-import", - to: "/docs/HyperIndex/contract-import", - }, - { - from: "/docs/configuration-file", - to: "/docs/HyperIndex/configuration-file", - }, - { - from: "/docs/schema", - to: "/docs/HyperIndex/schema", - }, - { - from: "/docs/event-handlers", - to: "/docs/HyperIndex/event-handlers", - }, - { - from: "/docs/testing", - to: "/docs/HyperIndex/testing", - }, - { - from: "/docs/running-locally", - to: "/docs/HyperIndex/running-locally", - }, - { - from: "/docs/navigating-hasura", - to: "/docs/HyperIndex/navigating-hasura", - }, - { - from: "/docs/cli-commands", - to: "/docs/HyperIndex/cli-commands", - }, - { - from: "/docs/hosted-service", - to: "/docs/HyperIndex/hosted-service", - }, - { - from: "/docs/hosted-service-deployment", - to: "/docs/HyperIndex/hosted-service-deployment", - }, - { - from: "/docs/hosted-service-billing", - to: "/docs/HyperIndex/hosted-service-billing", - }, - { - from: "/docs/licensing", - to: "/docs/HyperIndex/licensing", - }, - { - from: "/docs/fuel", - to: "/docs/HyperIndex/fuel", - }, - { - from: "/docs/tutorial-op-bridge-deposits", - to: "/docs/HyperIndex/tutorial-op-bridge-deposits", - }, - { - from: "/docs/tutorial-erc20-token-transfers", - to: "/docs/HyperIndex/tutorial-erc20-token-transfers", - }, - { - from: "/docs/tutorial-indexing-fuel", - to: "/docs/HyperIndex/tutorial-indexing-fuel", - }, - { - from: "/docs/greeter-tutorial", - to: "/docs/HyperIndex/greeter-tutorial", - }, - { - from: "/docs/linked-entity-loaders", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/HyperIndex/linked-entity-loaders", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/dynamic-contracts", - to: "/docs/HyperIndex/dynamic-contracts", - }, - { - from: "/docs/multichain-indexing", - to: "/docs/HyperIndex/multichain-indexing", - }, - { - from: "/docs/hypersync/", - to: "/docs/HyperIndex/hypersync", - }, - { - from: "/docs/rpc-sync", - to: "/docs/HyperIndex/rpc-sync", - }, - { - from: "/docs/generated-files", - to: "/docs/HyperIndex/generated-files", - }, - { - from: "/docs/terminology", - to: "/docs/HyperIndex/terminology", - }, - { - from: "/docs/async-mode", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/HyperIndex/async-mode", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/labels", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/HyperIndex/labels", - to: "/docs/HyperIndex/overview", - }, - { - from: "/docs/performance", - to: "/docs/HyperIndex/performance", - }, - { - from: "/docs/example-sablier-v2", - to: "/docs/HyperIndex/example-sablier", - }, - { - from: "/docs/example-liquidation-metrics", - to: "/docs/HyperIndex/example-liquidation-metrics", - }, - { - from: "/docs/example-uniswap-v3", - to: "/docs/HyperIndex/example-uniswap-v4-multi-chain-indexer", - }, - { - from: "/docs/example-uniswap-v4", - to: "/docs/HyperIndex/example-uniswap-v4-multi-chain-indexer", - }, - { - from: "/docs/example-ens", - to: "/docs/HyperIndex/example-ens", - }, - { - from: "/docs/logging", - to: "/docs/HyperIndex/logging", - }, - { - from: "/docs/common-issues", - to: "/docs/HyperIndex/common-issues", - }, - { - from: "/docs/error-codes", - to: "/docs/HyperIndex/error-codes", - }, - { - from: "/docs/reserved-words", - to: "/docs/HyperIndex/reserved-words", - }, - { - from: "/docs/hyperfuel", - to: "/docs/HyperIndex/fuel", - }, - //// HyperSync - { - from: "/docs/overview-hypersync", - to: "/docs/HyperSync/overview", - }, - { - from: "/docs/hypersync-usage", - to: "/docs/HyperSync/hypersync-usage", - }, - { - from: "/docs/hypersync-query", - to: "/docs/HyperSync/hypersync-query", - }, - { - from: "/docs/hypersync-clients", - to: "/docs/HyperSync/hypersync-clients", - }, - { - from: "/docs/hypersync-curl-example", - to: "/docs/HyperSync/hypersync-curl-examples", - }, - { - from: "/docs/hypersync-url-endpoints", - to: "/docs/HyperSync/hypersync-supported-networks", - }, - { - from: "/docs/HyperSync/hypersync-url-endpoints", - to: "/docs/HyperSync/hypersync-supported-networks", - }, - { - from: "/docs/HyperSync/hyperrpc-url-endpoints", - to: "/docs/HyperRPC/hyperrpc-supported-networks", - }, - { - from: "/docs/hyperfuel-query", - to: "/docs/HyperSync/hyperfuel-query", - }, - { - from: "/docs/overview-hyperrpc", - to: "/docs/HyperRPC/overview-hyperrpc", - }, -]; // Load build-time generated network count (written by scripts/update-endpoints.js). // Falls back to a safe default if the file hasn't been generated yet. let networkCountData = { hyperSyncChainCount: null }; @@ -652,12 +429,6 @@ This file contains links to documentation sections following the llmstxt.org sta showLastUpdateTime: false, }, ], - [ - "@docusaurus/plugin-client-redirects", - { - redirects: redirectsList, - }, - ], ], themes: ["docusaurus-json-schema-plugin"], }; diff --git a/docusaurus.config.llm.js b/docusaurus.config.llm.js index d94b4d08..4420933b 100644 --- a/docusaurus.config.llm.js +++ b/docusaurus.config.llm.js @@ -128,6 +128,7 @@ const config = { ], }, metadata: [ + { name: "robots", content: "noindex, nofollow" }, { name: "twitter:card", content: "summary_large_image" }, { name: "twitter:site", content: "@envio_indexer" }, { property: "og:type", content: "website" }, diff --git a/vercel.json b/vercel.json index 890cd9d7..ce8cf1e4 100644 --- a/vercel.json +++ b/vercel.json @@ -10,11 +10,114 @@ "destination": "/api/mcp" } ], - "redirects": [ + "headers": [ + { + "source": "/blog/tag", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, follow" }] + }, + { + "source": "/blog/tag/:path*", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, follow" }] + }, + { + "source": "/blog/archive", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, follow" }] + }, + { + "source": "/blog/atom.xml", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, follow" }] + }, + { + "source": "/blog/rss.xml", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, follow" }] + }, { - "source": "/blog/tags/:tag*", - "destination": "/blog/tag/:tag*", - "permanent": true + "source": "/blog/page/:path*", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, follow" }] + }, + { + "source": "/docs/HyperIndex-LLM/:path*", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, nofollow" }] + }, + { + "source": "/docs/HyperSync-LLM/:path*", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, nofollow" }] + }, + { + "source": "/docs/HyperRPC-LLM/:path*", + "headers": [{ "key": "X-Robots-Tag", "value": "noindex, nofollow" }] } + ], + "redirects": [ + { "source": "/blog/tags/:tag*", "destination": "/blog/tag/:tag*", "permanent": true }, + { "source": "/blog/blog/dev-update-december-2025", "destination": "/blog/envio-developer-update-december-2025", "permanent": true }, + { "source": "/blog/blog/:path*", "destination": "/blog/:path*", "permanent": true }, + { "source": "/blog/2024/11/08/06-hosted-service-v2", "destination": "/blog/hosted-service-v2", "permanent": true }, + { "source": "/blog/navigating-common-challenges-in-blockchain-indexing", "destination": "/blog/common-challenges-in-blockchain-indexing", "permanent": true }, + { "source": "/docs/migration-guide", "destination": "/docs/HyperIndex/migration-guide", "permanent": true }, + { "source": "/docs/subgraph-migration", "destination": "/docs/HyperIndex/migration-guide", "permanent": true }, + { "source": "/docs/api", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/HyperIndex/migration-guide-v1-v2", "destination": "/docs/HyperIndex/migration-guide", "permanent": true }, + { "source": "/docs/HyperIndex/v2/privacy-policy", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/HyperIndex/v2/terms-of-service", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/HyperIndex/v2/:path*", "destination": "/docs/HyperIndex/:path*", "permanent": true }, + { "source": "/docs/HyperSync/overview-hyperrpc", "destination": "/docs/HyperRPC/overview-hyperrpc", "permanent": true }, + { "source": "/docs/HyperIndex/overview-hyperrpc", "destination": "/docs/HyperRPC/overview-hyperrpc", "permanent": true }, + { "source": "/docs/HyperIndex/overview-hypersync", "destination": "/docs/HyperSync/overview", "permanent": true }, + { "source": "/docs", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/quickstart", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/overview", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/getting-started", "destination": "/docs/HyperIndex/getting-started", "permanent": true }, + { "source": "/docs/hyperindex-basics", "destination": "/docs/HyperIndex/getting-started", "permanent": true }, + { "source": "/docs/contract-import", "destination": "/docs/HyperIndex/contract-import", "permanent": true }, + { "source": "/docs/configuration-file", "destination": "/docs/HyperIndex/configuration-file", "permanent": true }, + { "source": "/docs/schema", "destination": "/docs/HyperIndex/schema", "permanent": true }, + { "source": "/docs/event-handlers", "destination": "/docs/HyperIndex/event-handlers", "permanent": true }, + { "source": "/docs/testing", "destination": "/docs/HyperIndex/testing", "permanent": true }, + { "source": "/docs/running-locally", "destination": "/docs/HyperIndex/running-locally", "permanent": true }, + { "source": "/docs/navigating-hasura", "destination": "/docs/HyperIndex/navigating-hasura", "permanent": true }, + { "source": "/docs/cli-commands", "destination": "/docs/HyperIndex/cli-commands", "permanent": true }, + { "source": "/docs/hosted-service", "destination": "/docs/HyperIndex/hosted-service", "permanent": true }, + { "source": "/docs/hosted-service-deployment", "destination": "/docs/HyperIndex/hosted-service-deployment", "permanent": true }, + { "source": "/docs/hosted-service-billing", "destination": "/docs/HyperIndex/hosted-service-billing", "permanent": true }, + { "source": "/docs/licensing", "destination": "/docs/HyperIndex/licensing", "permanent": true }, + { "source": "/docs/fuel", "destination": "/docs/HyperIndex/fuel", "permanent": true }, + { "source": "/docs/tutorial-op-bridge-deposits", "destination": "/docs/HyperIndex/tutorial-op-bridge-deposits", "permanent": true }, + { "source": "/docs/tutorial-erc20-token-transfers", "destination": "/docs/HyperIndex/tutorial-erc20-token-transfers", "permanent": true }, + { "source": "/docs/tutorial-indexing-fuel", "destination": "/docs/HyperIndex/tutorial-indexing-fuel", "permanent": true }, + { "source": "/docs/greeter-tutorial", "destination": "/docs/HyperIndex/greeter-tutorial", "permanent": true }, + { "source": "/docs/linked-entity-loaders", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/HyperIndex/linked-entity-loaders", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/dynamic-contracts", "destination": "/docs/HyperIndex/dynamic-contracts", "permanent": true }, + { "source": "/docs/multichain-indexing", "destination": "/docs/HyperIndex/multichain-indexing", "permanent": true }, + { "source": "/docs/hypersync", "destination": "/docs/HyperIndex/hypersync", "permanent": true }, + { "source": "/docs/rpc-sync", "destination": "/docs/HyperIndex/rpc-sync", "permanent": true }, + { "source": "/docs/generated-files", "destination": "/docs/HyperIndex/generated-files", "permanent": true }, + { "source": "/docs/terminology", "destination": "/docs/HyperIndex/terminology", "permanent": true }, + { "source": "/docs/async-mode", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/HyperIndex/async-mode", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/labels", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/HyperIndex/labels", "destination": "/docs/HyperIndex/overview", "permanent": true }, + { "source": "/docs/performance", "destination": "/docs/HyperIndex/performance", "permanent": true }, + { "source": "/docs/example-sablier-v2", "destination": "/docs/HyperIndex/example-sablier", "permanent": true }, + { "source": "/docs/example-liquidation-metrics", "destination": "/docs/HyperIndex/example-liquidation-metrics", "permanent": true }, + { "source": "/docs/example-uniswap-v3", "destination": "/docs/HyperIndex/example-uniswap-v4-multi-chain-indexer", "permanent": true }, + { "source": "/docs/example-uniswap-v4", "destination": "/docs/HyperIndex/example-uniswap-v4-multi-chain-indexer", "permanent": true }, + { "source": "/docs/example-ens", "destination": "/docs/HyperIndex/example-ens", "permanent": true }, + { "source": "/docs/logging", "destination": "/docs/HyperIndex/logging", "permanent": true }, + { "source": "/docs/common-issues", "destination": "/docs/HyperIndex/common-issues", "permanent": true }, + { "source": "/docs/error-codes", "destination": "/docs/HyperIndex/error-codes", "permanent": true }, + { "source": "/docs/reserved-words", "destination": "/docs/HyperIndex/reserved-words", "permanent": true }, + { "source": "/docs/hyperfuel", "destination": "/docs/HyperIndex/fuel", "permanent": true }, + { "source": "/docs/overview-hypersync", "destination": "/docs/HyperSync/overview", "permanent": true }, + { "source": "/docs/hypersync-usage", "destination": "/docs/HyperSync/hypersync-usage", "permanent": true }, + { "source": "/docs/hypersync-query", "destination": "/docs/HyperSync/hypersync-query", "permanent": true }, + { "source": "/docs/hypersync-clients", "destination": "/docs/HyperSync/hypersync-clients", "permanent": true }, + { "source": "/docs/hypersync-curl-example", "destination": "/docs/HyperSync/hypersync-curl-examples", "permanent": true }, + { "source": "/docs/hypersync-url-endpoints", "destination": "/docs/HyperSync/hypersync-supported-networks", "permanent": true }, + { "source": "/docs/HyperSync/hypersync-url-endpoints", "destination": "/docs/HyperSync/hypersync-supported-networks", "permanent": true }, + { "source": "/docs/HyperSync/hyperrpc-url-endpoints", "destination": "/docs/HyperRPC/hyperrpc-supported-networks", "permanent": true }, + { "source": "/docs/hyperfuel-query", "destination": "/docs/HyperSync/hyperfuel-query", "permanent": true }, + { "source": "/docs/overview-hyperrpc", "destination": "/docs/HyperRPC/overview-hyperrpc", "permanent": true } ] }