diff --git a/.eslintrc.js b/.eslintrc.js index 65cc11577cbf..c57e615ddf08 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -21,7 +21,11 @@ module.exports = { // Only lint the English pages because the Markdown for the other languages is auto-generated from English (via Crowdin). // But include all languages when running the ESLint extension in VS Code (in case the user has "eslint.validate": ["mdx"]), // otherwise there will be random errors since the non-English files don't match any ruleset. - files: [`website/pages/${!isVSCode ? 'en/' : ''}**/*.{md,mdx}`], + files: [`website/src/pages/${isVSCode ? '' : 'en/'}**/*.{md,mdx}`], + excludedFiles: [ + `website/src/pages/${isVSCode ? '' : 'en/'}developing/graph-ts/*.md`, + `website/src/pages/${isVSCode ? '' : 'en/'}querying/graph-client/*.md`, + ], parser: 'eslint-mdx', processor: 'mdx/remark', plugins: ['mdx'], diff --git a/.github/workflows/ci-cd-pull-request.yml b/.github/workflows/ci-cd-pull-request.yml index 8411b929f5d4..b848d6577a14 100644 --- a/.github/workflows/ci-cd-pull-request.yml +++ b/.github/workflows/ci-cd-pull-request.yml @@ -19,10 +19,7 @@ jobs: uses: actions/checkout@v4 - name: Set up env - uses: the-guild-org/shared-config/setup@main - with: - nodeVersion: 20 - packageManager: pnpm + uses: the-guild-org/shared-config/setup@v1 - name: Install dependencies run: pnpm install @@ -43,10 +40,7 @@ jobs: uses: actions/checkout@v4 - name: Set up env - uses: the-guild-org/shared-config/setup@main - with: - nodeVersion: 20 - packageManager: pnpm + uses: the-guild-org/shared-config/setup@v1 - name: Install dependencies run: pnpm install @@ -67,10 +61,7 @@ jobs: uses: actions/checkout@v4 - name: Set up env - uses: the-guild-org/shared-config/setup@main - with: - nodeVersion: 20 - packageManager: pnpm + uses: the-guild-org/shared-config/setup@v1 - name: Install dependencies run: pnpm install @@ -92,10 +83,7 @@ jobs: uses: actions/checkout@v4 - name: Set up env - uses: the-guild-org/shared-config/setup@main - with: - nodeVersion: 20 - packageManager: pnpm + uses: the-guild-org/shared-config/setup@v1 - name: Install dependencies run: pnpm install diff --git a/.github/workflows/next-js-bundle-analysis.yml b/.github/workflows/next-js-bundle-analysis.yml index abd3066c3a78..0816741b6d41 100644 --- a/.github/workflows/next-js-bundle-analysis.yml +++ b/.github/workflows/next-js-bundle-analysis.yml @@ -28,10 +28,7 @@ jobs: uses: actions/checkout@v4 - name: Set up env - uses: the-guild-org/shared-config/setup@main - with: - nodeVersion: 20 - packageManager: pnpm + uses: the-guild-org/shared-config/setup@v1 - name: Restore Next.js Build uses: actions/cache@v3 diff --git a/.github/workflows/opengraph.yml b/.github/workflows/opengraph.yml index e62351fb8a05..680e9607621c 100644 --- a/.github/workflows/opengraph.yml +++ b/.github/workflows/opengraph.yml @@ -24,10 +24,7 @@ jobs: ref: ${{ env.COMMIT }} - name: Set up env - uses: the-guild-org/shared-config/setup@main - with: - nodeVersion: 20 - packageManager: pnpm + uses: the-guild-org/shared-config/setup@v1 - name: Deploy working-directory: ./packages/og-image diff --git a/.github/workflows/website-integrity.yml b/.github/workflows/website-integrity.yml index 717e1350383d..9b78013127f6 100644 --- a/.github/workflows/website-integrity.yml +++ b/.github/workflows/website-integrity.yml @@ -21,10 +21,7 @@ jobs: run: git fetch origin main - name: Set up env - uses: the-guild-org/shared-config/setup@main - with: - nodeVersion: 20 - packageManager: pnpm + uses: the-guild-org/shared-config/setup@v1 - name: Build Site run: pnpm build diff --git a/.node-version b/.node-version new file mode 100644 index 000000000000..1384ff6a1cbb --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +22.5.1 diff --git a/.nvmrc b/.nvmrc index 209e3ef4b624..dc5f6a52b13e 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20 +22.6.0 diff --git a/.prettierignore b/.prettierignore index ea072b752646..313d8b382cbd 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,5 +3,8 @@ out/ pnpm-lock.yaml dist/ -website/remote-files/*.json website/.graphclient/ + +# ignore below md since they are fetched from GitHub +website/src/pages/en/developing/graph-ts/*.md +website/src/pages/en/querying/graph-client/*.md diff --git a/Dockerfile b/Dockerfile index 3c50d95ccc36..eece8e6a07a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine as builder +FROM node:22-alpine as builder ARG ENVIRONMENT ENV ENVIRONMENT=$ENVIRONMENT diff --git a/packages/nextra-theme/package.json b/packages/nextra-theme/package.json deleted file mode 100644 index b79acb09d6b0..000000000000 --- a/packages/nextra-theme/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@graphprotocol/nextra-theme", - "version": "0.0.0", - "description": "A Nextra theme for The Graph documentation sites.", - "exports": { - ".": { - "import": "./dist/index.js", - "types": "./dist/index.d.mts" - } - }, - "types": "./dist/index.d.mts", - "typesVersions": { - "*": { - ".": [ - "./dist/index.d.mts" - ] - } - }, - "files": [ - "dist" - ], - "scripts": { - "build": "tsup", - "dev": "tsup --watch", - "typecheck": "tsc --noEmit" - }, - "peerDependencies": { - "@edgeandnode/gds": "^5", - "@edgeandnode/go": "^6", - "@emotion/react": "^11", - "next": "^13", - "next-seo": "^6", - "nextra": "^2", - "react-dom": "^18", - "theme-ui": "^0.16" - }, - "dependencies": { - "@docsearch/react": "^3.6.1", - "@radix-ui/react-collapsible": "^1.1.0", - "@radix-ui/react-visually-hidden": "^1.1.0", - "lodash": "^4.17.21", - "react-intersection-observer": "^9.13.0", - "react-use": "^17.5.0" - }, - "devDependencies": { - "@edgeandnode/gds": "^5.23.0", - "@edgeandnode/go": "^6.33.0", - "@emotion/react": "^11.12.0", - "@types/lodash": "^4.17.7", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", - "next": "^14.2.5", - "next-seo": "^6.5.0", - "nextra": "^2.13.4", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "theme-ui": "^0.16.2", - "tsup": "^8.2.0" - }, - "sideEffects": false -} diff --git a/packages/nextra-theme/src/components/Link.tsx b/packages/nextra-theme/src/components/Link.tsx deleted file mode 100644 index 053eae213b28..000000000000 --- a/packages/nextra-theme/src/components/Link.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import type { AnchorHTMLAttributes } from 'react' - -import { Link } from '@edgeandnode/gds' - -export type LinkInlineProps = Omit, 'color' | 'type'> - -export const LinkInline = (props: LinkInlineProps) => { - return -} diff --git a/packages/nextra-theme/src/index.tsx b/packages/nextra-theme/src/index.tsx deleted file mode 100644 index 5cda49f47cd6..000000000000 --- a/packages/nextra-theme/src/index.tsx +++ /dev/null @@ -1,278 +0,0 @@ -import merge from 'lodash/merge' -import { NextSeo, type NextSeoProps } from 'next-seo' -import type { NextraThemeLayoutProps } from 'nextra' -import { useFSRoute } from 'nextra/hooks' -import { MDXProvider } from 'nextra/mdx' -import { normalizePages } from 'nextra/normalize-pages' -import { type ReactElement, useCallback, useMemo } from 'react' -import { useSet } from 'react-use' -import type { ThemeUICSSObject } from 'theme-ui' - -import { Divider, type DividerProps, Flex, Icon, Spacing, useI18n } from '@edgeandnode/gds' -import { NPSForm } from '@edgeandnode/go' - -import { - Callout, - CodeBlock, - CodeInline, - Difficulty, - DocSearch, - EditPageLink, - Heading, - Image, - LinkInline, - ListItem, - ListOrdered, - ListUnordered, - Paragraph, - Table, - VideoEmbed, -} from '@/components' -import { DocumentContext, MDXLayoutNav, MDXLayoutOutline, MDXLayoutPagination, NavContext } from '@/layout' - -const mdxComponents = { - blockquote: Callout, - pre: CodeBlock, - code: CodeInline, - hr: (props: DividerProps) => , - h1: Heading.H1, - h2: Heading.H2, - h3: Heading.H3, - h4: Heading.H4, - h5: Heading.H5, - h6: Heading.H6, - img: Image, - a: LinkInline, - li: ListItem, - ol: ListOrdered, - ul: ListUnordered, - p: Paragraph, - table: Table, - Callout, - CodeBlock, - CodeInline, - Difficulty, - Heading, - Image, - LinkInline, - ListItem, - ListOrdered, - ListUnordered, - Paragraph, - Table, - VideoEmbed, -} - -const mdxStyles: ThemeUICSSObject = { - overflowWrap: 'break-word', - 'img + em': { - mt: Spacing['16px'], - display: 'block', - textAlign: 'center', - }, -} - -export { - Callout, - CodeBlock, - CodeInline, - Difficulty, - DocSearch, - Heading, - Image, - LinkInline, - ListItem, - ListOrdered, - ListUnordered, - Paragraph, - Table, - VideoEmbed, -} - -export default function NextraLayout({ children, pageOpts, pageProps }: NextraThemeLayoutProps): ReactElement { - const { frontMatter, filePath, pageMap, headings, title, timestamp, readingTime } = pageOpts - const { locale, defaultLocale } = useI18n() - const fsPath = useFSRoute() - - const args = useMemo(() => { - const result = normalizePages({ - list: pageMap, - locale, - defaultLocale, - route: fsPath, - }) - if (typeof window === 'undefined') { - // Execute this check for sidebar links only on server, will be stripped from client build - for (const item of result.flatDocsDirectories) { - if (!item.route) { - throw new Error(`Route "${item.name}" does not exist. Remove this field from _meta.js file`) - } - } - } - return result - }, [defaultLocale, fsPath, locale, pageMap]) - - // Provide `markOutlineItem` to the `DocumentContext` so child `Heading` components can mark outline items as "in or above view" or not - const [ - , - { add: markOutlineItemAsInOrAboveView, remove: markOutlineItemAsNotInOrAboveView, has: outlineItemIsInOrAboveView }, - ] = useSet(new Set([])) - - const markOutlineItem = useCallback( - (id: string, inOrAboveView: boolean) => { - if (inOrAboveView) { - markOutlineItemAsInOrAboveView(id) - } else { - markOutlineItemAsNotInOrAboveView(id) - } - }, - [markOutlineItemAsInOrAboveView, markOutlineItemAsNotInOrAboveView], - ) - // Compute `highlightedOutlineItemId` for the `DocumentContext` based on outline items that have been marked as "in or above view" - const highlightedOutlineItemId = useMemo(() => { - let _highlightedOutlineItemId = null - for (const heading of headings) { - if (heading.depth <= 3 && outlineItemIsInOrAboveView(heading.id)) { - _highlightedOutlineItemId = heading.id - } - } - return _highlightedOutlineItemId - }, [headings, outlineItemIsInOrAboveView]) - - let seo: NextSeoProps = { - title: `${title ? `${title} | ` : ''}Docs | The Graph`, - description: frontMatter.description, - openGraph: { - title, - images: [ - { - url: - frontMatter.socialImage || `https://thegraph-docs-opengraph-image.the-guild.dev?title=${encodeURI(title)}`, - }, - ], - }, - } - if (frontMatter.seo) { - seo = merge(seo, frontMatter.seo) - } - - const lastUpdated = timestamp ? new Date(timestamp) : null - - return ( - - - - -
-
- -
- -
-
- -
- -
- {args.activePath.length > 1 ? ( -
- {args.activePath.map((item) => item.title).join(' > ')} -
- ) : null} - {frontMatter.title ? {frontMatter.title} : null} - {lastUpdated || readingTime ? ( - - {lastUpdated ? ( - - Last updated:{' '} - - - ) : null} - - {(readingTime?.minutes ?? 0) > 0 ? ( - - Reading time: {Math.ceil(readingTime!.minutes)} min - - ) : null} - - ) : null} - {children} -
- - - - - -
- - {/* TODO: Uncomment when we're ready to add the NPS form to the docs - , - hideLabel: true, - score: -1, - }, - { - label: 'Yes', - commentsLabel: 'In what way did this page help you?', - icon: , - hideLabel: true, - score: 1, - }, - ]} - chipSize="xlarge" - sx={{ mb: Spacing['32px'] }} - /> - */} -
-
- -
- -
-
-
-
- ) -} diff --git a/packages/nextra-theme/tsconfig.json b/packages/nextra-theme/tsconfig.json deleted file mode 100644 index a0c1dbc17d25..000000000000 --- a/packages/nextra-theme/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "target": "es2022", - "incremental": false, - "jsx": "react-jsx", - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] - } - } -} diff --git a/packages/nextra-theme/tsup.config.ts b/packages/nextra-theme/tsup.config.ts deleted file mode 100644 index 38274cd67d93..000000000000 --- a/packages/nextra-theme/tsup.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defineConfig } from 'tsup' - -import tsconfig from './tsconfig.json' - -export default defineConfig({ - name: 'nextra-theme', - entry: ['src/index.tsx'], - format: 'esm', - dts: true, - external: ['react'], - outExtension: () => ({ js: '.js' }), - target: tsconfig.compilerOptions.target as 'es2016', -}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 24570f408370..dc981d97b077 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,67 +45,6 @@ importers: specifier: ^5.5.3 version: 5.5.3 - packages/nextra-theme: - dependencies: - '@docsearch/react': - specifier: ^3.6.1 - version: 3.6.1(@algolia/client-search@4.24.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(search-insights@2.15.0) - '@radix-ui/react-collapsible': - specifier: ^1.1.0 - version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@radix-ui/react-visually-hidden': - specifier: ^1.1.0 - version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - lodash: - specifier: ^4.17.21 - version: 4.17.21 - react-intersection-observer: - specifier: ^9.13.0 - version: 9.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react-use: - specifier: ^17.5.0 - version: 17.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - devDependencies: - '@edgeandnode/gds': - specifier: ^5.23.0 - version: 5.23.0(@emotion/is-prop-valid@0.8.8)(@emotion/react@11.12.0(@types/react@18.3.3)(react@18.3.1))(@theme-ui/core@0.16.2(@emotion/react@11.12.0(@types/react@18.3.3)(react@18.3.1))(react@18.3.1))(@types/react-dom@18.3.0)(@types/react@18.3.3)(dayjs@1.11.12)(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.11)(typescript@5.5.3))(typescript@5.5.3))(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(theme-ui@0.16.2(@emotion/react@11.12.0(@types/react@18.3.3)(react@18.3.1))(react@18.3.1)) - '@edgeandnode/go': - specifier: ^6.33.0 - version: 6.33.0(eyvfz6vlxx2wpeodjq5iwzj6z4) - '@emotion/react': - specifier: ^11.12.0 - version: 11.12.0(@types/react@18.3.3)(react@18.3.1) - '@types/lodash': - specifier: ^4.17.7 - version: 4.17.7 - '@types/react': - specifier: ^18.3.3 - version: 18.3.3 - '@types/react-dom': - specifier: ^18.3.0 - version: 18.3.0 - next: - specifier: ^14.2.5 - version: 14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - next-seo: - specifier: ^6.5.0 - version: 6.5.0(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - nextra: - specifier: ^2.13.4 - version: 2.13.4(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: - specifier: ^18.3.1 - version: 18.3.1 - react-dom: - specifier: ^18.3.1 - version: 18.3.1(react@18.3.1) - theme-ui: - specifier: ^0.16.2 - version: 0.16.2(@emotion/react@11.12.0(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) - tsup: - specifier: ^8.2.0 - version: 8.2.0(jiti@1.21.6)(postcss@8.4.39)(tsx@4.16.2)(typescript@5.5.3)(yaml@2.4.5) - packages/og-image: dependencies: '@resvg/resvg-wasm': @@ -154,6 +93,9 @@ importers: website: dependencies: + '@docsearch/react': + specifier: ^3.6.1 + version: 3.6.1(@algolia/client-search@4.24.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(search-insights@2.15.0) '@edgeandnode/common': specifier: ^6.13.0 version: 6.13.0(hardhat@2.14.1(ts-node@10.9.2(@types/node@20.14.11)(typescript@5.5.3))(typescript@5.5.3)) @@ -169,12 +111,18 @@ importers: '@graphprotocol/contracts': specifier: 6.2.1 version: 6.2.1(encoding@0.1.13)(ts-node@10.9.2(@types/node@20.14.11)(typescript@5.5.3))(typescript@5.5.3) - '@graphprotocol/nextra-theme': - specifier: workspace:* - version: link:../packages/nextra-theme '@phosphor-icons/react': specifier: ^2.1.7 version: 2.1.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-collapsible': + specifier: ^1.1.0 + version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-visually-hidden': + specifier: ^1.1.0 + version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + lodash: + specifier: ^4.17.21 + version: 4.17.21 mixpanel-browser: specifier: ^2.53.0 version: 2.53.0 @@ -188,8 +136,8 @@ importers: specifier: ^4.2.3 version: 4.2.3(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) nextra: - specifier: ^2.13.4 - version: 2.13.4(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^3.0.0-alpha.31 + version: 3.0.0-alpha.31(@types/react@18.3.3)(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.3) react: specifier: ^18.3.1 version: 18.3.1 @@ -199,6 +147,12 @@ importers: react-ga4: specifier: ^2.1.0 version: 2.1.0 + react-intersection-observer: + specifier: ^9.13.0 + version: 9.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react-use: + specifier: ^17.5.0 + version: 17.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) theme-ui: specifier: ^0.16.2 version: 0.16.2(@emotion/react@11.12.0(@types/react@18.3.3)(react@18.3.1))(react@18.3.1) @@ -209,6 +163,9 @@ importers: '@graphprotocol/client-cli': specifier: 3.0.3 version: 3.0.3(3q44t6a6kbalgokxvv5bkmim5e) + '@types/lodash': + specifier: ^4.17.7 + version: 4.17.7 '@types/mdast': specifier: ^4.0.4 version: 4.0.4 @@ -236,6 +193,9 @@ importers: tailwindcss: specifier: ^3.4.6 version: 3.4.6(ts-node@10.9.2(@types/node@20.14.11)(typescript@5.5.3)) + tsup: + specifier: ^8.2.3 + version: 8.2.3(jiti@1.21.6)(postcss@8.4.39)(tsx@4.16.2)(typescript@5.5.3)(yaml@2.4.5) tsx: specifier: ^4.16.2 version: 4.16.2 @@ -1955,12 +1915,13 @@ packages: resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==} hasBin: true - '@mdx-js/mdx@2.3.0': - resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==} + '@mdx-js/mdx@3.0.1': + resolution: {integrity: sha512-eIQ4QTrOWyL3LWEe/bu6Taqzq2HQvHcyTMaOrI95P2/LmJE7AsfPfgJGuFLPVqBUE1BC1rik3VIhU+s9u72arA==} - '@mdx-js/react@2.3.0': - resolution: {integrity: sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g==} + '@mdx-js/react@3.0.1': + resolution: {integrity: sha512-9ZrPIU4MGf6et1m1ov3zKf+q9+deetI51zprKB1D/z3NOb+rUxxtEl3mCjW5wTGh6VhRdwPueh1oRzi6ezkA8A==} peerDependencies: + '@types/react': '>=16' react: '>=16' '@metamask/eth-sig-util@4.0.1': @@ -2426,7 +2387,7 @@ packages: resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==} peerDependencies: '@types/react': '*' - react: ^18 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true @@ -2514,8 +2475,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^18 - react-dom: ^18 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true @@ -2527,8 +2488,8 @@ packages: peerDependencies: '@types/react': '*' '@types/react-dom': '*' - react: ^18 - react-dom: ^18 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true @@ -2622,7 +2583,7 @@ packages: resolution: {integrity: sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==} peerDependencies: '@types/react': '*' - react: ^18 + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc peerDependenciesMeta: '@types/react': optional: true @@ -3164,81 +3125,161 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.19.0': + resolution: {integrity: sha512-JlPfZ/C7yn5S5p0yKk7uhHTTnFlvTgLetl2VxqE518QgyM7C9bSfFTYvB/Q/ftkq0RIPY4ySxTz+/wKJ/dXC0w==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.18.1': resolution: {integrity: sha512-F/tkdw0WSs4ojqz5Ovrw5r9odqzFjb5LIgHdHZG65dFI1lWTWRVy32KDJLKRISHgJvqUeUhdIvy43fX41znyDg==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.19.0': + resolution: {integrity: sha512-RDxUSY8D1tWYfn00DDi5myxKgOk6RvWPxhmWexcICt/MEC6yEMr4HNCu1sXXYLw8iAsg0D44NuU+qNq7zVWCrw==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.18.1': resolution: {integrity: sha512-vk+ma8iC1ebje/ahpxpnrfVQJibTMyHdWpOGZ3JpQ7Mgn/3QNHmPq7YwjZbIE7km73dH5M1e6MRRsnEBW7v5CQ==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.19.0': + resolution: {integrity: sha512-emvKHL4B15x6nlNTBMtIaC9tLPRpeA5jMvRLXVbl/W9Ie7HhkrE7KQjvgS9uxgatL1HmHWDXk5TTS4IaNJxbAA==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.18.1': resolution: {integrity: sha512-IgpzXKauRe1Tafcej9STjSSuG0Ghu/xGYH+qG6JwsAUxXrnkvNHcq/NL6nz1+jzvWAnQkuAJ4uIwGB48K9OCGA==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.19.0': + resolution: {integrity: sha512-fO28cWA1dC57qCd+D0rfLC4VPbh6EOJXrreBmFLWPGI9dpMlER2YwSPZzSGfq11XgcEpPukPTfEVFtw2q2nYJg==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-linux-arm-gnueabihf@4.18.1': resolution: {integrity: sha512-P9bSiAUnSSM7EmyRK+e5wgpqai86QOSv8BwvkGjLwYuOpaeomiZWifEos517CwbG+aZl1T4clSE1YqqH2JRs+g==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.19.0': + resolution: {integrity: sha512-2Rn36Ubxdv32NUcfm0wB1tgKqkQuft00PtM23VqLuCUR4N5jcNWDoV5iBC9jeGdgS38WK66ElncprqgMUOyomw==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.18.1': resolution: {integrity: sha512-5RnjpACoxtS+aWOI1dURKno11d7krfpGDEn19jI8BuWmSBbUC4ytIADfROM1FZrFhQPSoP+KEa3NlEScznBTyQ==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.19.0': + resolution: {integrity: sha512-gJuzIVdq/X1ZA2bHeCGCISe0VWqCoNT8BvkQ+BfsixXwTOndhtLUpOg0A1Fcx/+eA6ei6rMBzlOz4JzmiDw7JQ==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.18.1': resolution: {integrity: sha512-8mwmGD668m8WaGbthrEYZ9CBmPug2QPGWxhJxh/vCgBjro5o96gL04WLlg5BA233OCWLqERy4YUzX3bJGXaJgQ==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.19.0': + resolution: {integrity: sha512-0EkX2HYPkSADo9cfeGFoQ7R0/wTKb7q6DdwI4Yn/ULFE1wuRRCHybxpl2goQrx4c/yzK3I8OlgtBu4xvted0ug==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.18.1': resolution: {integrity: sha512-dJX9u4r4bqInMGOAQoGYdwDP8lQiisWb9et+T84l2WXk41yEej8v2iGKodmdKimT8cTAYt0jFb+UEBxnPkbXEQ==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.19.0': + resolution: {integrity: sha512-GlIQRj9px52ISomIOEUq/IojLZqzkvRpdP3cLgIE1wUWaiU5Takwlzpz002q0Nxxr1y2ZgxC2obWxjr13lvxNQ==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.18.1': resolution: {integrity: sha512-V72cXdTl4EI0x6FNmho4D502sy7ed+LuVW6Ym8aI6DRQ9hQZdp5sj0a2usYOlqvFBNKQnLQGwmYnujo2HvjCxQ==} cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.19.0': + resolution: {integrity: sha512-N6cFJzssruDLUOKfEKeovCKiHcdwVYOT1Hs6dovDQ61+Y9n3Ek4zXvtghPPelt6U0AH4aDGnDLb83uiJMkWYzQ==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.18.1': resolution: {integrity: sha512-f+pJih7sxoKmbjghrM2RkWo2WHUW8UbfxIQiWo5yeCaCM0TveMEuAzKJte4QskBp1TIinpnRcxkquY+4WuY/tg==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.19.0': + resolution: {integrity: sha512-2DnD3mkS2uuam/alF+I7M84koGwvn3ZVD7uG+LEWpyzo/bq8+kKnus2EVCkcvh6PlNB8QPNFOz6fWd5N8o1CYg==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.18.1': resolution: {integrity: sha512-qb1hMMT3Fr/Qz1OKovCuUM11MUNLUuHeBC2DPPAWUYYUAOFWaxInaTwTQmc7Fl5La7DShTEpmYwgdt2hG+4TEg==} cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.19.0': + resolution: {integrity: sha512-D6pkaF7OpE7lzlTOFCB2m3Ngzu2ykw40Nka9WmKGUOTS3xcIieHe82slQlNq69sVB04ch73thKYIWz/Ian8DUA==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.18.1': resolution: {integrity: sha512-7O5u/p6oKUFYjRbZkL2FLbwsyoJAjyeXHCU3O4ndvzg2OFO2GinFPSJFGbiwFDaCFc+k7gs9CF243PwdPQFh5g==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.19.0': + resolution: {integrity: sha512-HBndjQLP8OsdJNSxpNIN0einbDmRFg9+UQeZV1eiYupIRuZsDEoeGU43NQsS34Pp166DtwQOnpcbV/zQxM+rWA==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.18.1': resolution: {integrity: sha512-pDLkYITdYrH/9Cv/Vlj8HppDuLMDUBmgsM0+N+xLtFd18aXgM9Nyqupb/Uw+HeidhfYg2lD6CXvz6CjoVOaKjQ==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.19.0': + resolution: {integrity: sha512-HxfbvfCKJe/RMYJJn0a12eiOI9OOtAUF4G6ozrFUK95BNyoJaSiBjIOHjZskTUffUrB84IPKkFG9H9nEvJGW6A==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.18.1': resolution: {integrity: sha512-W2ZNI323O/8pJdBGil1oCauuCzmVd9lDmWBBqxYZcOqWD6aWqJtVBQ1dFrF4dYpZPks6F+xCZHfzG5hYlSHZ6g==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.19.0': + resolution: {integrity: sha512-HxDMKIhmcguGTiP5TsLNolwBUK3nGGUEoV/BO9ldUBoMLBssvh4J0X8pf11i1fTV7WShWItB1bKAKjX4RQeYmg==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.18.1': resolution: {integrity: sha512-ELfEX1/+eGZYMaCIbK4jqLxO1gyTSOIlZr6pbC4SRYFaSIDVKOnZNMdoZ+ON0mrFDp4+H5MhwNC1H/AhE3zQLg==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.19.0': + resolution: {integrity: sha512-xItlIAZZaiG/u0wooGzRsx11rokP4qyc/79LkAOdznGRAbOFc+SfEdfUOszG1odsHNgwippUJavag/+W/Etc6Q==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.18.1': resolution: {integrity: sha512-yjk2MAkQmoaPYCSu35RLJ62+dz358nE83VfTePJRp8CG7aMg25mEJYpXFiD+NcevhX8LxD5OP5tktPXnXN7GDw==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.19.0': + resolution: {integrity: sha512-xNo5fV5ycvCCKqiZcpB65VMR11NJB+StnxHz20jdqRAktfdfzhgjTiJ2doTDQE/7dqGaV5I7ZGqKpgph6lCIag==} + cpu: [x64] + os: [win32] + '@rrweb/types@2.0.0-alpha.16': resolution: {integrity: sha512-E6cACNVsm+NUhn7dzocQoKyXI7BHrHRRm5Ab23yrAzEQ2caWocCEYJhqDlc4KRVJBkQfXZfyWm8+2d0uggFuZg==} @@ -3285,6 +3326,12 @@ packages: '@shikijs/core@1.10.3': resolution: {integrity: sha512-D45PMaBaeDHxww+EkcDQtDAtzv00Gcsp72ukBtaLSmqRvh0WgGMq3Al0rl1QQBZfuneO75NXMIzEZGFitThWbg==} + '@shikijs/core@1.12.0': + resolution: {integrity: sha512-mc1cLbm6UQ8RxLc0dZES7v5rkH+99LxQp/ZvTqV3NLyYsO/fD6JhEflP1H5b2SDq9gI0+0G36AVZWxvounfR9w==} + + '@shikijs/twoslash@1.12.0': + resolution: {integrity: sha512-SX0NpsTYnO26mpWCu2asByzgWnlMP5NPzrhYNGyqS/AQI14sM1AL3/Egc3F2x5u2wa7I9IyokViXOiaPNL46+Q==} + '@shuding/opentype.js@1.4.0-beta.0': resolution: {integrity: sha512-3NgmNyH3l/Hv6EvsWJbsvpcpUba6R8IREQ83nH83cyakCw7uM1arZKNfHwv1Wz6jgqrF/j4x5ELvR6PnK9nTcA==} engines: {node: '>= 8.0.0'} @@ -3367,13 +3414,13 @@ packages: '@tanstack/virtual-core@3.8.3': resolution: {integrity: sha512-vd2A2TnM5lbnWZnHi9B+L2gPtkSeOtJOAw358JqokIH1+v2J7vUAzFVPwB/wrye12RFOurffXu33plm4uQ+JBQ==} - '@theguild/remark-mermaid@0.0.5': - resolution: {integrity: sha512-e+ZIyJkEv9jabI4m7q29wZtZv+2iwPGsXJ2d46Zi7e+QcFudiyuqhLhHG/3gX3ZEB+hxTch+fpItyMS8jwbIcw==} + '@theguild/remark-mermaid@0.0.7': + resolution: {integrity: sha512-sh2xlwOllU6Abh+MPWdJDlNwirDcjdlH1wrDWxNLFNVbEzyVb1BTwhecc6ot5hxBUe38z1Ecja8xor9Wkb61gg==} peerDependencies: react: ^18.2.0 - '@theguild/remark-npm2yarn@0.2.1': - resolution: {integrity: sha512-jUTFWwDxtLEFtGZh/TW/w30ySaDJ8atKWH8dq2/IiQF61dPrGfETpl0WxD0VdBfuLOeU14/kop466oBSRO/5CA==} + '@theguild/remark-npm2yarn@0.3.0': + resolution: {integrity: sha512-Fofw+9airYgjBd9G6PiHHCrptjyUybQ50JH9/5o9LCH54kggJ7stpCofzHjICB8L7VQbQ1Gwu23P/3CMVY1R4Q==} '@theme-ui/color-modes@0.16.2': resolution: {integrity: sha512-jWEWx53lxNgWCT38i/kwLV2rsvJz8lVZgi5oImnVwYba9VejXD23q1ckbNFJHosQ8KKXY87ht0KPC6BQFIiHtQ==} @@ -3499,9 +3546,6 @@ packages: '@types/js-cookie@2.2.7': resolution: {integrity: sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==} - '@types/js-yaml@4.0.9': - resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==} - '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -3532,6 +3576,9 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} + '@types/nlcst@2.0.3': + resolution: {integrity: sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==} + '@types/node-forge@1.3.11': resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} @@ -3644,6 +3691,9 @@ packages: resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} engines: {node: ^16.0.0 || >=18.0.0} + '@typescript/vfs@1.5.0': + resolution: {integrity: sha512-AJS307bPgbsZZ9ggCT3wwpg3VbTKMFNHfaY/uF0ahSkYYrPF2dSSKDNIDIQAHm9qJqbLvCsSJH7yN4Vs/CsMMg==} + '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -3856,9 +3906,6 @@ packages: resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} engines: {node: '>=12'} - ansi-sequence-parser@1.1.1: - resolution: {integrity: sha512-vJXt3yiaUL4UU546s3rPXlsry/RnM730G1+HkpKE012AN0sx1eOrxSu95oKDIonskeLTijMgqWZ3uDEe3NFvyg==} - ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} @@ -3931,6 +3978,9 @@ packages: resolution: {integrity: sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==} engines: {node: '>= 0.4'} + array-iterate@2.0.1: + resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==} + array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} @@ -4056,6 +4106,11 @@ packages: bech32@1.1.4: resolution: {integrity: sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==} + better-react-mathjax@2.0.3: + resolution: {integrity: sha512-wfifT8GFOKb1TWm2+E50I6DJpLZ5kLbch283Lu043EJtwSv0XvZDjr4YfR4d2MjAhqP6SH4VjjrKgbX8R00oCQ==} + peerDependencies: + react: '>=16.8' + big.js@5.2.2: resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==} @@ -4337,6 +4392,9 @@ packages: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} + collapse-white-space@2.1.0: + resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==} + color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -4382,6 +4440,10 @@ packages: resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} engines: {node: '>= 12'} + commander@9.2.0: + resolution: {integrity: sha512-e2i4wANQiSXgnrBlIatyHtP1odfUp0BbV5Y5nEGbxtIrStkEOAAzCUirvLBNXHLr7kwLvJl6V+4V3XV9x7Wd9w==} + engines: {node: ^12.20.0 || >=14} + common-tags@1.8.2: resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} engines: {node: '>=4.0.0'} @@ -5107,6 +5169,10 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true + esm@3.2.25: + resolution: {integrity: sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==} + engines: {node: '>=6'} + espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -5128,25 +5194,34 @@ packages: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} - estree-util-attach-comments@2.1.1: - resolution: {integrity: sha512-+5Ba/xGGS6mnwFbXIuQiDPTbuTxuMCooq3arVv7gPZtYpjp+VXH/NkHAP35OOefPhNG/UGqU3vt/LTABwcHX0w==} + estree-util-attach-comments@3.0.0: + resolution: {integrity: sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==} - estree-util-build-jsx@2.2.2: - resolution: {integrity: sha512-m56vOXcOBuaF+Igpb9OPAy7f9w9OIkb5yhjsZuaPm7HoGi4oTOQi0h2+yZ+AtKklYFZ+rPC4n0wYCJCEU1ONqg==} + estree-util-build-jsx@3.0.1: + resolution: {integrity: sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ==} estree-util-is-identifier-name@2.1.0: resolution: {integrity: sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==} - estree-util-to-js@1.2.0: - resolution: {integrity: sha512-IzU74r1PK5IMMGZXUVZbmiu4A1uhiPgW5hm1GjcOfr4ZzHaMPpLNJjR7HjXiIOzi25nZDrgFTobHTkV5Q6ITjA==} + estree-util-is-identifier-name@3.0.0: + resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} + + estree-util-to-js@2.0.0: + resolution: {integrity: sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==} estree-util-value-to-estree@1.3.0: resolution: {integrity: sha512-Y+ughcF9jSUJvncXwqRageavjrNPAI+1M/L3BI3PyLp1nmgYTGUXU6t5z1Y7OWuThoDdhPME07bQU+d5LxdJqw==} engines: {node: '>=12.0.0'} + estree-util-value-to-estree@3.1.2: + resolution: {integrity: sha512-S0gW2+XZkmsx00tU2uJ4L9hUT7IFabbml9pHh2WQqFmAbxit++YGZne0sKJbNwkj9Wvg9E4uqWl4nCIFQMmfag==} + estree-util-visit@1.2.1: resolution: {integrity: sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw==} + estree-util-visit@2.0.0: + resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==} + estree-walker@0.6.1: resolution: {integrity: sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==} @@ -5670,10 +5745,6 @@ packages: resolution: {integrity: sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==} engines: {node: '>=4'} - hash-obj@4.0.0: - resolution: {integrity: sha512-FwO1BUVWkyHasWDW4S8o0ssQXjvyghLV2rfVhnN36b2bbcj45eGiuzdn9XOvOpjV3TKQD7Gm2BWNXdE9V4KKYg==} - engines: {node: '>=12'} - hash.js@1.1.7: resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} @@ -5702,17 +5773,23 @@ packages: hast-util-raw@9.0.4: resolution: {integrity: sha512-LHE65TD2YiNsHD3YuXcKPHXPLuYh/gjp12mOfU8jxSrm1f/yJpsb0F/KKljS6U9LJoP0Ux+tCe8iJ2AsPzTdgA==} - hast-util-to-estree@2.3.3: - resolution: {integrity: sha512-ihhPIUPxN0v0w6M5+IiAZZrn0LH2uZomeWwhn7uP7avZC6TE7lIiEh2yBMPr5+zi1aUCXq6VoYRgs2Bw9xmycQ==} + hast-util-to-estree@3.1.0: + resolution: {integrity: sha512-lfX5g6hqVh9kjS/B9E2gSkvHH4SZNiQFiqWS0x9fENzEl+8W12RqdRxX6d/Cwxi30tPQs3bIO+aolQJNp1bIyw==} + + hast-util-to-jsx-runtime@2.3.0: + resolution: {integrity: sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==} hast-util-to-parse5@8.0.0: resolution: {integrity: sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==} + hast-util-to-string@3.0.0: + resolution: {integrity: sha512-OGkAxX1Ua3cbcW6EJ5pT/tslVb90uViVkcJ4ZZIMW/R33DX/AkcJcRrPebPwJkHYwlDHXz4aIwvAAaAdtrACFA==} + hast-util-to-text@4.0.2: resolution: {integrity: sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==} - hast-util-whitespace@2.0.1: - resolution: {integrity: sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==} + hast-util-whitespace@3.0.0: + resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} hastscript@8.0.0: resolution: {integrity: sha512-dMOtzCEd3ABUeSIISmrETiKuyydk1w0pa+gE/uormcTpSYuaNJPbX1NU3JLyscSLjwAQM8bWMhhIlnCqnRvDTw==} @@ -5833,6 +5910,9 @@ packages: inline-style-parser@0.1.1: resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==} + inline-style-parser@0.2.3: + resolution: {integrity: sha512-qlD8YNDqyTKTyuITrDOffsl6Tdhv+UC4hcdAVuQsK4IMQ99nSgd1MIA/Q+jQYoh9r3hVUXhYh7urSRmXPkW04g==} + inline-style-prefixer@7.0.1: resolution: {integrity: sha512-lhYo5qNTQp3EvSSp3sRvXMbVQTLrvGV6DycRMJ5dm2BLMiJ30wpXKdDdgX+GmJZ5uQMucwRKHamXSst3Sj/Giw==} @@ -6009,10 +6089,6 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - is-obj@3.0.0: - resolution: {integrity: sha512-IlsXEHOjtKhpN8r/tRFj2nDyTmHvcfNeu/nrRIcXE17ROeatXchkojffa1SpdqW4cr/Fj6QkEf/Gn4zf6KKvEQ==} - engines: {node: '>=12'} - is-path-inside@3.0.3: resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} engines: {node: '>=8'} @@ -6217,9 +6293,6 @@ packages: engines: {node: '>=6'} hasBin: true - jsonc-parser@3.3.1: - resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} - jsonfile@2.4.0: resolution: {integrity: sha512-PKllAqbgLgxHaj8TElYymKCAgrASebJrWpTnEkOaTowt23VKXXN0sUeriJ+eh7y6ufb/CC5ap11pz71/cM0hUw==} @@ -6408,13 +6481,16 @@ packages: resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} engines: {node: '>=0.10.0'} - markdown-extensions@1.1.1: - resolution: {integrity: sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q==} - engines: {node: '>=0.10.0'} + markdown-extensions@2.0.0: + resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==} + engines: {node: '>=16'} markdown-table@3.0.3: resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==} + mathjax-full@3.2.2: + resolution: {integrity: sha512-+LfG9Fik+OuI8SLwsiR02IVdjcnRCy5MufYLi0C3TdMT56L/pjB0alMVGgoWJF8pN9Rc7FESycZB9BMNWIid5w==} + mcl-wasm@0.7.9: resolution: {integrity: sha512-iJIUcQWA88IJB/5L15GnJVnSQJmf/YaxxV6zRavv83HILHaJQb6y0iFyDMdDO0gN8X37tdxmAOrH/P8B6RB8sQ==} engines: {node: '>=8.9.0'} @@ -6425,11 +6501,8 @@ packages: md5@2.3.0: resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==} - mdast-util-definitions@5.1.2: - resolution: {integrity: sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA==} - - mdast-util-find-and-replace@2.2.2: - resolution: {integrity: sha512-MTtdFRz/eMDHXzeK6W3dO7mXUlF82Gom4y0oOgvHhh/HXZAGvIQDUvQ0SuUx+j2tv44b8xTHOm8K/9OoRFnXKw==} + mdast-util-find-and-replace@3.0.1: + resolution: {integrity: sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA==} mdast-util-from-markdown@0.8.5: resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} @@ -6443,48 +6516,57 @@ packages: mdast-util-frontmatter@2.0.1: resolution: {integrity: sha512-LRqI9+wdgC25P0URIJY9vwocIzCcksduHQ9OF2joxQoyTNVduwLAFUzjoopuRJbJAReaKrNQKAZKL3uCMugWJA==} - mdast-util-gfm-autolink-literal@1.0.3: - resolution: {integrity: sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==} + mdast-util-gfm-autolink-literal@2.0.0: + resolution: {integrity: sha512-FyzMsduZZHSc3i0Px3PQcBT4WJY/X/RCtEJKuybiC6sjPqLv7h1yqAkmILZtuxMSsUyaLUWNp71+vQH2zqp5cg==} - mdast-util-gfm-footnote@1.0.2: - resolution: {integrity: sha512-56D19KOGbE00uKVj3sgIykpwKL179QsVFwx/DCW0u/0+URsryacI4MAdNJl0dh+u2PSsD9FtxPFbHCzJ78qJFQ==} + mdast-util-gfm-footnote@2.0.0: + resolution: {integrity: sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ==} - mdast-util-gfm-strikethrough@1.0.3: - resolution: {integrity: sha512-DAPhYzTYrRcXdMjUtUjKvW9z/FNAMTdU0ORyMcbmkwYNbKocDpdk+PX1L1dQgOID/+vVs1uBQ7ElrBQfZ0cuiQ==} + mdast-util-gfm-strikethrough@2.0.0: + resolution: {integrity: sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==} - mdast-util-gfm-table@1.0.7: - resolution: {integrity: sha512-jjcpmNnQvrmN5Vx7y7lEc2iIOEytYv7rTvu+MeyAsSHTASGCCRA79Igg2uKssgOs1i1po8s3plW0sTu1wkkLGg==} + mdast-util-gfm-table@2.0.0: + resolution: {integrity: sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==} - mdast-util-gfm-task-list-item@1.0.2: - resolution: {integrity: sha512-PFTA1gzfp1B1UaiJVyhJZA1rm0+Tzn690frc/L8vNX1Jop4STZgOE6bxUhnzdVSB+vm2GU1tIsuQcA9bxTQpMQ==} + mdast-util-gfm-task-list-item@2.0.0: + resolution: {integrity: sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==} - mdast-util-gfm@2.0.2: - resolution: {integrity: sha512-qvZ608nBppZ4icQlhQQIAdc6S3Ffj9RGmzwUKUWuEICFnd1LVkN3EktF7ZHAgfcEdvZB5owU9tQgt99e2TlLjg==} + mdast-util-gfm@3.0.0: + resolution: {integrity: sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw==} - mdast-util-math@2.0.2: - resolution: {integrity: sha512-8gmkKVp9v6+Tgjtq6SYx9kGPpTf6FVYRa53/DLh479aldR9AyP48qeVOgNZ5X7QUK7nOy4yw7vg6mbiGcs9jWQ==} + mdast-util-math@3.0.0: + resolution: {integrity: sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==} mdast-util-mdx-expression@1.3.2: resolution: {integrity: sha512-xIPmR5ReJDu/DHH1OoIT1HkuybIfRGYRywC+gJtI7qHjCJp/M9jrmBEJW22O8lskDWm562BX2W8TiAwRTb0rKA==} + mdast-util-mdx-expression@2.0.0: + resolution: {integrity: sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw==} + mdast-util-mdx-jsx@2.1.4: resolution: {integrity: sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==} + mdast-util-mdx-jsx@3.1.2: + resolution: {integrity: sha512-eKMQDeywY2wlHc97k5eD8VC+9ASMjN8ItEZQNGwJ6E0XWKiW/Z0V5/H8pvoXUf+y+Mj0VIgeRRbujBmFn4FTyA==} + mdast-util-mdx@2.0.1: resolution: {integrity: sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==} + mdast-util-mdx@3.0.0: + resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} + mdast-util-mdxjs-esm@1.3.1: resolution: {integrity: sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w==} + mdast-util-mdxjs-esm@2.0.1: + resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==} + mdast-util-phrasing@3.0.1: resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==} mdast-util-phrasing@4.1.0: resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==} - mdast-util-to-hast@12.3.0: - resolution: {integrity: sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==} - mdast-util-to-hast@13.2.0: resolution: {integrity: sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==} @@ -6544,6 +6626,9 @@ packages: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} + mhchemparser@4.2.1: + resolution: {integrity: sha512-kYmyrCirqJf3zZ9t/0wGgRZ4/ZJw//VwaRVGA75C4nhE60vtnIzhl9J9ndkX/h6hxSN7pjg/cE0VxbnNM+bnDQ==} + micromark-core-commonmark@1.1.0: resolution: {integrity: sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw==} @@ -6553,45 +6638,60 @@ packages: micromark-extension-frontmatter@2.0.0: resolution: {integrity: sha512-C4AkuM3dA58cgZha7zVnuVxBhDsbttIMiytjgsM2XbHAB2faRVaHRle40558FBN+DJcrLNCoqG5mlrpdU4cRtg==} - micromark-extension-gfm-autolink-literal@1.0.5: - resolution: {integrity: sha512-z3wJSLrDf8kRDOh2qBtoTRD53vJ+CWIyo7uyZuxf/JAbNJjiHsOpG1y5wxk8drtv3ETAHutCu6N3thkOOgueWg==} + micromark-extension-gfm-autolink-literal@2.1.0: + resolution: {integrity: sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==} - micromark-extension-gfm-footnote@1.1.2: - resolution: {integrity: sha512-Yxn7z7SxgyGWRNa4wzf8AhYYWNrwl5q1Z8ii+CSTTIqVkmGZF1CElX2JI8g5yGoM3GAman9/PVCUFUSJ0kB/8Q==} + micromark-extension-gfm-footnote@2.1.0: + resolution: {integrity: sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==} - micromark-extension-gfm-strikethrough@1.0.7: - resolution: {integrity: sha512-sX0FawVE1o3abGk3vRjOH50L5TTLr3b5XMqnP9YDRb34M0v5OoZhG+OHFz1OffZ9dlwgpTBKaT4XW/AsUVnSDw==} + micromark-extension-gfm-strikethrough@2.1.0: + resolution: {integrity: sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==} - micromark-extension-gfm-table@1.0.7: - resolution: {integrity: sha512-3ZORTHtcSnMQEKtAOsBQ9/oHp9096pI/UvdPtN7ehKvrmZZ2+bbWhi0ln+I9drmwXMt5boocn6OlwQzNXeVeqw==} + micromark-extension-gfm-table@2.1.0: + resolution: {integrity: sha512-Ub2ncQv+fwD70/l4ou27b4YzfNaCJOvyX4HxXU15m7mpYY+rjuWzsLIPZHJL253Z643RpbcP1oeIJlQ/SKW67g==} - micromark-extension-gfm-tagfilter@1.0.2: - resolution: {integrity: sha512-5XWB9GbAUSHTn8VPU8/1DBXMuKYT5uOgEjJb8gN3mW0PNW5OPHpSdojoqf+iq1xo7vWzw/P8bAHY0n6ijpXF7g==} + micromark-extension-gfm-tagfilter@2.0.0: + resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==} - micromark-extension-gfm-task-list-item@1.0.5: - resolution: {integrity: sha512-RMFXl2uQ0pNQy6Lun2YBYT9g9INXtWJULgbt01D/x8/6yJ2qpKyzdZD3pi6UIkzF++Da49xAelVKUeUMqd5eIQ==} + micromark-extension-gfm-task-list-item@2.1.0: + resolution: {integrity: sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==} - micromark-extension-gfm@2.0.3: - resolution: {integrity: sha512-vb9OoHqrhCmbRidQv/2+Bc6pkP0FrtlhurxZofvOEy5o8RtuuvTq+RQ1Vw5ZDNrVraQZu3HixESqbG+0iKk/MQ==} + micromark-extension-gfm@3.0.0: + resolution: {integrity: sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==} - micromark-extension-math@2.1.2: - resolution: {integrity: sha512-es0CcOV89VNS9wFmyn+wyFTKweXGW4CEvdaAca6SWRWPyYCbBisnjaHLjWO4Nszuiud84jCpkHsqAJoa768Pvg==} + micromark-extension-math@3.1.0: + resolution: {integrity: sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==} micromark-extension-mdx-expression@1.0.8: resolution: {integrity: sha512-zZpeQtc5wfWKdzDsHRBY003H2Smg+PUi2REhqgIhdzAa5xonhP03FcXxqFSerFiNUr5AWmHpaNPQTBVOS4lrXw==} + micromark-extension-mdx-expression@3.0.0: + resolution: {integrity: sha512-sI0nwhUDz97xyzqJAbHQhp5TfaxEvZZZ2JDqUo+7NvyIYG6BZ5CPPqj2ogUoPJlmXHBnyZUzISg9+oUmU6tUjQ==} + micromark-extension-mdx-jsx@1.0.5: resolution: {integrity: sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA==} + micromark-extension-mdx-jsx@3.0.0: + resolution: {integrity: sha512-uvhhss8OGuzR4/N17L1JwvmJIpPhAd8oByMawEKx6NVdBCbesjH4t+vjEp3ZXft9DwvlKSD07fCeI44/N0Vf2w==} + micromark-extension-mdx-md@1.0.1: resolution: {integrity: sha512-7MSuj2S7xjOQXAjjkbjBsHkMtb+mDGVW6uI2dBL9snOBCbZmoNgDAeZ0nSn9j3T42UE/g2xVNMn18PJxZvkBEA==} + micromark-extension-mdx-md@2.0.0: + resolution: {integrity: sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==} + micromark-extension-mdxjs-esm@1.0.5: resolution: {integrity: sha512-xNRBw4aoURcyz/S69B19WnZAkWJMxHMT5hE36GtDAyhoyn/8TuAeqjFJQlwk+MKQsUD7b3l7kFX+vlfVWgcX1w==} + micromark-extension-mdxjs-esm@3.0.0: + resolution: {integrity: sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==} + micromark-extension-mdxjs@1.0.1: resolution: {integrity: sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q==} + micromark-extension-mdxjs@3.0.0: + resolution: {integrity: sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==} + micromark-factory-destination@1.1.0: resolution: {integrity: sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==} @@ -6607,6 +6707,9 @@ packages: micromark-factory-mdx-expression@1.0.9: resolution: {integrity: sha512-jGIWzSmNfdnkJq05c7b0+Wv0Kfz3NJ3N4cBjnbO4zjXIlxJr+f8lk+5ZmwFvqdAbUy2q6B5rCY//g0QAAaXDWA==} + micromark-factory-mdx-expression@2.0.1: + resolution: {integrity: sha512-F0ccWIUHRLRrYp5TC9ZYXmZo+p2AM13ggbsW4T0b5CRKP8KHVRB8t4pwtBgTxtjRmwrK0Irwm7vs2JOZabHZfg==} + micromark-factory-space@1.1.0: resolution: {integrity: sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==} @@ -6670,6 +6773,9 @@ packages: micromark-util-events-to-acorn@1.2.3: resolution: {integrity: sha512-ij4X7Wuc4fED6UoLWkmo0xJQhsktfNh1J0m8g4PbIMPlx+ek/4YdW5mvbye8z/aZvAPUoxgXHrwVlXAPKMRp1w==} + micromark-util-events-to-acorn@2.0.2: + resolution: {integrity: sha512-Fk+xmBrOv9QZnEDguL9OI9/NQQp6Hz4FuQ4YmCb/5V7+9eAh1s6AYSvL20kHkD67YIg7EpE54TiSlcsf3vyZgA==} + micromark-util-html-tag-name@1.2.0: resolution: {integrity: sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==} @@ -6822,6 +6928,9 @@ packages: mixpanel-browser@2.53.0: resolution: {integrity: sha512-8U7zCTT82yCIH2vfdCvs0ZRWlCgyHMuU4jtC6yOAiNUR4HhnQYk7re/o2GnhfdvYtkPxdda60/3eH1igUlIXuw==} + mj-context-menu@0.6.1: + resolution: {integrity: sha512-7NO5s6n10TIV96d4g2uDpG7ZDpIhMh0QNfGdJw/W47JswFcosz457wqz/b5sAKvl12sxINGFCn80NZHKwxQEXA==} + mkdirp@1.0.4: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} engines: {node: '>=10'} @@ -6904,13 +7013,6 @@ packages: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} - next-mdx-remote@4.4.1: - resolution: {integrity: sha512-1BvyXaIou6xy3XoNF4yaMZUCb6vD2GTAa5ciOa6WoO+gAUTYsb1K4rI/HSC2ogAWLrb/7VSV52skz07vOzmqIQ==} - engines: {node: '>=14', npm: '>=7'} - peerDependencies: - react: '>=16.x <=18.x' - react-dom: '>=16.x <=18.x' - next-seo@6.5.0: resolution: {integrity: sha512-MfzUeWTN/x/rsKp/1n0213eojO97lIl0unxqbeCY+6pAucViHDA8GSLRRcXpgjsSmBxfCFdfpu7LXbt4ANQoNQ==} peerDependencies: @@ -6943,11 +7045,11 @@ packages: sass: optional: true - nextra@2.13.4: - resolution: {integrity: sha512-7of2rSBxuUa3+lbMmZwG9cqgftcoNOVQLTT6Rxf3EhBR9t1EI7b43dted8YoqSNaigdE3j1CoyNkX8N/ZzlEpw==} - engines: {node: '>=16'} + nextra@3.0.0-alpha.31: + resolution: {integrity: sha512-CrGo6ez3zWD9k2hOmoek6KGF63qQqWeGIrMcfSCVbrvBZ+Vb8XjHQ8xUtKW9eXSF3KTop05/cLjBOu/rsZob6A==} + engines: {node: '>=18'} peerDependencies: - next: '>=9.5.3' + next: '>=13' react: '>=16.13.1' react-dom: '>=16.13.1' @@ -6955,6 +7057,9 @@ packages: resolution: {integrity: sha512-kltF0cOxgx1AbmVzKxYZaoB0aj7mOxZeHaerEtQV0YaqnkXNq26WWqMmJ6lTqShYxVRWZ/mwvvTrNeOwdslWiw==} engines: {node: '>=v0.2.0'} + nlcst-to-string@4.0.0: + resolution: {integrity: sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==} + no-case@3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} @@ -7167,6 +7272,10 @@ packages: resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} engines: {node: '>=18'} + p-limit@6.1.0: + resolution: {integrity: sha512-H0jc0q1vOzlEk0TqAKXKZxdl7kX3OFUzCnNVUnq5Pc3DGo0kpeaMuPqxQn235HibwBEb0/pm9dgKTjXy66fBkg==} + engines: {node: '>=18'} + p-locate@2.0.0: resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} engines: {node: '>=4'} @@ -7228,6 +7337,9 @@ packages: resolution: {integrity: sha512-SA5aMiaIjXkAiBrW/yPgLgQAQg42f7K3ACO+2l/zOvtQBwX58DMUsFJXelW2fx3yMBmWOVkR6j1MGsdSbCA4UA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + parse-latin@7.0.0: + resolution: {integrity: sha512-mhHgobPPua5kZ98EF4HWiH167JWBfl4pvAIXXdbaVohtK7a6YBOy56kvhCqduqyo/f3yrHFWmqmiMg/BkBkYYQ==} + parse-numeric-range@1.3.0: resolution: {integrity: sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==} @@ -7790,11 +7902,14 @@ packages: rehype-katex@7.0.0: resolution: {integrity: sha512-h8FPkGE00r2XKU+/acgqwWUlyzve1IiOKwsEkg4pDL3k48PiE0Pt+/uLtVHDVkN1yA4iurZN6UES8ivHVEQV6Q==} - rehype-pretty-code@0.9.11: - resolution: {integrity: sha512-Eq90eCYXQJISktfRZ8PPtwc5SUyH6fJcxS8XOMnHPUQZBtC6RYo67gGlley9X2nR8vlniPj0/7oCDEYHKQa/oA==} - engines: {node: '>=16'} + rehype-parse@9.0.0: + resolution: {integrity: sha512-WG7nfvmWWkCR++KEkZevZb/uw41E8TsH4DsY9UxsTbIXCVGbAs4S+r8FrQ+OtH5EEQAs+5UxKC42VinkmpA1Yw==} + + rehype-pretty-code@0.13.2: + resolution: {integrity: sha512-F+PaFMscfJOcSHcR2b//+hk/0jT56hmGDqXcVD6VC9j0CUSGiqv8YxaWUyhR7qEIRRSbzAVxx+0uxzk+akXs+w==} + engines: {node: '>=18'} peerDependencies: - shiki: '*' + shiki: ^1.3.0 rehype-raw@7.0.0: resolution: {integrity: sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==} @@ -7805,8 +7920,8 @@ packages: remark-frontmatter@5.0.0: resolution: {integrity: sha512-XTFYvNASMe5iPN0719nPrdItC9aU0ssC4v14mH1BCi1u0n1gAocqcujWUrByftZTbLhRtiKRyjYTSIOcr69UVQ==} - remark-gfm@3.0.1: - resolution: {integrity: sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==} + remark-gfm@4.0.0: + resolution: {integrity: sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA==} remark-lint-first-heading-level@3.1.2: resolution: {integrity: sha512-uSgDMAKOolDcxfJwQU+iJK2Vbz2ZIzBAjQiN0f+9O/7XwrAH5IuVQH60w7chuxVrauVHmd1rbjmvzXVq8R30VQ==} @@ -7817,24 +7932,37 @@ packages: remark-lint-no-heading-punctuation@3.1.2: resolution: {integrity: sha512-KnvHEVB/DcxJOhUvVteiovAy1+32YY5Vm0UBJqYCFrrHnN/y9ETvOJzlxFy47TaB8x2UyncSEg2JuT66UL4ONQ==} - remark-math@5.1.1: - resolution: {integrity: sha512-cE5T2R/xLVtfFI4cCePtiRn+e6jKMtFDR3P8V3qpv8wpKjwvHoBA4eJzvX+nVrnlNy0911bdGmuspCSwetfYHw==} + remark-math@6.0.0: + resolution: {integrity: sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==} remark-mdx@2.3.0: resolution: {integrity: sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g==} + remark-mdx@3.0.1: + resolution: {integrity: sha512-3Pz3yPQ5Rht2pM5R+0J2MrGoBSrzf+tJG94N+t/ilfdh8YLyyKYtidAYwTveB20BoHAcwIopOUqhcmh2F7hGYA==} + remark-parse@10.0.2: resolution: {integrity: sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==} + remark-parse@11.0.0: + resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} + remark-reading-time@2.0.1: resolution: {integrity: sha512-fy4BKy9SRhtYbEHvp6AItbRTnrhiDGbqLQTSYVbQPGuRCncU1ubSsh9p/W5QZSxtYcUXv8KGL0xBgPLyNJA1xw==} - remark-rehype@10.1.0: - resolution: {integrity: sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==} + remark-rehype@11.1.0: + resolution: {integrity: sha512-z3tJrAs2kIs1AqIIy6pzHmAHlF1hWQ+OdY4/hv+Wxe35EhyLKcajL33iUEn3ScxtFox9nUvRufR/Zre8Q08H/g==} + + remark-smartypants@3.0.2: + resolution: {integrity: sha512-ILTWeOriIluwEvPjv67v7Blgrcx+LZOkAUVtKI3putuhlZm84FnqDORNXPPm+HY3NdZOMhyDwZ1E+eZB/Df5dA==} + engines: {node: '>=16.0.0'} remark-stringify@10.0.3: resolution: {integrity: sha512-koyOzCMYoUHudypbj4XpnAKFbkddRMYZHwghnxd7ue5210WzGw6kOBwauJTRUMq16jsovXx8dYNvSSWP89kZ3A==} + remark-stringify@11.0.0: + resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} + remove-trailing-separator@1.1.0: resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} @@ -7886,6 +8014,18 @@ packages: resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} engines: {node: '>=8'} + retext-latin@4.0.0: + resolution: {integrity: sha512-hv9woG7Fy0M9IlRQloq/N6atV82NxLGveq+3H2WOi79dtIYWN8OaxogDm77f8YnVXJL2VD3bbqowu5E3EMhBYA==} + + retext-smartypants@6.1.0: + resolution: {integrity: sha512-LDPXg95346bqFZnDMHo0S7Rq5p64+B+N8Vz733+wPMDtwb9rCOs9LIdIEhrUOU+TAywX9St+ocQWJt8wrzivcQ==} + + retext-stringify@4.0.0: + resolution: {integrity: sha512-rtfN/0o8kL1e+78+uxPTqu1Klt0yPzKuQ2BfWwwfgIUSayyzxpM1PJzkKt4V8803uB9qSy32MvI7Xep9khTpiA==} + + retext@9.0.0: + resolution: {integrity: sha512-sbMDcpHCNjvlheSgMfEcVrZko3cDzdbe1x/e7G66dFp0Ff7Mldvi2uv6JkJQzdRcvLYE8CA8Oe8siQx8ZOgTcA==} + retry-as-promised@7.0.4: resolution: {integrity: sha512-XgmCoxKWkDofwH8WddD0w85ZfqYz+ZHlr5yo+3YUCfycWawU56T5ckWXsScsj5B8tqUcIG67DxXByo3VUgiAdA==} @@ -7945,6 +8085,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.19.0: + resolution: {integrity: sha512-5r7EYSQIowHsK4eTZ0Y81qpZuJz+MUuYeqmmYmRMl1nwhdmbiYqt5jwzf6u7wyOzJgYqtCRMtVRKOtHANBz7rA==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + rrdom@2.0.0-alpha.16: resolution: {integrity: sha512-m8aoeORWUz7AFdEb7hES7wPeL6fl/oP23RoAlzLXyA/f2+NqCDM7KEyCXY4sHu6CChN3OAUP2BaUGEXn0zynlw==} @@ -8135,9 +8280,6 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - shiki@0.14.7: - resolution: {integrity: sha512-dNPAPrxSc87ua2sKJ3H5dQ/6ZaY8RNnaAqK+t0eG7p0Soi2ydiqbGOTaZCqaYvA/uZYfS1LJnemt3Q+mSfcPCg==} - shiki@1.10.3: resolution: {integrity: sha512-eneCLncGuvPdTutJuLyUGS8QNPAVFO5Trvld2wgEq1e002mwctAhJKeMGWtWVXOIEzmlcLRqcgPSorR6AVzOmQ==} @@ -8168,6 +8310,10 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} + slash@5.1.0: + resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} + engines: {node: '>=14.16'} + smart-buffer@4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} @@ -8191,10 +8337,6 @@ packages: sonic-boom@2.8.0: resolution: {integrity: sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg==} - sort-keys@5.0.0: - resolution: {integrity: sha512-Pdz01AvCAottHTPQGzndktFNdbRA75BgOfeT1hH+AMnJFv8lynkPi42rfeEhpx1saTEI3YNMWxfqu0sFD1G8pw==} - engines: {node: '>=12'} - source-map-js@1.2.0: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} @@ -8229,6 +8371,10 @@ packages: space-separated-tokens@2.0.2: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} + speech-rule-engine@4.0.7: + resolution: {integrity: sha512-sJrL3/wHzNwJRLBdf6CjJWIlxC04iYKkyXvYSVsWVOiC2DSkHmxsqOhEeMsBA9XK+CHuNcsdkbFDnoUfAsmp9g==} + hasBin: true + split2@3.2.2: resolution: {integrity: sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==} @@ -8387,6 +8533,9 @@ packages: style-to-object@0.4.4: resolution: {integrity: sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg==} + style-to-object@1.0.6: + resolution: {integrity: sha512-khxq+Qm3xEyZfKd/y9L3oIWQimxuc4STrQKtQn8aSDRHb8mFgpukgX1hdzfrMEW6JCjyJ8p89x+IUMVnCBI1PA==} + styled-jsx@5.1.1: resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} engines: {node: '>= 12.0.0'} @@ -8636,8 +8785,8 @@ packages: tsort@0.0.1: resolution: {integrity: sha512-Tyrf5mxF8Ofs1tNoxA13lFeZ2Zrbd6cKbuH3V+MQ5sb6DtBj5FjrXVsRWT8YvNAQTqNoz66dz1WsbigI22aEnw==} - tsup@8.2.0: - resolution: {integrity: sha512-XoarnVlfXxbv8ODHtxUq8D2XPc9luX+pamnp1kHSKLknKCDcX0Rkc21NHdbpugH6hKoNiETXypKKVgVu46vVRg==} + tsup@8.2.3: + resolution: {integrity: sha512-6YNT44oUfXRbZuSMNmN36GzwPPIlD2wBccY7looM2fkTcxkf2NEmwr3OZuDZoySklnrIG4hoEtzy8yUXYOqNcg==} engines: {node: '>=18'} hasBin: true peerDependencies: @@ -8700,6 +8849,14 @@ packages: tweetnacl@1.0.3: resolution: {integrity: sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==} + twoslash-protocol@0.2.9: + resolution: {integrity: sha512-uKQl8UboT6JU4VAtYaSI3DbNtgaNhFaTpCSMy/n3tRl5lMlMhrjiuNKdqx15xjcviconuGJ9oObkz1h9zJFrJg==} + + twoslash@0.2.9: + resolution: {integrity: sha512-oj7XY6h8E9nTZBmfRE1gpsSSUqAQo5kcIpFkXyQPp8UCsyCQsUlP2bJ2s32o02c1n5+xl4h9rcCsQ1F97Z6LZg==} + peerDependencies: + typescript: '*' + type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -8720,10 +8877,6 @@ packages: resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==} engines: {node: '>=8'} - type-fest@1.4.0: - resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} - engines: {node: '>=10'} - type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} @@ -8823,11 +8976,14 @@ packages: unist-util-is@6.0.0: resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} + unist-util-modify-children@4.0.0: + resolution: {integrity: sha512-+tdN5fGNddvsQdIzUF3Xx82CU9sMM+fA0dLgR9vOmT0oPT2jH+P1nd5lSqfCfXAw+93NhcXNY2qqvTUtE4cQkw==} + unist-util-position-from-estree@1.1.2: resolution: {integrity: sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww==} - unist-util-position@4.0.4: - resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==} + unist-util-position-from-estree@2.0.0: + resolution: {integrity: sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==} unist-util-position@5.0.0: resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==} @@ -8850,6 +9006,9 @@ packages: unist-util-stringify-position@4.0.0: resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} + unist-util-visit-children@3.0.0: + resolution: {integrity: sha512-RgmdTfSBOg04sdPcpTSD1jzoNBjt9a80/ZCzp5cI9n1qPzLZWF9YdvWGN2zmTumP1HWhXKdUWexjy/Wy/lJ7tA==} + unist-util-visit-parents@4.1.1: resolution: {integrity: sha512-1xAFJXAKpnnJl8G7K5KgU7FY55y3GcLIXqkzUj5QF/QVP7biUm0K0O2oqVkYsdjzJKifYeWn9+o6piAK2hGSHw==} @@ -8973,9 +9132,6 @@ packages: vfile-location@5.0.3: resolution: {integrity: sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==} - vfile-matter@3.0.1: - resolution: {integrity: sha512-CAAIDwnh6ZdtrqAuxdElUqQRQDQgbbIrYtDYI8gCjXS1qQ+1XdLoK8FIZWxJwn0/I+BkSSZpar3SOgjemQz4fg==} - vfile-message@3.1.4: resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==} @@ -9058,12 +9214,6 @@ packages: jsdom: optional: true - vscode-oniguruma@1.7.0: - resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==} - - vscode-textmate@8.0.0: - resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} - walk-up-path@3.0.1: resolution: {integrity: sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==} @@ -9125,6 +9275,9 @@ packages: engines: {node: '>=8'} hasBin: true + wicked-good-xpath@1.3.0: + resolution: {integrity: sha512-Gd9+TUn5nXdwj/hFsPVx5cuHHiF5Bwuc30jZ4+ronF1qHK5O7HD0sgmXWSEgwKquT3ClLoKPVbO6qGwVwLzvAw==} + wide-align@1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} @@ -9207,6 +9360,10 @@ packages: utf-8-validate: optional: true + xmldom-sre@0.1.31: + resolution: {integrity: sha512-f9s+fUkX04BxQf+7mMWAp5zk61pciie+fFLC9hX9UVvCeJQfNHRHXpeo5MPcR0EUf57PYLdt+ZO4f3Ipk2oZUw==} + engines: {node: '>=0.1'} + xstate@4.38.3: resolution: {integrity: sha512-SH7nAaaPQx57dx6qvfcIgqKRXIh4L0A1iYEqim4s1u7c9VoCgzZc+63FY90AKU4ZzOC2cfJzTnpO4zK7fCUzzw==} @@ -9294,6 +9451,12 @@ packages: zen-observable@0.8.15: resolution: {integrity: sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==} + zod-validation-error@3.3.0: + resolution: {integrity: sha512-Syib9oumw1NTqEv4LT0e6U83Td9aVRk9iTXPUQr1otyV1PuXQKOvOwhMNqZIq5hluzHP2pMgnOmHEo7kPdI2mw==} + engines: {node: '>=18.0.0'} + peerDependencies: + zod: ^3.18.0 + zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} @@ -11715,29 +11878,35 @@ snapshots: - supports-color optional: true - '@mdx-js/mdx@2.3.0': + '@mdx-js/mdx@3.0.1': dependencies: + '@types/estree': 1.0.5 '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.4 '@types/mdx': 2.0.13 - estree-util-build-jsx: 2.2.2 - estree-util-is-identifier-name: 2.1.0 - estree-util-to-js: 1.2.0 + collapse-white-space: 2.1.0 + devlop: 1.1.0 + estree-util-build-jsx: 3.0.1 + estree-util-is-identifier-name: 3.0.0 + estree-util-to-js: 2.0.0 estree-walker: 3.0.3 - hast-util-to-estree: 2.3.3 - markdown-extensions: 1.1.1 + hast-util-to-estree: 3.1.0 + hast-util-to-jsx-runtime: 2.3.0 + markdown-extensions: 2.0.0 periscopic: 3.1.0 - remark-mdx: 2.3.0 - remark-parse: 10.0.2 - remark-rehype: 10.1.0 - unified: 10.1.2 - unist-util-position-from-estree: 1.1.2 - unist-util-stringify-position: 3.0.3 - unist-util-visit: 4.1.2 - vfile: 5.3.7 + remark-mdx: 3.0.1 + remark-parse: 11.0.0 + remark-rehype: 11.1.0 + source-map: 0.7.4 + unified: 11.0.5 + unist-util-position-from-estree: 2.0.0 + unist-util-stringify-position: 4.0.0 + unist-util-visit: 5.0.0 + vfile: 6.0.2 transitivePeerDependencies: - supports-color - '@mdx-js/react@2.3.0(react@18.3.1)': + '@mdx-js/react@3.0.1(@types/react@18.3.3)(react@18.3.1)': dependencies: '@types/mdx': 2.0.13 '@types/react': 18.3.3 @@ -13368,51 +13537,99 @@ snapshots: '@rollup/rollup-android-arm-eabi@4.18.1': optional: true + '@rollup/rollup-android-arm-eabi@4.19.0': + optional: true + '@rollup/rollup-android-arm64@4.18.1': optional: true + '@rollup/rollup-android-arm64@4.19.0': + optional: true + '@rollup/rollup-darwin-arm64@4.18.1': optional: true + '@rollup/rollup-darwin-arm64@4.19.0': + optional: true + '@rollup/rollup-darwin-x64@4.18.1': optional: true + '@rollup/rollup-darwin-x64@4.19.0': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.18.1': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.19.0': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.18.1': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.19.0': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.18.1': optional: true - '@rollup/rollup-linux-arm64-musl@4.18.1': + '@rollup/rollup-linux-arm64-gnu@4.19.0': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.18.1': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.19.0': optional: true '@rollup/rollup-linux-powerpc64le-gnu@4.18.1': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.19.0': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.18.1': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.19.0': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.18.1': optional: true + '@rollup/rollup-linux-s390x-gnu@4.19.0': + optional: true + '@rollup/rollup-linux-x64-gnu@4.18.1': optional: true + '@rollup/rollup-linux-x64-gnu@4.19.0': + optional: true + '@rollup/rollup-linux-x64-musl@4.18.1': optional: true + '@rollup/rollup-linux-x64-musl@4.19.0': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.18.1': optional: true + '@rollup/rollup-win32-arm64-msvc@4.19.0': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.18.1': optional: true + '@rollup/rollup-win32-ia32-msvc@4.19.0': + optional: true + '@rollup/rollup-win32-x64-msvc@4.18.1': optional: true + '@rollup/rollup-win32-x64-msvc@4.19.0': + optional: true + '@rrweb/types@2.0.0-alpha.16': dependencies: rrweb-snapshot: 2.0.0-alpha.16 @@ -13485,6 +13702,18 @@ snapshots: dependencies: '@types/hast': 3.0.4 + '@shikijs/core@1.12.0': + dependencies: + '@types/hast': 3.0.4 + + '@shikijs/twoslash@1.12.0(typescript@5.5.3)': + dependencies: + '@shikijs/core': 1.12.0 + twoslash: 0.2.9(typescript@5.5.3) + transitivePeerDependencies: + - supports-color + - typescript + '@shuding/opentype.js@1.4.0-beta.0': dependencies: fflate: 0.7.4 @@ -13584,7 +13813,7 @@ snapshots: '@tanstack/virtual-core@3.8.3': {} - '@theguild/remark-mermaid@0.0.5(react@18.3.1)': + '@theguild/remark-mermaid@0.0.7(react@18.3.1)': dependencies: mermaid: 10.9.1 react: 18.3.1 @@ -13592,7 +13821,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@theguild/remark-npm2yarn@0.2.1': + '@theguild/remark-npm2yarn@0.3.0': dependencies: npm-to-yarn: 2.2.1 unist-util-visit: 5.0.0 @@ -13726,8 +13955,6 @@ snapshots: '@types/js-cookie@2.2.7': {} - '@types/js-yaml@4.0.9': {} - '@types/json-schema@7.0.15': {} '@types/json5@0.0.29': {} @@ -13752,6 +13979,10 @@ snapshots: '@types/ms@0.7.34': {} + '@types/nlcst@2.0.3': + dependencies: + '@types/unist': 3.0.2 + '@types/node-forge@1.3.11': dependencies: '@types/node': 20.14.11 @@ -13896,6 +14127,12 @@ snapshots: '@typescript-eslint/types': 6.21.0 eslint-visitor-keys: 3.4.3 + '@typescript/vfs@1.5.0': + dependencies: + debug: 4.3.5(supports-color@8.1.1) + transitivePeerDependencies: + - supports-color + '@ungap/structured-clone@1.2.0': {} '@uniswap/lib@4.0.1-alpha': {} @@ -14169,8 +14406,6 @@ snapshots: ansi-regex@6.0.1: {} - ansi-sequence-parser@1.1.1: {} - ansi-styles@3.2.1: dependencies: color-convert: 1.9.3 @@ -14240,6 +14475,8 @@ snapshots: get-intrinsic: 1.2.4 is-string: 1.0.7 + array-iterate@2.0.1: {} + array-union@2.1.0: {} array.prototype.findlast@1.2.5: @@ -14407,6 +14644,11 @@ snapshots: bech32@1.1.4: {} + better-react-mathjax@2.0.3(react@18.3.1): + dependencies: + mathjax-full: 3.2.2 + react: 18.3.1 + big.js@5.2.2: {} bigint-crypto-utils@3.3.0: {} @@ -14773,6 +15015,8 @@ snapshots: clsx@2.1.1: {} + collapse-white-space@2.1.0: {} + color-convert@1.9.3: dependencies: color-name: 1.1.3 @@ -14810,6 +15054,8 @@ snapshots: commander@8.3.0: {} + commander@9.2.0: {} + common-tags@1.8.2: {} concat-map@0.0.1: {} @@ -15807,6 +16053,8 @@ snapshots: transitivePeerDependencies: - supports-color + esm@3.2.25: {} + espree@9.6.1: dependencies: acorn: 8.12.1 @@ -15825,19 +16073,22 @@ snapshots: estraverse@5.3.0: {} - estree-util-attach-comments@2.1.1: + estree-util-attach-comments@3.0.0: dependencies: '@types/estree': 1.0.5 - estree-util-build-jsx@2.2.2: + estree-util-build-jsx@3.0.1: dependencies: '@types/estree-jsx': 1.0.5 - estree-util-is-identifier-name: 2.1.0 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 estree-walker: 3.0.3 estree-util-is-identifier-name@2.1.0: {} - estree-util-to-js@1.2.0: + estree-util-is-identifier-name@3.0.0: {} + + estree-util-to-js@2.0.0: dependencies: '@types/estree-jsx': 1.0.5 astring: 1.8.6 @@ -15847,11 +16098,20 @@ snapshots: dependencies: is-plain-obj: 3.0.0 + estree-util-value-to-estree@3.1.2: + dependencies: + '@types/estree': 1.0.5 + estree-util-visit@1.2.1: dependencies: '@types/estree-jsx': 1.0.5 '@types/unist': 2.0.10 + estree-util-visit@2.0.0: + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/unist': 3.0.2 + estree-walker@0.6.1: {} estree-walker@3.0.3: @@ -16623,12 +16883,6 @@ snapshots: readable-stream: 3.6.2 safe-buffer: 5.2.1 - hash-obj@4.0.0: - dependencies: - is-obj: 3.0.0 - sort-keys: 5.0.0 - type-fest: 1.4.0 - hash.js@1.1.7: dependencies: inherits: 2.0.4 @@ -16695,26 +16949,47 @@ snapshots: web-namespaces: 2.0.1 zwitch: 2.0.4 - hast-util-to-estree@2.3.3: + hast-util-to-estree@3.1.0: dependencies: '@types/estree': 1.0.5 '@types/estree-jsx': 1.0.5 - '@types/hast': 2.3.10 - '@types/unist': 2.0.10 + '@types/hast': 3.0.4 comma-separated-tokens: 2.0.3 - estree-util-attach-comments: 2.1.1 - estree-util-is-identifier-name: 2.1.0 - hast-util-whitespace: 2.0.1 - mdast-util-mdx-expression: 1.3.2 - mdast-util-mdxjs-esm: 1.3.1 + devlop: 1.1.0 + estree-util-attach-comments: 3.0.0 + estree-util-is-identifier-name: 3.0.0 + hast-util-whitespace: 3.0.0 + mdast-util-mdx-expression: 2.0.0 + mdast-util-mdx-jsx: 3.1.2 + mdast-util-mdxjs-esm: 2.0.1 property-information: 6.5.0 space-separated-tokens: 2.0.2 style-to-object: 0.4.4 - unist-util-position: 4.0.4 + unist-util-position: 5.0.0 zwitch: 2.0.4 transitivePeerDependencies: - supports-color + hast-util-to-jsx-runtime@2.3.0: + dependencies: + '@types/estree': 1.0.5 + '@types/hast': 3.0.4 + '@types/unist': 3.0.2 + comma-separated-tokens: 2.0.3 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 + hast-util-whitespace: 3.0.0 + mdast-util-mdx-expression: 2.0.0 + mdast-util-mdx-jsx: 3.1.2 + mdast-util-mdxjs-esm: 2.0.1 + property-information: 6.5.0 + space-separated-tokens: 2.0.2 + style-to-object: 1.0.6 + unist-util-position: 5.0.0 + vfile-message: 4.0.2 + transitivePeerDependencies: + - supports-color + hast-util-to-parse5@8.0.0: dependencies: '@types/hast': 3.0.4 @@ -16725,6 +17000,10 @@ snapshots: web-namespaces: 2.0.1 zwitch: 2.0.4 + hast-util-to-string@3.0.0: + dependencies: + '@types/hast': 3.0.4 + hast-util-to-text@4.0.2: dependencies: '@types/hast': 3.0.4 @@ -16732,7 +17011,9 @@ snapshots: hast-util-is-element: 3.0.0 unist-util-find-after: 5.0.0 - hast-util-whitespace@2.0.1: {} + hast-util-whitespace@3.0.0: + dependencies: + '@types/hast': 3.0.4 hastscript@8.0.0: dependencies: @@ -16849,6 +17130,8 @@ snapshots: inline-style-parser@0.1.1: {} + inline-style-parser@0.2.3: {} + inline-style-prefixer@7.0.1: dependencies: css-in-js-utils: 3.1.0 @@ -17023,8 +17306,6 @@ snapshots: is-number@7.0.0: {} - is-obj@3.0.0: {} - is-path-inside@3.0.3: {} is-plain-obj@2.1.0: {} @@ -17195,8 +17476,6 @@ snapshots: json5@2.2.3: {} - jsonc-parser@3.3.1: {} - jsonfile@2.4.0: optionalDependencies: graceful-fs: 4.2.11 @@ -17397,10 +17676,17 @@ snapshots: map-cache@0.2.2: {} - markdown-extensions@1.1.1: {} + markdown-extensions@2.0.0: {} markdown-table@3.0.3: {} + mathjax-full@3.2.2: + dependencies: + esm: 3.2.25 + mhchemparser: 4.2.1 + mj-context-menu: 0.6.1 + speech-rule-engine: 4.0.7 + mcl-wasm@0.7.9: {} md5.js@1.3.5: @@ -17415,18 +17701,12 @@ snapshots: crypt: 0.0.2 is-buffer: 1.1.6 - mdast-util-definitions@5.1.2: - dependencies: - '@types/mdast': 3.0.15 - '@types/unist': 2.0.10 - unist-util-visit: 4.1.2 - - mdast-util-find-and-replace@2.2.2: + mdast-util-find-and-replace@3.0.1: dependencies: - '@types/mdast': 3.0.15 + '@types/mdast': 4.0.4 escape-string-regexp: 5.0.0 - unist-util-is: 5.2.1 - unist-util-visit-parents: 5.1.3 + unist-util-is: 6.0.0 + unist-util-visit-parents: 6.0.1 mdast-util-from-markdown@0.8.5: dependencies: @@ -17483,55 +17763,74 @@ snapshots: transitivePeerDependencies: - supports-color - mdast-util-gfm-autolink-literal@1.0.3: + mdast-util-gfm-autolink-literal@2.0.0: dependencies: - '@types/mdast': 3.0.15 + '@types/mdast': 4.0.4 ccount: 2.0.1 - mdast-util-find-and-replace: 2.2.2 - micromark-util-character: 1.2.0 + devlop: 1.1.0 + mdast-util-find-and-replace: 3.0.1 + micromark-util-character: 2.1.0 - mdast-util-gfm-footnote@1.0.2: + mdast-util-gfm-footnote@2.0.0: dependencies: - '@types/mdast': 3.0.15 - mdast-util-to-markdown: 1.5.0 - micromark-util-normalize-identifier: 1.1.0 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + micromark-util-normalize-identifier: 2.0.0 + transitivePeerDependencies: + - supports-color - mdast-util-gfm-strikethrough@1.0.3: + mdast-util-gfm-strikethrough@2.0.0: dependencies: - '@types/mdast': 3.0.15 - mdast-util-to-markdown: 1.5.0 + '@types/mdast': 4.0.4 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color - mdast-util-gfm-table@1.0.7: + mdast-util-gfm-table@2.0.0: dependencies: - '@types/mdast': 3.0.15 + '@types/mdast': 4.0.4 + devlop: 1.1.0 markdown-table: 3.0.3 - mdast-util-from-markdown: 1.3.1 - mdast-util-to-markdown: 1.5.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - mdast-util-gfm-task-list-item@1.0.2: + mdast-util-gfm-task-list-item@2.0.0: dependencies: - '@types/mdast': 3.0.15 - mdast-util-to-markdown: 1.5.0 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color - mdast-util-gfm@2.0.2: + mdast-util-gfm@3.0.0: dependencies: - mdast-util-from-markdown: 1.3.1 - mdast-util-gfm-autolink-literal: 1.0.3 - mdast-util-gfm-footnote: 1.0.2 - mdast-util-gfm-strikethrough: 1.0.3 - mdast-util-gfm-table: 1.0.7 - mdast-util-gfm-task-list-item: 1.0.2 - mdast-util-to-markdown: 1.5.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-gfm-autolink-literal: 2.0.0 + mdast-util-gfm-footnote: 2.0.0 + mdast-util-gfm-strikethrough: 2.0.0 + mdast-util-gfm-table: 2.0.0 + mdast-util-gfm-task-list-item: 2.0.0 + mdast-util-to-markdown: 2.1.0 transitivePeerDependencies: - supports-color - mdast-util-math@2.0.2: + mdast-util-math@3.0.0: dependencies: - '@types/mdast': 3.0.15 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 longest-streak: 3.1.0 - mdast-util-to-markdown: 1.5.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + unist-util-remove-position: 5.0.0 + transitivePeerDependencies: + - supports-color mdast-util-mdx-expression@1.3.2: dependencies: @@ -17543,6 +17842,17 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-mdx-expression@2.0.0: + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color + mdast-util-mdx-jsx@2.1.4: dependencies: '@types/estree-jsx': 1.0.5 @@ -17560,6 +17870,24 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-mdx-jsx@3.1.2: + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + '@types/unist': 3.0.2 + ccount: 2.0.1 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + parse-entities: 4.0.1 + stringify-entities: 4.0.4 + unist-util-remove-position: 5.0.0 + unist-util-stringify-position: 4.0.0 + vfile-message: 4.0.2 + transitivePeerDependencies: + - supports-color + mdast-util-mdx@2.0.1: dependencies: mdast-util-from-markdown: 1.3.1 @@ -17570,6 +17898,16 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-mdx@3.0.0: + dependencies: + mdast-util-from-markdown: 2.0.1 + mdast-util-mdx-expression: 2.0.0 + mdast-util-mdx-jsx: 3.1.2 + mdast-util-mdxjs-esm: 2.0.1 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color + mdast-util-mdxjs-esm@1.3.1: dependencies: '@types/estree-jsx': 1.0.5 @@ -17580,6 +17918,17 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-mdxjs-esm@2.0.1: + dependencies: + '@types/estree-jsx': 1.0.5 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.1 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color + mdast-util-phrasing@3.0.1: dependencies: '@types/mdast': 3.0.15 @@ -17590,17 +17939,6 @@ snapshots: '@types/mdast': 4.0.4 unist-util-is: 6.0.0 - mdast-util-to-hast@12.3.0: - dependencies: - '@types/hast': 2.3.10 - '@types/mdast': 3.0.15 - mdast-util-definitions: 5.1.2 - micromark-util-sanitize-uri: 1.2.0 - trim-lines: 3.0.1 - unist-util-generated: 2.0.1 - unist-util-position: 4.0.4 - unist-util-visit: 4.1.2 - mdast-util-to-hast@13.2.0: dependencies: '@types/hast': 3.0.4 @@ -17694,6 +18032,8 @@ snapshots: methods@1.1.2: {} + mhchemparser@4.2.1: {} + micromark-core-commonmark@1.1.0: dependencies: decode-named-character-reference: 1.0.2 @@ -17739,73 +18079,73 @@ snapshots: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - micromark-extension-gfm-autolink-literal@1.0.5: + micromark-extension-gfm-autolink-literal@2.1.0: dependencies: - micromark-util-character: 1.2.0 - micromark-util-sanitize-uri: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 + micromark-util-character: 2.1.0 + micromark-util-sanitize-uri: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 - micromark-extension-gfm-footnote@1.1.2: + micromark-extension-gfm-footnote@2.1.0: dependencies: - micromark-core-commonmark: 1.1.0 - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-normalize-identifier: 1.1.0 - micromark-util-sanitize-uri: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.1 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-normalize-identifier: 2.0.0 + micromark-util-sanitize-uri: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 - micromark-extension-gfm-strikethrough@1.0.7: + micromark-extension-gfm-strikethrough@2.1.0: dependencies: - micromark-util-chunked: 1.1.0 - micromark-util-classify-character: 1.1.0 - micromark-util-resolve-all: 1.1.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 + devlop: 1.1.0 + micromark-util-chunked: 2.0.0 + micromark-util-classify-character: 2.0.0 + micromark-util-resolve-all: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 - micromark-extension-gfm-table@1.0.7: + micromark-extension-gfm-table@2.1.0: dependencies: - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 + devlop: 1.1.0 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 - micromark-extension-gfm-tagfilter@1.0.2: + micromark-extension-gfm-tagfilter@2.0.0: dependencies: - micromark-util-types: 1.1.0 + micromark-util-types: 2.0.0 - micromark-extension-gfm-task-list-item@1.0.5: + micromark-extension-gfm-task-list-item@2.1.0: dependencies: - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 + devlop: 1.1.0 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 - micromark-extension-gfm@2.0.3: + micromark-extension-gfm@3.0.0: dependencies: - micromark-extension-gfm-autolink-literal: 1.0.5 - micromark-extension-gfm-footnote: 1.1.2 - micromark-extension-gfm-strikethrough: 1.0.7 - micromark-extension-gfm-table: 1.0.7 - micromark-extension-gfm-tagfilter: 1.0.2 - micromark-extension-gfm-task-list-item: 1.0.5 - micromark-util-combine-extensions: 1.1.0 - micromark-util-types: 1.1.0 + micromark-extension-gfm-autolink-literal: 2.1.0 + micromark-extension-gfm-footnote: 2.1.0 + micromark-extension-gfm-strikethrough: 2.1.0 + micromark-extension-gfm-table: 2.1.0 + micromark-extension-gfm-tagfilter: 2.0.0 + micromark-extension-gfm-task-list-item: 2.1.0 + micromark-util-combine-extensions: 2.0.0 + micromark-util-types: 2.0.0 - micromark-extension-math@2.1.2: + micromark-extension-math@3.1.0: dependencies: '@types/katex': 0.16.7 + devlop: 1.1.0 katex: 0.16.11 - micromark-factory-space: 1.1.0 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - uvu: 0.5.6 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 micromark-extension-mdx-expression@1.0.8: dependencies: @@ -17818,6 +18158,17 @@ snapshots: micromark-util-types: 1.1.0 uvu: 0.5.6 + micromark-extension-mdx-expression@3.0.0: + dependencies: + '@types/estree': 1.0.5 + devlop: 1.1.0 + micromark-factory-mdx-expression: 2.0.1 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + micromark-extension-mdx-jsx@1.0.5: dependencies: '@types/acorn': 4.0.6 @@ -17831,10 +18182,27 @@ snapshots: uvu: 0.5.6 vfile-message: 3.1.4 + micromark-extension-mdx-jsx@3.0.0: + dependencies: + '@types/acorn': 4.0.6 + '@types/estree': 1.0.5 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 + micromark-factory-mdx-expression: 2.0.1 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.1.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + vfile-message: 4.0.2 + micromark-extension-mdx-md@1.0.1: dependencies: micromark-util-types: 1.1.0 + micromark-extension-mdx-md@2.0.0: + dependencies: + micromark-util-types: 2.0.0 + micromark-extension-mdxjs-esm@1.0.5: dependencies: '@types/estree': 1.0.5 @@ -17847,6 +18215,18 @@ snapshots: uvu: 0.5.6 vfile-message: 3.1.4 + micromark-extension-mdxjs-esm@3.0.0: + dependencies: + '@types/estree': 1.0.5 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.1 + micromark-util-character: 2.1.0 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + unist-util-position-from-estree: 2.0.0 + vfile-message: 4.0.2 + micromark-extension-mdxjs@1.0.1: dependencies: acorn: 8.12.1 @@ -17858,6 +18238,17 @@ snapshots: micromark-util-combine-extensions: 1.1.0 micromark-util-types: 1.1.0 + micromark-extension-mdxjs@3.0.0: + dependencies: + acorn: 8.12.1 + acorn-jsx: 5.3.2(acorn@8.12.1) + micromark-extension-mdx-expression: 3.0.0 + micromark-extension-mdx-jsx: 3.0.0 + micromark-extension-mdx-md: 2.0.0 + micromark-extension-mdxjs-esm: 3.0.0 + micromark-util-combine-extensions: 2.0.0 + micromark-util-types: 2.0.0 + micromark-factory-destination@1.1.0: dependencies: micromark-util-character: 1.2.0 @@ -17895,6 +18286,17 @@ snapshots: uvu: 0.5.6 vfile-message: 3.1.4 + micromark-factory-mdx-expression@2.0.1: + dependencies: + '@types/estree': 1.0.5 + devlop: 1.1.0 + micromark-util-character: 2.1.0 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + unist-util-position-from-estree: 2.0.0 + vfile-message: 4.0.2 + micromark-factory-space@1.1.0: dependencies: micromark-util-character: 1.2.0 @@ -18010,6 +18412,17 @@ snapshots: uvu: 0.5.6 vfile-message: 3.1.4 + micromark-util-events-to-acorn@2.0.2: + dependencies: + '@types/acorn': 4.0.6 + '@types/estree': 1.0.5 + '@types/unist': 3.0.2 + devlop: 1.1.0 + estree-util-visit: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + vfile-message: 4.0.2 + micromark-util-html-tag-name@1.2.0: {} micromark-util-html-tag-name@2.0.0: {} @@ -18226,6 +18639,8 @@ snapshots: dependencies: rrweb: 2.0.0-alpha.13 + mj-context-menu@0.6.1: {} + mkdirp@1.0.4: optional: true @@ -18325,17 +18740,6 @@ snapshots: negotiator@0.6.3: {} - next-mdx-remote@4.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@mdx-js/mdx': 2.3.0 - '@mdx-js/react': 2.3.0(react@18.3.1) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - vfile: 5.3.7 - vfile-matter: 3.0.1 - transitivePeerDependencies: - - supports-color - next-seo@6.5.0(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: next: 14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -18375,42 +18779,55 @@ snapshots: - '@babel/core' - babel-plugin-macros - nextra@2.13.4(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + nextra@3.0.0-alpha.31(@types/react@18.3.3)(next@14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.3): dependencies: '@headlessui/react': 1.7.19(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@mdx-js/mdx': 2.3.0 - '@mdx-js/react': 2.3.0(react@18.3.1) + '@mdx-js/mdx': 3.0.1 + '@mdx-js/react': 3.0.1(@types/react@18.3.3)(react@18.3.1) '@napi-rs/simple-git': 0.1.17 - '@theguild/remark-mermaid': 0.0.5(react@18.3.1) - '@theguild/remark-npm2yarn': 0.2.1 + '@shikijs/twoslash': 1.12.0(typescript@5.5.3) + '@theguild/remark-mermaid': 0.0.7(react@18.3.1) + '@theguild/remark-npm2yarn': 0.3.0 + better-react-mathjax: 2.0.3(react@18.3.1) clsx: 2.1.1 + estree-util-to-js: 2.0.0 + estree-util-value-to-estree: 3.1.2 github-slugger: 2.0.0 graceful-fs: 4.2.11 gray-matter: 4.0.3 + hast-util-to-estree: 3.1.0 katex: 0.16.11 - lodash.get: 4.4.2 next: 14.2.5(@babel/core@7.24.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - next-mdx-remote: 4.4.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - p-limit: 3.1.0 + p-limit: 6.1.0 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) rehype-katex: 7.0.0 - rehype-pretty-code: 0.9.11(shiki@0.14.7) + rehype-pretty-code: 0.13.2(shiki@1.10.3) rehype-raw: 7.0.0 - remark-gfm: 3.0.1 - remark-math: 5.1.1 + remark-frontmatter: 5.0.0 + remark-gfm: 4.0.0 + remark-math: 6.0.0 remark-reading-time: 2.0.1 - shiki: 0.14.7 - slash: 3.0.0 + remark-smartypants: 3.0.2 + shiki: 1.10.3 + slash: 5.1.0 title: 3.5.3 unist-util-remove: 4.0.0 unist-util-visit: 5.0.0 + yaml: 2.4.5 zod: 3.23.8 + zod-validation-error: 3.3.0(zod@3.23.8) transitivePeerDependencies: + - '@types/react' - supports-color + - typescript ngeohash@0.6.3: {} + nlcst-to-string@4.0.0: + dependencies: + '@types/nlcst': 2.0.3 + no-case@3.0.4: dependencies: lower-case: 2.0.2 @@ -18646,6 +19063,10 @@ snapshots: dependencies: yocto-queue: 1.1.1 + p-limit@6.1.0: + dependencies: + yocto-queue: 1.1.1 + p-locate@2.0.0: dependencies: p-limit: 1.3.0 @@ -18726,6 +19147,15 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 2.0.4 + parse-latin@7.0.0: + dependencies: + '@types/nlcst': 2.0.3 + '@types/unist': 3.0.2 + nlcst-to-string: 4.0.0 + unist-util-modify-children: 4.0.0 + unist-util-visit-children: 3.0.0 + vfile: 6.0.2 + parse-numeric-range@1.3.0: {} parse5@7.1.2: @@ -19282,12 +19712,21 @@ snapshots: unist-util-visit-parents: 6.0.1 vfile: 6.0.2 - rehype-pretty-code@0.9.11(shiki@0.14.7): + rehype-parse@9.0.0: dependencies: - '@types/hast': 2.3.10 - hash-obj: 4.0.0 + '@types/hast': 3.0.4 + hast-util-from-html: 2.0.1 + unified: 11.0.5 + + rehype-pretty-code@0.13.2(shiki@1.10.3): + dependencies: + '@types/hast': 3.0.4 + hast-util-to-string: 3.0.0 parse-numeric-range: 1.3.0 - shiki: 0.14.7 + rehype-parse: 9.0.0 + shiki: 1.10.3 + unified: 11.0.5 + unist-util-visit: 5.0.0 rehype-raw@7.0.0: dependencies: @@ -19312,12 +19751,14 @@ snapshots: transitivePeerDependencies: - supports-color - remark-gfm@3.0.1: + remark-gfm@4.0.0: dependencies: - '@types/mdast': 3.0.15 - mdast-util-gfm: 2.0.2 - micromark-extension-gfm: 2.0.3 - unified: 10.1.2 + '@types/mdast': 4.0.4 + mdast-util-gfm: 3.0.0 + micromark-extension-gfm: 3.0.0 + remark-parse: 11.0.0 + remark-stringify: 11.0.0 + unified: 11.0.5 transitivePeerDependencies: - supports-color @@ -19346,12 +19787,14 @@ snapshots: unist-util-generated: 2.0.1 unist-util-visit: 4.1.2 - remark-math@5.1.1: + remark-math@6.0.0: dependencies: - '@types/mdast': 3.0.15 - mdast-util-math: 2.0.2 - micromark-extension-math: 2.1.2 - unified: 10.1.2 + '@types/mdast': 4.0.4 + mdast-util-math: 3.0.0 + micromark-extension-math: 3.1.0 + unified: 11.0.5 + transitivePeerDependencies: + - supports-color remark-mdx@2.3.0: dependencies: @@ -19360,6 +19803,13 @@ snapshots: transitivePeerDependencies: - supports-color + remark-mdx@3.0.1: + dependencies: + mdast-util-mdx: 3.0.0 + micromark-extension-mdxjs: 3.0.0 + transitivePeerDependencies: + - supports-color + remark-parse@10.0.2: dependencies: '@types/mdast': 3.0.15 @@ -19368,6 +19818,15 @@ snapshots: transitivePeerDependencies: - supports-color + remark-parse@11.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdast-util-from-markdown: 2.0.1 + micromark-util-types: 2.0.0 + unified: 11.0.5 + transitivePeerDependencies: + - supports-color + remark-reading-time@2.0.1: dependencies: estree-util-is-identifier-name: 2.1.0 @@ -19375,12 +19834,20 @@ snapshots: reading-time: 1.5.0 unist-util-visit: 3.1.0 - remark-rehype@10.1.0: + remark-rehype@11.1.0: dependencies: - '@types/hast': 2.3.10 - '@types/mdast': 3.0.15 - mdast-util-to-hast: 12.3.0 - unified: 10.1.2 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + mdast-util-to-hast: 13.2.0 + unified: 11.0.5 + vfile: 6.0.2 + + remark-smartypants@3.0.2: + dependencies: + retext: 9.0.0 + retext-smartypants: 6.1.0 + unified: 11.0.5 + unist-util-visit: 5.0.0 remark-stringify@10.0.3: dependencies: @@ -19388,6 +19855,12 @@ snapshots: mdast-util-to-markdown: 1.5.0 unified: 10.1.2 + remark-stringify@11.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdast-util-to-markdown: 2.1.0 + unified: 11.0.5 + remove-trailing-separator@1.1.0: {} require-directory@2.1.1: {} @@ -19430,6 +19903,31 @@ snapshots: onetime: 5.1.2 signal-exit: 3.0.7 + retext-latin@4.0.0: + dependencies: + '@types/nlcst': 2.0.3 + parse-latin: 7.0.0 + unified: 11.0.5 + + retext-smartypants@6.1.0: + dependencies: + '@types/nlcst': 2.0.3 + nlcst-to-string: 4.0.0 + unist-util-visit: 5.0.0 + + retext-stringify@4.0.0: + dependencies: + '@types/nlcst': 2.0.3 + nlcst-to-string: 4.0.0 + unified: 11.0.5 + + retext@9.0.0: + dependencies: + '@types/nlcst': 2.0.3 + retext-latin: 4.0.0 + retext-stringify: 4.0.0 + unified: 11.0.5 + retry-as-promised@7.0.4: {} retry@0.12.0: @@ -19503,6 +20001,28 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.18.1 fsevents: 2.3.3 + rollup@4.19.0: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.19.0 + '@rollup/rollup-android-arm64': 4.19.0 + '@rollup/rollup-darwin-arm64': 4.19.0 + '@rollup/rollup-darwin-x64': 4.19.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.19.0 + '@rollup/rollup-linux-arm-musleabihf': 4.19.0 + '@rollup/rollup-linux-arm64-gnu': 4.19.0 + '@rollup/rollup-linux-arm64-musl': 4.19.0 + '@rollup/rollup-linux-powerpc64le-gnu': 4.19.0 + '@rollup/rollup-linux-riscv64-gnu': 4.19.0 + '@rollup/rollup-linux-s390x-gnu': 4.19.0 + '@rollup/rollup-linux-x64-gnu': 4.19.0 + '@rollup/rollup-linux-x64-musl': 4.19.0 + '@rollup/rollup-win32-arm64-msvc': 4.19.0 + '@rollup/rollup-win32-ia32-msvc': 4.19.0 + '@rollup/rollup-win32-x64-msvc': 4.19.0 + fsevents: 2.3.3 + rrdom@2.0.0-alpha.16: dependencies: rrweb-snapshot: 2.0.0-alpha.16 @@ -19716,13 +20236,6 @@ snapshots: shebang-regex@3.0.0: {} - shiki@0.14.7: - dependencies: - ansi-sequence-parser: 1.1.1 - jsonc-parser: 3.3.1 - vscode-oniguruma: 1.7.0 - vscode-textmate: 8.0.0 - shiki@1.10.3: dependencies: '@shikijs/core': 1.10.3 @@ -19751,6 +20264,8 @@ snapshots: slash@3.0.0: {} + slash@5.1.0: {} + smart-buffer@4.2.0: optional: true @@ -19792,10 +20307,6 @@ snapshots: dependencies: atomic-sleep: 1.0.0 - sort-keys@5.0.0: - dependencies: - is-plain-obj: 4.1.0 - source-map-js@1.2.0: {} source-map-support@0.5.21: @@ -19819,6 +20330,12 @@ snapshots: space-separated-tokens@2.0.2: {} + speech-rule-engine@4.0.7: + dependencies: + commander: 9.2.0 + wicked-good-xpath: 1.3.0 + xmldom-sre: 0.1.31 + split2@3.2.2: dependencies: readable-stream: 3.6.2 @@ -19990,6 +20507,10 @@ snapshots: dependencies: inline-style-parser: 0.1.1 + style-to-object@1.0.6: + dependencies: + inline-style-parser: 0.2.3 + styled-jsx@5.1.1(@babel/core@7.24.9)(react@18.3.1): dependencies: client-only: 0.0.1 @@ -20267,7 +20788,7 @@ snapshots: tsort@0.0.1: {} - tsup@8.2.0(jiti@1.21.6)(postcss@8.4.39)(tsx@4.16.2)(typescript@5.5.3)(yaml@2.4.5): + tsup@8.2.3(jiti@1.21.6)(postcss@8.4.39)(tsx@4.16.2)(typescript@5.5.3)(yaml@2.4.5): dependencies: bundle-require: 5.0.0(esbuild@0.23.0) cac: 6.7.14 @@ -20278,9 +20799,10 @@ snapshots: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 + picocolors: 1.0.1 postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.39)(tsx@4.16.2)(yaml@2.4.5) resolve-from: 5.0.0 - rollup: 4.18.1 + rollup: 4.19.0 source-map: 0.8.0-beta.0 sucrase: 3.35.0 tree-kill: 1.2.2 @@ -20331,6 +20853,16 @@ snapshots: tweetnacl@1.0.3: {} + twoslash-protocol@0.2.9: {} + + twoslash@0.2.9(typescript@5.5.3): + dependencies: + '@typescript/vfs': 1.5.0 + twoslash-protocol: 0.2.9 + typescript: 5.5.3 + transitivePeerDependencies: + - supports-color + type-check@0.4.0: dependencies: prelude-ls: 1.2.1 @@ -20343,8 +20875,6 @@ snapshots: type-fest@0.7.1: {} - type-fest@1.4.0: {} - type-is@1.6.18: dependencies: media-typer: 0.3.0 @@ -20509,13 +21039,18 @@ snapshots: dependencies: '@types/unist': 3.0.2 + unist-util-modify-children@4.0.0: + dependencies: + '@types/unist': 3.0.2 + array-iterate: 2.0.1 + unist-util-position-from-estree@1.1.2: dependencies: '@types/unist': 2.0.10 - unist-util-position@4.0.4: + unist-util-position-from-estree@2.0.0: dependencies: - '@types/unist': 2.0.10 + '@types/unist': 3.0.2 unist-util-position@5.0.0: dependencies: @@ -20549,6 +21084,10 @@ snapshots: dependencies: '@types/unist': 3.0.2 + unist-util-visit-children@3.0.0: + dependencies: + '@types/unist': 3.0.2 + unist-util-visit-parents@4.1.1: dependencies: '@types/unist': 2.0.10 @@ -20668,12 +21207,6 @@ snapshots: '@types/unist': 3.0.2 vfile: 6.0.2 - vfile-matter@3.0.1: - dependencies: - '@types/js-yaml': 4.0.9 - is-buffer: 2.0.5 - js-yaml: 4.1.0 - vfile-message@3.1.4: dependencies: '@types/unist': 2.0.10 @@ -20794,10 +21327,6 @@ snapshots: - supports-color - terser - vscode-oniguruma@1.7.0: {} - - vscode-textmate@8.0.0: {} - walk-up-path@3.0.1: {} wcwidth@1.0.1: @@ -20881,6 +21410,8 @@ snapshots: siginfo: 2.0.0 stackback: 0.0.2 + wicked-good-xpath@1.3.0: {} + wide-align@1.1.5: dependencies: string-width: 4.2.3 @@ -20956,6 +21487,8 @@ snapshots: ws@8.18.0: {} + xmldom-sre@0.1.31: {} + xstate@4.38.3: {} xtend@4.0.2: {} @@ -21049,6 +21582,10 @@ snapshots: zen-observable@0.8.15: optional: true + zod-validation-error@3.3.0(zod@3.23.8): + dependencies: + zod: 3.23.8 + zod@3.23.8: {} zwitch@2.0.4: {} diff --git a/website/i18n.ts b/website/i18n.ts index 197b69b95ce1..852a3e41a877 100644 --- a/website/i18n.ts +++ b/website/i18n.ts @@ -1,29 +1,29 @@ import { Locale, type NestedStrings, type Translations, useI18n as _useI18n } from '@edgeandnode/gds' -import ar from '@/pages/ar/translations' -import cs from '@/pages/cs/translations' -import de from '@/pages/de/translations' -import en from '@/pages/en/translations' -import es from '@/pages/es/translations' -import fr from '@/pages/fr/translations' -import ha from '@/pages/ha/translations' -import hi from '@/pages/hi/translations' -import it from '@/pages/it/translations' -import ja from '@/pages/ja/translations' -import ko from '@/pages/ko/translations' -import mr from '@/pages/mr/translations' -import nl from '@/pages/nl/translations' -import pl from '@/pages/pl/translations' -import pt from '@/pages/pt/translations' -import ro from '@/pages/ro/translations' -import ru from '@/pages/ru/translations' -import sv from '@/pages/sv/translations' -import tr from '@/pages/tr/translations' -import uk from '@/pages/uk/translations' -import ur from '@/pages/ur/translations' -import vi from '@/pages/vi/translations' -import yo from '@/pages/yo/translations' -import zh from '@/pages/zh/translations' +import ar from '@/src/pages/ar/translations' +import cs from '@/src/pages/cs/translations' +import de from '@/src/pages/de/translations' +import en from '@/src/pages/en/translations' +import es from '@/src/pages/es/translations' +import fr from '@/src/pages/fr/translations' +import ha from '@/src/pages/ha/translations' +import hi from '@/src/pages/hi/translations' +import it from '@/src/pages/it/translations' +import ja from '@/src/pages/ja/translations' +import ko from '@/src/pages/ko/translations' +import mr from '@/src/pages/mr/translations' +import nl from '@/src/pages/nl/translations' +import pl from '@/src/pages/pl/translations' +import pt from '@/src/pages/pt/translations' +import ro from '@/src/pages/ro/translations' +import ru from '@/src/pages/ru/translations' +import sv from '@/src/pages/sv/translations' +import tr from '@/src/pages/tr/translations' +import uk from '@/src/pages/uk/translations' +import ur from '@/src/pages/ur/translations' +import vi from '@/src/pages/vi/translations' +import yo from '@/src/pages/yo/translations' +import zh from '@/src/pages/zh/translations' const appLocales = [ Locale.ARABIC, diff --git a/website/next.config.js b/website/next.config.js index 163824afa80f..2559f4d9fd86 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -1,5 +1,11 @@ import nextra from 'nextra' +import { translate } from '@edgeandnode/gds' + +// Compile `i18n.ts` to `i18n.js` since we can't import `ts` files in `next.config.js` +import { translations } from './dist/i18n.js' +import { remarkTransformRemoteGitHub } from './src/remarkTransformRemoteGitHub.js' + const env = { ENVIRONMENT: process.env.ENVIRONMENT, BASE_PATH: process.env.NODE_ENV === 'production' ? '/docs' : '', @@ -15,25 +21,78 @@ const env = { } const withNextra = nextra({ - theme: '@graphprotocol/nextra-theme', - staticImage: true, - flexsearch: false, + theme: './src/NextraLayout.tsx', + search: false, codeHighlight: false, defaultShowCopyCode: false, readingTime: true, - transform(result, { route }) { - if (route && !result.includes('getStaticProps')) { - const banner = ` -import { getPageMap } from '@/src/getPageMap' + transformPageMap(pageMap) { + const locale = pageMap[0].route.slice(1, 3) + const t = (key) => translate(translations, locale, `global.sidebar.${key}`) -export const getStaticProps = async context => ({ - props: { - __nextra_pageMap: await getPageMap('${route.split('/')[1]}') - } -})` - result += banner + const metaFile = { + index: t('index'), + '---1': { + type: 'separator', + }, + about: '', + network: t('network'), + sunrise: '', + billing: '', + glossary: '', + tokenomics: '', + arbitrum: t('arbitrum'), + '---2': { + type: 'separator', + }, + '###1': { + type: 'heading', + title: t('subgraphs'), + }, + 'quick-start': '', + developing: t('developing'), + deploying: t('deploying'), + publishing: t('publishing'), + managing: t('managing'), + querying: t('querying'), + cookbook: t('cookbook'), + 'release-notes': t('releaseNotes'), + '---3': { + type: 'separator', + }, + '###2': { + type: 'heading', + title: t('substreams'), + }, + substreams: '', + '---4': { + type: 'separator', + }, + '###3': { + type: 'heading', + title: t('indexing'), + }, + 'operating-graph-node': '', + 'chain-integration-overview': '', + 'supported-network-requirements': '', + 'new-chain-integration': '', + firehose: '', + graphcast: '', + 'mips-faqs': '', } - return result + + return [ + { data: metaFile }, + { + route: `/${locale}`, + name: 'index', + frontMatter: {}, + }, + ...pageMap, + ] + }, + mdxOptions: { + remarkPlugins: [remarkTransformRemoteGitHub], }, }) @@ -85,4 +144,8 @@ export default withNextra({ images: { unoptimized: true, }, + i18n: { + defaultLocale: 'en', + locales: Object.keys(translations), + }, }) diff --git a/website/package.json b/website/package.json index 54a4547b3bbe..5cea54478965 100644 --- a/website/package.json +++ b/website/package.json @@ -6,25 +6,29 @@ "scripts": { "build": "rm -rf .next && rm -rf out && next build", "dev": "next", - "fetch-remote-filepaths": "tsx scripts/fetch-remote-filepaths.ts", "postbuild": "next-sitemap --config next-sitemap.config.mjs && node scripts/sitemap-ci.js", - "prebuild": "pnpm fetch-remote-filepaths", - "predev": "pnpm fetch-remote-filepaths", + "prebuild": "tsup i18n.ts --format esm && tsx scripts/fetch-remote-docs.ts", + "predev": "pnpm prebuild", "typecheck": "tsc --noEmit" }, "dependencies": { + "@docsearch/react": "^3.6.1", + "@radix-ui/react-collapsible": "^1.1.0", + "@radix-ui/react-visually-hidden": "^1.1.0", + "lodash": "^4.17.21", + "react-intersection-observer": "^9.13.0", + "react-use": "^17.5.0", "@edgeandnode/common": "^6.13.0", "@edgeandnode/gds": "^5.23.0", "@edgeandnode/go": "^6.33.0", "@emotion/react": "^11.12.0", "@graphprotocol/contracts": "6.2.1", - "@graphprotocol/nextra-theme": "workspace:*", "@phosphor-icons/react": "^2.1.7", "mixpanel-browser": "^2.53.0", "next": "^14.2.5", "next-seo": "^6.5.0", "next-sitemap": "^4.2.3", - "nextra": "^2.13.4", + "nextra": "^3.0.0-alpha.31", "react": "^18.3.1", "react-dom": "^18.3.1", "react-ga4": "^2.1.0", @@ -32,6 +36,7 @@ "unist-util-visit": "^5.0.0" }, "devDependencies": { + "@types/lodash": "^4.17.7", "@graphprotocol/client-cli": "3.0.3", "@types/mdast": "^4.0.4", "@types/mixpanel-browser": "^2.49.1", @@ -43,6 +48,7 @@ "postcss": "^8.4.39", "tailwindcss": "^3.4.6", "tsx": "^4.16.2", + "tsup": "^8.2.3", "unified": "^11.0.5" }, "nextBundleAnalysis": { diff --git a/website/pages/_app.mdx b/website/pages/_app.mdx deleted file mode 100644 index 2453689394c5..000000000000 --- a/website/pages/_app.mdx +++ /dev/null @@ -1,7 +0,0 @@ -{/* _app.mdx is not typesafe but _app.tsx is. */} - -{/* _app.mdx is used in nextra for better performance and smallest bundle size. */} - -import '../src/app.css' - -export { default } from '../src/_app' diff --git a/website/pages/ar/_meta.js b/website/pages/ar/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/ar/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/ar/querying/_meta.js b/website/pages/ar/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/ar/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/cs/_meta.js b/website/pages/cs/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/cs/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/cs/querying/_meta.js b/website/pages/cs/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/cs/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/de/_meta.js b/website/pages/de/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/de/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/de/querying/_meta.js b/website/pages/de/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/de/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/en/_meta.js b/website/pages/en/_meta.js deleted file mode 100644 index eb4b36cb4a6d..000000000000 --- a/website/pages/en/_meta.js +++ /dev/null @@ -1,50 +0,0 @@ -export default { - index: '', - '---1': { - type: 'separator', - }, - about: '', - network: 'The Graph Network', - sunrise: 'Sunrise Upgrade FAQ', - billing: '', - glossary: '', - tokenomics: 'Tokenomics', - arbitrum: 'Scaling with Arbitrum', - '---2': { - type: 'separator', - }, - '###1': { - type: 'heading', - title: 'Subgraphs', - }, - 'quick-start': '', - developing: 'Developing', - deploying: 'Deploying', - publishing: 'Publishing', - managing: 'Managing', - querying: 'Querying', - cookbook: 'Cookbook', - 'release-notes': 'Release Notes & Upgrade Guides', - '---3': { - type: 'separator', - }, - '###2': { - type: 'heading', - title: 'Substreams', - }, - substreams: '', - '---4': { - type: 'separator', - }, - '###3': { - type: 'heading', - title: 'Indexing', - }, - 'operating-graph-node': '', - 'chain-integration-overview': '', - 'supported-network-requirements': '', - 'new-chain-integration': 'Integrating New Networks', - firehose: '', - graphcast: '', - 'mips-faqs': '', -} diff --git a/website/pages/en/cookbook/_meta.js b/website/pages/en/cookbook/_meta.js deleted file mode 100644 index 7e889981d65e..000000000000 --- a/website/pages/en/cookbook/_meta.js +++ /dev/null @@ -1,15 +0,0 @@ -export default { - 'base-testnet': '', - 'upgrading-a-subgraph': '', - 'subgraph-debug-forking': '', - near: '', - cosmos: '', - arweave: '', - grafting: '', - 'subgraph-uncrashable': '', - 'substreams-powered-subgraphs': '', - pruning: 'Subgraph Best Practice 1: Pruning with indexerHints', - derivedfrom: 'Subgraph Best Practice 2: Manage Arrays with @derivedFrom', - 'immutable-entities-bytes-as-ids': 'Subgraph Best Practice 3: Using Immutable Entities and Bytes as IDs', - 'avoid-eth-calls': 'Subgraph Best Practice 4: Avoid eth_calls', -} diff --git a/website/pages/en/developing/graph-ts/[[...slug]].mdx b/website/pages/en/developing/graph-ts/[[...slug]].mdx deleted file mode 100644 index 5caa2942a740..000000000000 --- a/website/pages/en/developing/graph-ts/[[...slug]].mdx +++ /dev/null @@ -1,50 +0,0 @@ -import { RemoteContent } from 'nextra/data' -import { buildDynamicMDX } from 'nextra/remote' -import { buildGetStaticProps } from '@/src/buildGetStaticProps' -import { remarkReplaceLinks } from '@/src/remarkReplaceLinks' -import { Mermaid } from 'nextra/components' -import { visit } from 'unist-util-visit' -import json from '@/remote-files/graph-ts.json' - -export const getStaticPaths = () => ({ - fallback: false, - paths: json.filePaths.map((filePath) => ({ - params: { - slug: filePath.replace(/\.mdx?/, '').split('/'), - }, - })), -}) - -export const getStaticProps = buildGetStaticProps(__filename, async ({ params }) => { - const { filePaths, user, repo, branch, docsPath } = json - const paths = params?.slug?.join('/') - const foundPath = filePaths.find((filePath) => filePath.startsWith(paths)) - const baseURL = `https://raw.githubusercontent.com/${user}/${repo}/${branch}/${docsPath}${foundPath}` - const response = await fetch(baseURL) - const content = await response.text() - const mdx = await buildDynamicMDX(content, { - mdxOptions: { - format: 'md', - remarkPlugins: [ - () => (tree, _file) => { - visit(tree, 'link', (node) => { - if (node.url.startsWith('../')) { - node.url = node.url.replace('../', `https://github.com/${user}/${repo}/tree/${branch}/`) - } - }) - }, - [remarkReplaceLinks, { foundPath, basePath: '/developing/graph-ts/' }], - ], - }, - codeHighlight: false, - }) - return { - props: { - ...mdx, - hideLocaleSwitcher: true, - remoteFilePath: `https://github.com/${user}/${repo}/tree/${branch}/${docsPath}${foundPath}`, - }, - } -}) - - diff --git a/website/pages/en/developing/graph-ts/_meta.js b/website/pages/en/developing/graph-ts/_meta.js deleted file mode 100644 index 56029533d9ea..000000000000 --- a/website/pages/en/developing/graph-ts/_meta.js +++ /dev/null @@ -1,10 +0,0 @@ -import { createCatchAllMeta } from 'nextra/catch-all' - -import json from '../../../../remote-files/graph-ts.json' assert { type: 'json' } - -export default () => - createCatchAllMeta(json.filePaths, { - README: 'Introduction', - api: 'API Reference', - 'common-issues': 'Common Issues', - }) diff --git a/website/pages/en/global.json b/website/pages/en/global.json deleted file mode 100644 index 6a3eb234bfce..000000000000 --- a/website/pages/en/global.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "collapse": "Collapse", - "expand": "Expand", - "previous": "Previous", - "next": "Next", - "editPage": "Edit page", - "pageSections": "Page Sections", - "linkToThisSection": "Link to this section", - "technicalLevelRequired": "Technical Level Required", - "notFoundTitle": "Oops! This page was lost in space...", - "notFoundSubtitle": "Check if you’re using the right address or explore our website by clicking on the link below.", - "goHome": "Go Home", - "video": "Video" -} diff --git a/website/pages/en/querying/graph-client/[[...slug]].mdx b/website/pages/en/querying/graph-client/[[...slug]].mdx deleted file mode 100644 index bf7d4dd4d9d8..000000000000 --- a/website/pages/en/querying/graph-client/[[...slug]].mdx +++ /dev/null @@ -1,50 +0,0 @@ -import { RemoteContent } from 'nextra/data' -import { buildDynamicMDX } from 'nextra/remote' -import { buildGetStaticProps } from '@/src/buildGetStaticProps' -import { remarkReplaceLinks } from '@/src/remarkReplaceLinks' -import { Mermaid } from 'nextra/components' -import { visit } from 'unist-util-visit' -import json from '@/remote-files/graph-client.json' - -export const getStaticPaths = () => ({ - fallback: false, - paths: json.filePaths.map((filePath) => ({ - params: { - slug: filePath.replace(/\.mdx?/, '').split('/'), - }, - })), -}) - -export const getStaticProps = buildGetStaticProps(__filename, async ({ params }) => { - const { filePaths, user, repo, branch, docsPath } = json - const paths = params?.slug?.join('/') - const foundPath = filePaths.find((filePath) => filePath.startsWith(paths)) - const baseURL = `https://raw.githubusercontent.com/${user}/${repo}/${branch}/${docsPath}${foundPath}` - const response = await fetch(baseURL) - const content = await response.text() - const mdx = await buildDynamicMDX(content, { - mdxOptions: { - format: 'md', - remarkPlugins: [ - () => (tree, _file) => { - visit(tree, 'link', (node) => { - if (node.url.startsWith('../')) { - node.url = node.url.replace('../', `https://github.com/${user}/${repo}/tree/${branch}/`) - } - }) - }, - [remarkReplaceLinks, { foundPath, basePath: '/querying/graph-client/' }], - ], - }, - codeHighlight: false, - }) - return { - props: { - ...mdx, - hideLocaleSwitcher: true, - remoteFilePath: `https://github.com/${user}/${repo}/tree/${branch}/${docsPath}${foundPath}`, - }, - } -}) - - diff --git a/website/pages/en/querying/graph-client/_meta.js b/website/pages/en/querying/graph-client/_meta.js deleted file mode 100644 index 9ca9e8379f19..000000000000 --- a/website/pages/en/querying/graph-client/_meta.js +++ /dev/null @@ -1,8 +0,0 @@ -import { createCatchAllMeta } from 'nextra/catch-all' - -import json from '../../../../remote-files/graph-client.json' assert { type: 'json' } - -export default () => - createCatchAllMeta(json.filePaths, { - README: 'Introduction', - }) diff --git a/website/pages/es/_meta.js b/website/pages/es/_meta.js deleted file mode 100644 index 891ed50b6162..000000000000 --- a/website/pages/es/_meta.js +++ /dev/null @@ -1,22 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), - network: 'The Graph Network', - '###1': { - type: 'heading', - title: 'Subgrafos', - }, - developing: 'Desarrollando', - deploying: 'Deployando', - publishing: 'Publicando', - managing: 'Administrando', - querying: 'Consultando', - cookbook: 'Recetario', - 'release-notes': 'Notas de Publicación y Guías de Actualización', - '###3': { - type: 'heading', - title: 'Indexación', - }, - tokenomics: 'Tokenomics', -} diff --git a/website/pages/es/querying/_meta.js b/website/pages/es/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/es/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/fr/_meta.js b/website/pages/fr/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/fr/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/fr/querying/_meta.js b/website/pages/fr/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/fr/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/ha/_meta.js b/website/pages/ha/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/ha/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/ha/querying/_meta.js b/website/pages/ha/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/ha/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/hi/_meta.js b/website/pages/hi/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/hi/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/hi/querying/_meta.js b/website/pages/hi/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/hi/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/it/_meta.js b/website/pages/it/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/it/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/it/querying/_meta.js b/website/pages/it/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/it/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/ja/_meta.js b/website/pages/ja/_meta.js deleted file mode 100644 index 10816c40b54d..000000000000 --- a/website/pages/ja/_meta.js +++ /dev/null @@ -1,21 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), - network: 'グラフネットワーク', - '###1': { - type: 'heading', - title: 'サブグラフ', - }, - developing: '現像', - deploying: '展開する', - publishing: 'パブリッシング', - managing: '管理します', - querying: 'クエリ', - cookbook: 'クックブック', - 'release-notes': 'リリースノート&アップグレードガイド', - '###3': { - type: 'heading', - title: 'インデキシング', - }, -} diff --git a/website/pages/ja/querying/_meta.js b/website/pages/ja/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/ja/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/ko/_meta.js b/website/pages/ko/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/ko/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/ko/querying/_meta.js b/website/pages/ko/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/ko/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/mr/_meta.js b/website/pages/mr/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/mr/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/mr/querying/_meta.js b/website/pages/mr/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/mr/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/nl/_meta.js b/website/pages/nl/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/nl/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/nl/querying/_meta.js b/website/pages/nl/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/nl/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/pl/_meta.js b/website/pages/pl/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/pl/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/pl/querying/_meta.js b/website/pages/pl/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/pl/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/pt/_meta.js b/website/pages/pt/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/pt/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/pt/querying/_meta.js b/website/pages/pt/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/pt/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/ro/_meta.js b/website/pages/ro/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/ro/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/ro/querying/_meta.js b/website/pages/ro/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/ro/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/ru/_meta.js b/website/pages/ru/_meta.js deleted file mode 100644 index 2aa3c4a9b466..000000000000 --- a/website/pages/ru/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), - tokenomics: 'Токеномика', -} diff --git a/website/pages/ru/querying/_meta.js b/website/pages/ru/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/ru/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/sv/_meta.js b/website/pages/sv/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/sv/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/sv/querying/_meta.js b/website/pages/sv/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/sv/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/tr/_meta.js b/website/pages/tr/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/tr/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/tr/querying/_meta.js b/website/pages/tr/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/tr/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/uk/_meta.js b/website/pages/uk/_meta.js deleted file mode 100644 index c5052c7b7719..000000000000 --- a/website/pages/uk/_meta.js +++ /dev/null @@ -1,21 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), - network: 'Graph мережа', - '###1': { - type: 'heading', - title: 'Підграфи', - }, - developing: 'Розробка', - deploying: 'Запуск', - publishing: 'Публікація', - managing: 'Управління', - querying: 'Запити', - cookbook: 'Книга поетапних порад', - 'release-notes': 'Примітки до релізів та інструкції по оновленню', - '###3': { - type: 'heading', - title: 'Індексація', - }, -} diff --git a/website/pages/uk/querying/_meta.js b/website/pages/uk/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/uk/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/ur/_meta.js b/website/pages/ur/_meta.js deleted file mode 100644 index eefd252149dd..000000000000 --- a/website/pages/ur/_meta.js +++ /dev/null @@ -1,21 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), - network: 'گراف نیٹورک', - '###1': { - type: 'heading', - title: 'سبگراف', - }, - developing: 'ترقی پذیر', - deploying: 'تعیناتی', - publishing: 'اشاعت', - managing: 'انتظام', - querying: 'استفسار کرنا', - cookbook: 'ہدایت نامہ', - 'release-notes': 'ریلیز نوٹس اور اپ گریڈ گائیڈز', - '###3': { - type: 'heading', - title: 'انڈیکسنگ', - }, -} diff --git a/website/pages/ur/querying/_meta.js b/website/pages/ur/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/ur/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/vi/_meta.js b/website/pages/vi/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/vi/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/vi/querying/_meta.js b/website/pages/vi/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/vi/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/yo/_meta.js b/website/pages/yo/_meta.js deleted file mode 100644 index ac570f79abfc..000000000000 --- a/website/pages/yo/_meta.js +++ /dev/null @@ -1,5 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), -} diff --git a/website/pages/yo/querying/_meta.js b/website/pages/yo/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/yo/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git a/website/pages/zh/_meta.js b/website/pages/zh/_meta.js deleted file mode 100644 index 7493d5d5282c..000000000000 --- a/website/pages/zh/_meta.js +++ /dev/null @@ -1,21 +0,0 @@ -import meta from '../en/_meta.js' - -export default { - ...structuredClone(meta), - network: 'Graph网络', - '###1': { - type: 'heading', - title: '子图', - }, - developing: '开发', - deploying: '部署', - publishing: '发布', - managing: '管理', - querying: '查询', - cookbook: '导览', - 'release-notes': '发布说明&更新向导', - '###3': { - type: 'heading', - title: '索引', - }, -} diff --git a/website/pages/zh/querying/_meta.js b/website/pages/zh/querying/_meta.js deleted file mode 100644 index 5903eca7ce9a..000000000000 --- a/website/pages/zh/querying/_meta.js +++ /dev/null @@ -1,6 +0,0 @@ -import meta from '../../en/querying/_meta.js' - -export default { - ...meta, - 'graph-client': undefined, // Remove from sidebar, defined only for `en` language -} diff --git "a/website/public/img/Delegation-Upph\303\244vning.png" "b/website/public/img/Delegation-Upph\303\244vning.png" new file mode 100644 index 000000000000..23e840238245 Binary files /dev/null and "b/website/public/img/Delegation-Upph\303\244vning.png" differ diff --git a/website/public/img/Indexing-Edward-Cut.png b/website/public/img/Indexing-Edward-Cut.png new file mode 100644 index 000000000000..23e840238245 Binary files /dev/null and b/website/public/img/Indexing-Edward-Cut.png differ diff --git a/website/public/img/curator-signaling.png b/website/public/img/curator-signaling.png new file mode 100644 index 000000000000..23e840238245 Binary files /dev/null and b/website/public/img/curator-signaling.png differ diff --git a/website/remote-files/graph-client.json b/website/remote-files/graph-client.json deleted file mode 100644 index 8afe0631a853..000000000000 --- a/website/remote-files/graph-client.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "user": "graphprotocol", - "repo": "graph-client", - "branch": "main", - "docsPath": "docs/", - "filePaths": [ - "README.md", - "architecture.md", - "live.md" - ] -} \ No newline at end of file diff --git a/website/remote-files/graph-ts.json b/website/remote-files/graph-ts.json deleted file mode 100644 index a13fa1e05bf2..000000000000 --- a/website/remote-files/graph-ts.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "user": "graphprotocol", - "repo": "graph-tooling", - "branch": "main", - "docsPath": "packages/ts/", - "filePaths": [ - "CHANGELOG.md", - "README.md" - ] -} \ No newline at end of file diff --git a/website/scripts/fetch-remote-filepaths.ts b/website/scripts/fetch-remote-docs.ts similarity index 53% rename from website/scripts/fetch-remote-filepaths.ts rename to website/scripts/fetch-remote-docs.ts index daf00314661a..ddfe0473e4ef 100644 --- a/website/scripts/fetch-remote-filepaths.ts +++ b/website/scripts/fetch-remote-docs.ts @@ -10,7 +10,9 @@ type Params = { filterDocs?: (filePath: string) => boolean } -async function fetchRemoteFilePaths({ user, repo, branch, docsPath, outputPath, filterDocs }: Params): Promise { +const CWD = process.cwd() + +async function fetchRemoteDocs({ user, repo, branch, docsPath, outputPath, filterDocs }: Params): Promise { const url = `https://api.github.com/repos/${user}/${repo}/git/trees/${branch}?recursive=1` const response = await fetch(url) @@ -28,30 +30,35 @@ async function fetchRemoteFilePaths({ user, repo, branch, docsPath, outputPath, repo, branch, docsPath, - filePaths: filePaths.filter((filePath) => /\.mdx?$/.test(filePath)), + filePaths: filePaths.filter((filePath) => filePath.endsWith('.md')), } if (filterDocs) { result.filePaths = result.filePaths.filter(filterDocs) } - const json = JSON.stringify(result, null, 2) - - await fs.writeFile(outputPath, json, 'utf8') - - console.log(`✅ Remote files from "${url}" saved!`) + for (const fp of result.filePaths) { + const response = await fetch(`https://raw.githubusercontent.com/${user}/${repo}/${branch}/${docsPath}${fp}`) + if (!response.ok) { + throw new Error(`Failed to fetch remote file. ${response.status} ${response.statusText}`) + } + const text = await response.text() + const filePath = path.join(outputPath, fp) + await fs.writeFile(filePath, text) + console.log(`✅ Saved remote file "${fp}" in ${path.relative(CWD, filePath)}`) + } } -await fetchRemoteFilePaths({ +await fetchRemoteDocs({ user: 'graphprotocol', repo: 'graph-client', branch: 'main', docsPath: 'docs/', - outputPath: path.join(process.cwd(), 'remote-files', 'graph-client.json'), + outputPath: path.join(CWD, 'src', 'pages', 'en', 'querying', 'graph-client'), }) -await fetchRemoteFilePaths({ +await fetchRemoteDocs({ user: 'graphprotocol', repo: 'graph-tooling', branch: 'main', docsPath: 'packages/ts/', - outputPath: path.join(process.cwd(), 'remote-files', 'graph-ts.json'), + outputPath: path.join(CWD, 'src', 'pages', 'en', 'developing', 'graph-ts'), }) diff --git a/website/src/IndexPage.tsx b/website/src/IndexPage.tsx index 8861c0991a9c..bd2d7ef900aa 100644 --- a/website/src/IndexPage.tsx +++ b/website/src/IndexPage.tsx @@ -1,10 +1,10 @@ -import { Image, LinkInline } from '@graphprotocol/nextra-theme' -import { useData } from 'nextra/data' +import { useData } from 'nextra/hooks' import { BorderRadius, buildBorder, buildTransition, Flex, Link, Spacing, Text } from '@edgeandnode/gds' import { NetworkIcon } from '@edgeandnode/go' import { useI18n } from '@/i18n' +import { Image } from '@/src/components' import { getSupportedNetworks } from './supportedNetworks' @@ -139,7 +139,7 @@ export function NetworkRoles() { - {t('index.readMore')} + {t('index.readMore')} ))} @@ -187,7 +187,7 @@ export function Products() { - {t('index.readMore')} + {t('index.readMore')} ))} diff --git a/website/src/NextraLayout.tsx b/website/src/NextraLayout.tsx new file mode 100644 index 000000000000..1b4e40448d5b --- /dev/null +++ b/website/src/NextraLayout.tsx @@ -0,0 +1,262 @@ +import merge from 'lodash/merge' +import { NextSeo, type NextSeoProps } from 'next-seo' +import type { NextraMDXContent, NextraThemeLayoutProps } from 'nextra' +import { useFSRoute, useRouter } from 'nextra/hooks' +import { MDXProvider } from 'nextra/mdx' +import { normalizePages } from 'nextra/normalize-pages' +import { type ReactElement, useCallback, useContext, useMemo } from 'react' +import { useSet } from 'react-use' +import type { ThemeUICSSObject } from 'theme-ui' + +import { Code, Divider, type DividerProps, Flex, Link, List, Spacing } from '@edgeandnode/gds' + +import { + Callout, + CodeBlock, + Difficulty, + EditPageLink, + Heading, + Image, + ListOrdered, + ListUnordered, + Paragraph, + Table, + VideoEmbed, +} from './components' +import { DocumentContext, MDXLayoutNav, MDXLayoutOutline, MDXLayoutPagination, NavContext } from './layout' + +const mdxStyles: ThemeUICSSObject = { + overflowWrap: 'break-word', + 'img + em': { + mt: Spacing['16px'], + display: 'block', + textAlign: 'center', + }, +} + +const MDXWrapper: NextraMDXContent = ({ children, toc }) => { + const { activePath } = useContext(NavContext)! + const { frontMatter, timestamp, readingTime } = useContext(DocumentContext)! + const { locale } = useRouter() + const lastUpdated = timestamp ? new Date(timestamp) : null + + return ( + <> +
+
+ +
+ +
+ {activePath.length > 1 && ( +
+ {activePath.map((item) => item.title).join(' > ')} +
+ )} + {frontMatter.title ? {frontMatter.title} : null} + {(lastUpdated || readingTime) && ( + + {lastUpdated && ( + + Last updated:{' '} + + + )} + + {!!readingTime?.minutes && ( + + Reading time: {Math.ceil(readingTime.minutes)} min + + )} + + )} + {children} +
+ + + + + +
+ + {/* TODO: Uncomment when we're ready to add the NPS form to the docs + , + hideLabel: true, + score: -1, + }, + { + label: 'Yes', + commentsLabel: 'In what way did this page help you?', + icon: , + hideLabel: true, + score: 1, + }, + ]} + chipSize="xlarge" + sx={{ mb: Spacing['32px'] }} + /> + */} +
+
+ +
+ +
+ + ) +} + +const mdxComponents = { + blockquote: Callout, + pre: CodeBlock, + code: Code.Inline as any, + hr: (props: DividerProps) => , + h1: Heading.H1, + h2: Heading.H2, + h3: Heading.H3, + h4: Heading.H4, + h5: Heading.H5, + h6: Heading.H6, + img: Image, + a: Link.Inline as any, + li: List.Item, + ol: ListOrdered, + ul: ListUnordered, + p: Paragraph, + table: Table, + Difficulty, + VideoEmbed, + wrapper: MDXWrapper as any, +} + +export default function NextraLayout({ children, pageOpts, pageProps }: NextraThemeLayoutProps): ReactElement { + const { frontMatter, filePath, pageMap, title, timestamp, readingTime } = pageOpts + const fsPath = useFSRoute() + const { locale } = useRouter() + const args = useMemo(() => { + const result = normalizePages({ + list: pageMap, + route: fsPath, + }) + if (typeof window === 'undefined' && locale === 'en') { + // Execute this check for sidebar links only on server, will be stripped from client build + for (const item of result.flatDocsDirectories) { + if (!item.route) { + throw new Error(`Route "${item.name}" does not exist. Remove this field from _meta.js file`) + } + } + } + return result + }, [fsPath, pageMap, locale]) + + // Provide `markOutlineItem` to the `DocumentContext` so child `Heading` components can mark outline items as "in or above view" or not + const [ + , + { add: markOutlineItemAsInOrAboveView, remove: markOutlineItemAsNotInOrAboveView, has: outlineItemIsInOrAboveView }, + ] = useSet(new Set([])) + + const markOutlineItem = useCallback( + (id: string, inOrAboveView: boolean) => { + if (inOrAboveView) { + markOutlineItemAsInOrAboveView(id) + } else { + markOutlineItemAsNotInOrAboveView(id) + } + }, + [markOutlineItemAsInOrAboveView, markOutlineItemAsNotInOrAboveView], + ) + + let seo: NextSeoProps = { + title: `${title ? `${title} | ` : ''}Docs | The Graph`, + description: frontMatter.description, + openGraph: { + title, + images: [ + { + url: + frontMatter.socialImage || `https://thegraph-docs-opengraph-image.the-guild.dev?title=${encodeURI(title)}`, + }, + ], + }, + } + if (frontMatter.seo) { + seo = merge(seo, frontMatter.seo) + } + + return ( + + + + +
+
+ +
+ + {children} +
+
+
+ ) +} diff --git a/website/src/buildGetStaticProps.ts b/website/src/buildGetStaticProps.ts index b37e298b5ac9..63ddb2342f37 100644 --- a/website/src/buildGetStaticProps.ts +++ b/website/src/buildGetStaticProps.ts @@ -1,10 +1,5 @@ -import path from 'path' - import type { GetStaticProps, GetStaticPropsResult } from 'next' -import { Locale } from '@edgeandnode/gds' - -import { getPageMap } from '@/src/getPageMap' import { getSupportedNetworks } from '@/src/supportedNetworks' export const buildGetStaticProps = (fileName: string, overrides?: GetStaticProps) => { @@ -12,16 +7,10 @@ export const buildGetStaticProps = (fileName: string, overrides?: GetStaticProps const overrideStaticProps: GetStaticPropsResult> = overrides ? await overrides(context) : { props: {} } - - const pagesDir = path.join(process.cwd(), '.next', 'server', 'pages') - const pagePath = path.relative(pagesDir, fileName) - const locale = pagePath.slice(0, 2) as Locale - return { ...overrideStaticProps, props: { ...('props' in overrideStaticProps && overrideStaticProps.props), - __nextra_pageMap: await getPageMap(locale), }, } } diff --git a/packages/nextra-theme/src/components/Callout.tsx b/website/src/components/Callout.tsx similarity index 100% rename from packages/nextra-theme/src/components/Callout.tsx rename to website/src/components/Callout.tsx diff --git a/packages/nextra-theme/src/components/Code.tsx b/website/src/components/Code.tsx similarity index 89% rename from packages/nextra-theme/src/components/Code.tsx rename to website/src/components/Code.tsx index 7fdaacb1e54c..8f09e20934e8 100644 --- a/packages/nextra-theme/src/components/Code.tsx +++ b/website/src/components/Code.tsx @@ -43,7 +43,3 @@ export const CodeBlock = ({ children, ...props }: CodeBlockProps) => { ) } - -export const CodeInline = ({ children, ...props }: HTMLAttributes) => { - return {children as string} -} diff --git a/packages/nextra-theme/src/components/Difficulty.tsx b/website/src/components/Difficulty.tsx similarity index 100% rename from packages/nextra-theme/src/components/Difficulty.tsx rename to website/src/components/Difficulty.tsx diff --git a/packages/nextra-theme/src/components/DocSearch.tsx b/website/src/components/DocSearch.tsx similarity index 100% rename from packages/nextra-theme/src/components/DocSearch.tsx rename to website/src/components/DocSearch.tsx diff --git a/packages/nextra-theme/src/components/EditPageLink.tsx b/website/src/components/EditPageLink.tsx similarity index 95% rename from packages/nextra-theme/src/components/EditPageLink.tsx rename to website/src/components/EditPageLink.tsx index bf864ca33795..7638921101c3 100644 --- a/packages/nextra-theme/src/components/EditPageLink.tsx +++ b/website/src/components/EditPageLink.tsx @@ -2,7 +2,7 @@ import { type HTMLAttributes, useContext } from 'react' import { Icon, Link, useI18n } from '@edgeandnode/gds' -import { NavContext } from '@/layout/NavContext' +import { NavContext } from '../layout/NavContext' export type EditPageLinkProps = { mobile?: boolean diff --git a/packages/nextra-theme/src/components/Heading.tsx b/website/src/components/Heading.tsx similarity index 91% rename from packages/nextra-theme/src/components/Heading.tsx rename to website/src/components/Heading.tsx index 00d7d1a4b901..4205bc5bf36a 100644 --- a/packages/nextra-theme/src/components/Heading.tsx +++ b/website/src/components/Heading.tsx @@ -3,10 +3,9 @@ import { type ElementType, useContext } from 'react' import { useInView } from 'react-intersection-observer' import { useDebounce } from 'react-use' -import { buildTransition, Opacity, Spacing, Text, type TextProps, useI18n } from '@edgeandnode/gds' +import { buildTransition, Link, Opacity, Spacing, Text, type TextProps, useI18n } from '@edgeandnode/gds' -import { LinkInline } from '@/components' -import { DocumentContext } from '@/layout/DocumentContext' +import { DocumentContext } from '../layout' export type HeadingProps = TextProps & { level: 1 | 2 | 3 | 4 | 5 | 6 @@ -47,10 +46,10 @@ const BaseHeading = ({ level, id, children, ...props }: HeadingProps) => { > {/* Zero-width non-breaking space, to prevent a line break between the `#` and the previous word */} ⁠ - + {t('global.linkToThisSection')} - +
) : null} diff --git a/packages/nextra-theme/src/components/Image.tsx b/website/src/components/Image.tsx similarity index 100% rename from packages/nextra-theme/src/components/Image.tsx rename to website/src/components/Image.tsx diff --git a/packages/nextra-theme/src/components/List.tsx b/website/src/components/List.tsx similarity index 89% rename from packages/nextra-theme/src/components/List.tsx rename to website/src/components/List.tsx index 0ccbd4e84d0c..f1e35f01ad80 100644 --- a/packages/nextra-theme/src/components/List.tsx +++ b/website/src/components/List.tsx @@ -29,7 +29,3 @@ export const ListUnordered = (props: HTMLAttributes) => { /> ) } - -export const ListItem = (props: HTMLAttributes) => { - return -} diff --git a/packages/nextra-theme/src/components/NavTree.tsx b/website/src/components/NavTree.tsx similarity index 100% rename from packages/nextra-theme/src/components/NavTree.tsx rename to website/src/components/NavTree.tsx diff --git a/packages/nextra-theme/src/components/Paragraph.tsx b/website/src/components/Paragraph.tsx similarity index 100% rename from packages/nextra-theme/src/components/Paragraph.tsx rename to website/src/components/Paragraph.tsx diff --git a/packages/nextra-theme/src/components/Table.tsx b/website/src/components/Table.tsx similarity index 100% rename from packages/nextra-theme/src/components/Table.tsx rename to website/src/components/Table.tsx diff --git a/packages/nextra-theme/src/components/VideoEmbed.tsx b/website/src/components/VideoEmbed.tsx similarity index 100% rename from packages/nextra-theme/src/components/VideoEmbed.tsx rename to website/src/components/VideoEmbed.tsx diff --git a/packages/nextra-theme/src/components/index.ts b/website/src/components/index.ts similarity index 93% rename from packages/nextra-theme/src/components/index.ts rename to website/src/components/index.ts index d7ff4c862fec..bbe3c5800133 100644 --- a/packages/nextra-theme/src/components/index.ts +++ b/website/src/components/index.ts @@ -5,7 +5,6 @@ export * from './DocSearch' export * from './EditPageLink' export * from './Heading' export * from './Image' -export * from './Link' export * from './List' export * from './NavTree' export * from './Paragraph' diff --git a/website/src/contracts.tsx b/website/src/contracts.tsx index 70f7f9ee36ab..217ee8cbbc6d 100644 --- a/website/src/contracts.tsx +++ b/website/src/contracts.tsx @@ -1,9 +1,10 @@ import ContractAddresses from '@graphprotocol/contracts/addresses.json' -import { Table } from '@graphprotocol/nextra-theme' import { getAddressLink } from '@edgeandnode/common' import { Link } from '@edgeandnode/gds' +import { Table } from '@/src/components' + type ValueOf = T[keyof T] const contractsByNetworkId = ContractAddresses as Record> @@ -16,19 +17,17 @@ export function ProtocolContractsTable({ networkId }: { networkId: number }) { - - + + - {contracts.map((contract) => { - return ( - - - - - ) - })} + {contracts.map((contract) => ( + + + + + ))}
{'Contract'}{'Address'}ContractAddress
{contract.name} - {contract.address} -
{contract.name} + {contract.address} +
) diff --git a/website/src/env.d.ts b/website/src/env.d.ts deleted file mode 100644 index 6efca917159d..000000000000 --- a/website/src/env.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -declare namespace globalThis { - import { Locale } from '@edgeandnode/gds' - var __graph_docs_locale: Locale -} diff --git a/website/src/getPageMap.ts b/website/src/getPageMap.ts deleted file mode 100644 index 32a4e1bd00e8..000000000000 --- a/website/src/getPageMap.ts +++ /dev/null @@ -1,29 +0,0 @@ -import type { Folder, MetaJsonFile, PageMapItem } from 'nextra' -import { buildDynamicMeta } from 'nextra/remote' - -import { Locale, translate } from '@edgeandnode/gds' - -import { supportedLocales, translations } from '@/i18n' - -export async function getPageMap(locale: Locale = Locale.ENGLISH) { - if (!(supportedLocales as Locale[]).includes(locale)) { - return [] - } - - const { __nextra_pageMap } = await buildDynamicMeta() - - const pageMap = __nextra_pageMap.find( - (pageItem): pageItem is Folder => pageItem.kind === 'Folder' && pageItem.name === (locale as string), - )!.children - - const resultPageMap = [ - ...pageMap, - // add missing dynamic "[locale]/index.mdx" page - { kind: 'MdxPage', name: 'index', route: `/${locale}` }, - ] - - const metaIndex = pageMap.findIndex((pageItem) => pageItem.kind === 'Meta') - ;(resultPageMap[metaIndex] as MetaJsonFile).data.index = translate(translations, locale, 'index.title') - - return resultPageMap -} diff --git a/packages/nextra-theme/src/layout/DocumentContext.ts b/website/src/layout/DocumentContext.ts similarity index 73% rename from packages/nextra-theme/src/layout/DocumentContext.ts rename to website/src/layout/DocumentContext.ts index 5e7d43825ee1..ee5b7334b3c2 100644 --- a/packages/nextra-theme/src/layout/DocumentContext.ts +++ b/website/src/layout/DocumentContext.ts @@ -1,5 +1,5 @@ import type { NextSeoProps } from 'next-seo' -import type { Heading } from 'nextra' +import type { ReadingTime } from 'nextra' import { createContext } from 'react' export type Frontmatter = { @@ -11,9 +11,10 @@ export type Frontmatter = { export type DocumentContextProps = { frontMatter: Frontmatter - headings: Heading[] markOutlineItem: (id: string, inOrAboveView: boolean) => void - highlightedOutlineItemId: string | null + outlineItemIsInOrAboveView: (key: string) => boolean + timestamp?: number + readingTime?: ReadingTime } export const DocumentContext = createContext(null) diff --git a/packages/nextra-theme/src/layout/MDXLayoutNav.tsx b/website/src/layout/MDXLayoutNav.tsx similarity index 98% rename from packages/nextra-theme/src/layout/MDXLayoutNav.tsx rename to website/src/layout/MDXLayoutNav.tsx index b0cd21686b7b..051ffe100e1d 100644 --- a/packages/nextra-theme/src/layout/MDXLayoutNav.tsx +++ b/website/src/layout/MDXLayoutNav.tsx @@ -5,8 +5,9 @@ import { Fragment, type PropsWithChildren, useContext, useEffect, useState } fro import { BorderRadius, buildTransition, Flex, Icon, Spacing, Text, useI18n } from '@edgeandnode/gds' -import { NavTree } from '@/components' -import { NavContext } from '@/layout' +import { NavTree } from '../components' + +import { NavContext } from './NavContext' const animationExpand = keyframes({ from: { height: 0 }, diff --git a/packages/nextra-theme/src/layout/MDXLayoutOutline.tsx b/website/src/layout/MDXLayoutOutline.tsx similarity index 67% rename from packages/nextra-theme/src/layout/MDXLayoutOutline.tsx rename to website/src/layout/MDXLayoutOutline.tsx index 853cbd4058ac..cf8655a30fa5 100644 --- a/packages/nextra-theme/src/layout/MDXLayoutOutline.tsx +++ b/website/src/layout/MDXLayoutOutline.tsx @@ -1,12 +1,26 @@ -import { useContext, useEffect, useState } from 'react' +import type { Heading } from 'nextra' +import { removeLinks } from 'nextra/remove-links' +import { useContext, useEffect, useMemo, useState } from 'react' import { buildTransition, Divider, Link, Spacing, Text, useI18n } from '@edgeandnode/gds' -import { EditPageLink } from '@/components' -import { DocumentContext } from '@/layout' +import { EditPageLink } from '../components' + +import { DocumentContext } from './DocumentContext' + +export const MDXLayoutOutline = ({ toc: headings }: { toc: Heading[] }) => { + const { outlineItemIsInOrAboveView } = useContext(DocumentContext)! + // Compute `highlightedOutlineItemId` for the `DocumentContext` based on outline items that have been marked as "in or above view" + const highlightedOutlineItemId = useMemo(() => { + let _highlightedOutlineItemId = null + for (const heading of headings) { + if (heading.depth <= 3 && outlineItemIsInOrAboveView(heading.id)) { + _highlightedOutlineItemId = heading.id + } + } + return _highlightedOutlineItemId + }, [headings, outlineItemIsInOrAboveView]) -export const MDXLayoutOutline = () => { - const { headings, highlightedOutlineItemId } = useContext(DocumentContext)! const [_enableTransition, setEnableTransition] = useState(false) const { t } = useI18n() @@ -53,7 +67,7 @@ export const MDXLayoutOutline = () => { transition: buildTransition('COLORS'), }} > - {heading.value} + {removeLinks(heading.value)} ) diff --git a/packages/nextra-theme/src/layout/MDXLayoutPagination.tsx b/website/src/layout/MDXLayoutPagination.tsx similarity index 98% rename from packages/nextra-theme/src/layout/MDXLayoutPagination.tsx rename to website/src/layout/MDXLayoutPagination.tsx index 60f83072acae..29af381a6a1a 100644 --- a/packages/nextra-theme/src/layout/MDXLayoutPagination.tsx +++ b/website/src/layout/MDXLayoutPagination.tsx @@ -2,7 +2,7 @@ import { useContext } from 'react' import { buildTransition, Divider, Flex, Icon, Link, Spacing, Text, useI18n } from '@edgeandnode/gds' -import { NavContext } from '@/layout' +import { NavContext } from './NavContext' export const MDXLayoutPagination = () => { const { flatDocsDirectories, activeIndex } = useContext(NavContext)! diff --git a/packages/nextra-theme/src/layout/NavContext.ts b/website/src/layout/NavContext.ts similarity index 100% rename from packages/nextra-theme/src/layout/NavContext.ts rename to website/src/layout/NavContext.ts diff --git a/packages/nextra-theme/src/layout/index.ts b/website/src/layout/index.ts similarity index 100% rename from packages/nextra-theme/src/layout/index.ts rename to website/src/layout/index.ts diff --git a/website/pages/[locale]/[...404].tsx b/website/src/pages/[locale]/[...404].tsx similarity index 84% rename from website/pages/[locale]/[...404].tsx rename to website/src/pages/[locale]/[...404].tsx index dd87696d3778..2cd4ae80d784 100644 --- a/website/pages/[locale]/[...404].tsx +++ b/website/src/pages/[locale]/[...404].tsx @@ -1,6 +1,6 @@ -import { LinkInline } from '@graphprotocol/nextra-theme' import type { GetStaticPaths, GetStaticProps, NextPage } from 'next' +import { Link } from '@edgeandnode/gds' import { NotFound, Spacing } from '@edgeandnode/gds' import { supportedLocales, useI18n } from '@/i18n' @@ -26,7 +26,7 @@ const Page: NextPage = () => { {t('global.goHome')}} + link={{t('global.goHome')}} /> ) diff --git a/website/pages/[locale]/index.mdx b/website/src/pages/[locale]/index.mdx similarity index 88% rename from website/pages/[locale]/index.mdx rename to website/src/pages/[locale]/index.mdx index 03c25f78ccbb..e7f80f8ca064 100644 --- a/website/pages/[locale]/index.mdx +++ b/website/src/pages/[locale]/index.mdx @@ -4,11 +4,10 @@ import { translate } from '@edgeandnode/gds' import { buildDynamicMDX } from 'nextra/remote' -import { RemoteContent } from 'nextra/data' +import { RemoteContent } from 'nextra/components' import { supportedLocales, translations } from '@/i18n' import { Intro, NetworkRoles, Products, SupportedNetworks } from '@/src/IndexPage' -import { getPageMap } from '@/src/getPageMap' import { getSupportedNetworks } from '@/src/supportedNetworks' export const getStaticPaths = () => { @@ -23,7 +22,7 @@ export const getStaticPaths = () => { export const getStaticProps = async ({ params: { locale } }) => { const t = (key) => translate(translations, locale, key) const rawMdx = `--- -title: ${t('index.title')} +title: ${t('global.sidebar.index')} --- ${t('index.intro')} @@ -37,10 +36,11 @@ ${t('index.supportedNetworks.description')} ${t('index.supportedNetworks.footer').replace('{0}', `[${t('index.supportedNetworks.title')}](/developing/supported-networks/)`)}` const mdx = await buildDynamicMDX(rawMdx, { codeHighlight: false }) + const { pageMap } = await import(`.next/static/chunks/nextra-page-map-${locale}.mjs`) return { props: { ...mdx, - __nextra_pageMap: await getPageMap(locale), + __nextra_pageMap: pageMap, ssg: { supportedNetworks: await getSupportedNetworks(), }, diff --git a/website/src/_app.tsx b/website/src/pages/_app.tsx similarity index 96% rename from website/src/_app.tsx rename to website/src/pages/_app.tsx index abd5153cb9cd..5ceb02d5397e 100644 --- a/website/src/_app.tsx +++ b/website/src/pages/_app.tsx @@ -1,4 +1,3 @@ -import { DocSearch } from '@graphprotocol/nextra-theme' import mixpanel from 'mixpanel-browser' import type { AppProps } from 'next/app' import NextLink from 'next/link' @@ -18,9 +17,11 @@ import { import { CookieBanner, GlobalFooter, GlobalHeader } from '@edgeandnode/go' import { supportedLocales, translations, useI18n } from '@/i18n' +import { DocSearch } from '@/src/components' import '@edgeandnode/gds/style.css' import '@docsearch/css' +import './globals.css' const internalAbsoluteHrefRegex = /^(((https?:)?\/\/((www|staging)\.)?thegraph\.com)?\/docs\/|\/(?!\/))/i const externalHrefRegex = /^(?!(https?:)?\/\/((www|staging)\.)?thegraph\.com)([a-zA-Z0-9+.-]+:)?\/\//i @@ -58,9 +59,7 @@ function MyAppWithLocale({ Component, router, pageProps }: AppProps) { }, navigateNewTab({ itemUrl }: { itemUrl: string }) { const windowReference = window.open(itemUrl, '_blank', 'noopener') - if (windowReference) { - windowReference.focus() - } + windowReference?.focus() }, navigateNewWindow({ itemUrl }: { itemUrl: string }) { window.open(itemUrl, '_blank', 'noopener') @@ -176,7 +175,7 @@ function MyAppWithLocale({ Component, router, pageProps }: AppProps) { /> } headerSticky - footer={} + footer={} > diff --git a/website/pages/_document.tsx b/website/src/pages/_document.tsx similarity index 100% rename from website/pages/_document.tsx rename to website/src/pages/_document.tsx diff --git a/website/pages/ar/about.mdx b/website/src/pages/ar/about.mdx similarity index 100% rename from website/pages/ar/about.mdx rename to website/src/pages/ar/about.mdx diff --git a/website/pages/ar/arbitrum/_meta.js b/website/src/pages/ar/arbitrum/_meta.js similarity index 100% rename from website/pages/ar/arbitrum/_meta.js rename to website/src/pages/ar/arbitrum/_meta.js diff --git a/website/pages/ar/arbitrum/arbitrum-faq.mdx b/website/src/pages/ar/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/ar/arbitrum/arbitrum-faq.mdx rename to website/src/pages/ar/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/ar/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/ar/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/ar/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/ar/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/ar/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/ar/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/ar/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/ar/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/ar/billing.mdx b/website/src/pages/ar/billing.mdx similarity index 100% rename from website/pages/ar/billing.mdx rename to website/src/pages/ar/billing.mdx diff --git a/website/pages/ar/chain-integration-overview.mdx b/website/src/pages/ar/chain-integration-overview.mdx similarity index 100% rename from website/pages/ar/chain-integration-overview.mdx rename to website/src/pages/ar/chain-integration-overview.mdx diff --git a/website/pages/ar/cookbook/_meta.js b/website/src/pages/ar/cookbook/_meta.js similarity index 100% rename from website/pages/ar/cookbook/_meta.js rename to website/src/pages/ar/cookbook/_meta.js diff --git a/website/pages/ar/cookbook/arweave.mdx b/website/src/pages/ar/cookbook/arweave.mdx similarity index 100% rename from website/pages/ar/cookbook/arweave.mdx rename to website/src/pages/ar/cookbook/arweave.mdx diff --git a/website/pages/ar/cookbook/base-testnet.mdx b/website/src/pages/ar/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/ar/cookbook/base-testnet.mdx rename to website/src/pages/ar/cookbook/base-testnet.mdx diff --git a/website/pages/ar/cookbook/cosmos.mdx b/website/src/pages/ar/cookbook/cosmos.mdx similarity index 100% rename from website/pages/ar/cookbook/cosmos.mdx rename to website/src/pages/ar/cookbook/cosmos.mdx diff --git a/website/pages/ar/cookbook/grafting.mdx b/website/src/pages/ar/cookbook/grafting.mdx similarity index 100% rename from website/pages/ar/cookbook/grafting.mdx rename to website/src/pages/ar/cookbook/grafting.mdx diff --git a/website/pages/ar/cookbook/near.mdx b/website/src/pages/ar/cookbook/near.mdx similarity index 100% rename from website/pages/ar/cookbook/near.mdx rename to website/src/pages/ar/cookbook/near.mdx diff --git a/website/pages/ar/cookbook/subgraph-debug-forking.mdx b/website/src/pages/ar/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/ar/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/ar/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/ar/cookbook/subgraph-uncrashable.mdx b/website/src/pages/ar/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/ar/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/ar/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/ar/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/ar/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/ar/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/ar/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/ar/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/ar/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/ar/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/ar/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/ar/deploying/_meta.js b/website/src/pages/ar/deploying/_meta.js similarity index 100% rename from website/pages/ar/deploying/_meta.js rename to website/src/pages/ar/deploying/_meta.js diff --git a/website/pages/ar/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/ar/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/ar/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/ar/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/ar/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/ar/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/ar/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/ar/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/ar/deploying/hosted-service.mdx b/website/src/pages/ar/deploying/hosted-service.mdx similarity index 100% rename from website/pages/ar/deploying/hosted-service.mdx rename to website/src/pages/ar/deploying/hosted-service.mdx diff --git a/website/pages/ar/deploying/subgraph-studio-faqs.mdx b/website/src/pages/ar/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/ar/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/ar/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/ar/deploying/subgraph-studio.mdx b/website/src/pages/ar/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/ar/deploying/subgraph-studio.mdx rename to website/src/pages/ar/deploying/subgraph-studio.mdx diff --git a/website/pages/ar/developing/_meta.js b/website/src/pages/ar/developing/_meta.js similarity index 100% rename from website/pages/ar/developing/_meta.js rename to website/src/pages/ar/developing/_meta.js diff --git a/website/pages/ar/developing/creating-a-subgraph.mdx b/website/src/pages/ar/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/ar/developing/creating-a-subgraph.mdx rename to website/src/pages/ar/developing/creating-a-subgraph.mdx diff --git a/website/pages/ar/developing/developer-faqs.mdx b/website/src/pages/ar/developing/developer-faqs.mdx similarity index 100% rename from website/pages/ar/developing/developer-faqs.mdx rename to website/src/pages/ar/developing/developer-faqs.mdx diff --git a/website/pages/ar/developing/graph-ts/api.mdx b/website/src/pages/ar/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/ar/developing/graph-ts/api.mdx rename to website/src/pages/ar/developing/graph-ts/api.mdx diff --git a/website/pages/ar/developing/graph-ts/common-issues.mdx b/website/src/pages/ar/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/ar/developing/graph-ts/common-issues.mdx rename to website/src/pages/ar/developing/graph-ts/common-issues.mdx diff --git a/website/pages/ar/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/ar/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/ar/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/ar/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/ar/developing/supported-networks.json b/website/src/pages/ar/developing/supported-networks.json similarity index 100% rename from website/pages/ar/developing/supported-networks.json rename to website/src/pages/ar/developing/supported-networks.json diff --git a/website/pages/ar/developing/supported-networks.mdx b/website/src/pages/ar/developing/supported-networks.mdx similarity index 100% rename from website/pages/ar/developing/supported-networks.mdx rename to website/src/pages/ar/developing/supported-networks.mdx diff --git a/website/pages/ar/developing/unit-testing-framework.mdx b/website/src/pages/ar/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/ar/developing/unit-testing-framework.mdx rename to website/src/pages/ar/developing/unit-testing-framework.mdx diff --git a/website/pages/ar/docsearch.json b/website/src/pages/ar/docsearch.json similarity index 100% rename from website/pages/ar/docsearch.json rename to website/src/pages/ar/docsearch.json diff --git a/website/pages/ar/firehose.mdx b/website/src/pages/ar/firehose.mdx similarity index 100% rename from website/pages/ar/firehose.mdx rename to website/src/pages/ar/firehose.mdx diff --git a/website/pages/ar/global.json b/website/src/pages/ar/global.json similarity index 90% rename from website/pages/ar/global.json rename to website/src/pages/ar/global.json index 8fca1ea1ceba..afefbe9c6ee5 100644 --- a/website/pages/ar/global.json +++ b/website/src/pages/ar/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "عفوا! هذه الصفحة ضاعت في الفضاء...", "notFoundSubtitle": "تحقق مما إذا كنت تستخدم العنوان الصحيح أو استكشف موقعنا على الويب من خلال النقر على الرابط أدناه.", "goHome": "الذهاب للرئيسية", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "البدء" + } } diff --git a/website/pages/ar/glossary.mdx b/website/src/pages/ar/glossary.mdx similarity index 100% rename from website/pages/ar/glossary.mdx rename to website/src/pages/ar/glossary.mdx diff --git a/website/pages/ar/graphcast.mdx b/website/src/pages/ar/graphcast.mdx similarity index 100% rename from website/pages/ar/graphcast.mdx rename to website/src/pages/ar/graphcast.mdx diff --git a/website/pages/ar/index.json b/website/src/pages/ar/index.json similarity index 99% rename from website/pages/ar/index.json rename to website/src/pages/ar/index.json index 358d7708f4e8..1af2d9be48f5 100644 --- a/website/pages/ar/index.json +++ b/website/src/pages/ar/index.json @@ -1,5 +1,4 @@ { - "title": "البدء", "intro": "تعرف على The Graph ، وهو بروتوكول لامركزي لفهرسة البيانات والاستعلام عنها من ال Blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/ar/managing/_meta.js b/website/src/pages/ar/managing/_meta.js similarity index 100% rename from website/pages/ar/managing/_meta.js rename to website/src/pages/ar/managing/_meta.js diff --git a/website/pages/ar/managing/deprecating-a-subgraph.mdx b/website/src/pages/ar/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/ar/managing/deprecating-a-subgraph.mdx rename to website/src/pages/ar/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/ar/managing/transferring-subgraph-ownership.mdx b/website/src/pages/ar/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/ar/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/ar/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/ar/mips-faqs.mdx b/website/src/pages/ar/mips-faqs.mdx similarity index 100% rename from website/pages/ar/mips-faqs.mdx rename to website/src/pages/ar/mips-faqs.mdx diff --git a/website/pages/ar/network/_meta.js b/website/src/pages/ar/network/_meta.js similarity index 100% rename from website/pages/ar/network/_meta.js rename to website/src/pages/ar/network/_meta.js diff --git a/website/pages/ar/network/benefits.mdx b/website/src/pages/ar/network/benefits.mdx similarity index 100% rename from website/pages/ar/network/benefits.mdx rename to website/src/pages/ar/network/benefits.mdx diff --git a/website/pages/ar/network/curating.mdx b/website/src/pages/ar/network/curating.mdx similarity index 100% rename from website/pages/ar/network/curating.mdx rename to website/src/pages/ar/network/curating.mdx diff --git a/website/pages/ar/network/delegating.mdx b/website/src/pages/ar/network/delegating.mdx similarity index 100% rename from website/pages/ar/network/delegating.mdx rename to website/src/pages/ar/network/delegating.mdx diff --git a/website/pages/ar/network/developing.mdx b/website/src/pages/ar/network/developing.mdx similarity index 100% rename from website/pages/ar/network/developing.mdx rename to website/src/pages/ar/network/developing.mdx diff --git a/website/pages/ar/network/explorer.mdx b/website/src/pages/ar/network/explorer.mdx similarity index 100% rename from website/pages/ar/network/explorer.mdx rename to website/src/pages/ar/network/explorer.mdx diff --git a/website/pages/ar/network/indexing.mdx b/website/src/pages/ar/network/indexing.mdx similarity index 100% rename from website/pages/ar/network/indexing.mdx rename to website/src/pages/ar/network/indexing.mdx diff --git a/website/pages/ar/network/overview.mdx b/website/src/pages/ar/network/overview.mdx similarity index 100% rename from website/pages/ar/network/overview.mdx rename to website/src/pages/ar/network/overview.mdx diff --git a/website/pages/ar/new-chain-integration.mdx b/website/src/pages/ar/new-chain-integration.mdx similarity index 100% rename from website/pages/ar/new-chain-integration.mdx rename to website/src/pages/ar/new-chain-integration.mdx diff --git a/website/pages/ar/operating-graph-node.mdx b/website/src/pages/ar/operating-graph-node.mdx similarity index 100% rename from website/pages/ar/operating-graph-node.mdx rename to website/src/pages/ar/operating-graph-node.mdx diff --git a/website/pages/ar/publishing/_meta.js b/website/src/pages/ar/publishing/_meta.js similarity index 100% rename from website/pages/ar/publishing/_meta.js rename to website/src/pages/ar/publishing/_meta.js diff --git a/website/pages/ar/publishing/publishing-a-subgraph.mdx b/website/src/pages/ar/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/ar/publishing/publishing-a-subgraph.mdx rename to website/src/pages/ar/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/ar/querying/_meta.js b/website/src/pages/ar/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/ar/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/ar/querying/distributed-systems.mdx b/website/src/pages/ar/querying/distributed-systems.mdx similarity index 100% rename from website/pages/ar/querying/distributed-systems.mdx rename to website/src/pages/ar/querying/distributed-systems.mdx diff --git a/website/pages/ar/querying/graphql-api.mdx b/website/src/pages/ar/querying/graphql-api.mdx similarity index 100% rename from website/pages/ar/querying/graphql-api.mdx rename to website/src/pages/ar/querying/graphql-api.mdx diff --git a/website/pages/ar/querying/managing-api-keys.mdx b/website/src/pages/ar/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/ar/querying/managing-api-keys.mdx rename to website/src/pages/ar/querying/managing-api-keys.mdx diff --git a/website/pages/ar/querying/querying-best-practices.mdx b/website/src/pages/ar/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/ar/querying/querying-best-practices.mdx rename to website/src/pages/ar/querying/querying-best-practices.mdx diff --git a/website/pages/ar/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/ar/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/ar/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/ar/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/ar/querying/querying-from-an-application.mdx b/website/src/pages/ar/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/ar/querying/querying-from-an-application.mdx rename to website/src/pages/ar/querying/querying-from-an-application.mdx diff --git a/website/pages/ar/querying/querying-the-graph.mdx b/website/src/pages/ar/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/ar/querying/querying-the-graph.mdx rename to website/src/pages/ar/querying/querying-the-graph.mdx diff --git a/website/pages/ar/querying/querying-with-python.mdx b/website/src/pages/ar/querying/querying-with-python.mdx similarity index 100% rename from website/pages/ar/querying/querying-with-python.mdx rename to website/src/pages/ar/querying/querying-with-python.mdx diff --git a/website/pages/ar/quick-start.mdx b/website/src/pages/ar/quick-start.mdx similarity index 100% rename from website/pages/ar/quick-start.mdx rename to website/src/pages/ar/quick-start.mdx diff --git a/website/pages/ar/release-notes/_meta.js b/website/src/pages/ar/release-notes/_meta.js similarity index 100% rename from website/pages/ar/release-notes/_meta.js rename to website/src/pages/ar/release-notes/_meta.js diff --git a/website/pages/ar/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/ar/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/ar/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/ar/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/ar/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/ar/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/ar/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/ar/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/ar/substreams.mdx b/website/src/pages/ar/substreams.mdx similarity index 100% rename from website/pages/ar/substreams.mdx rename to website/src/pages/ar/substreams.mdx diff --git a/website/pages/ar/sunrise.mdx b/website/src/pages/ar/sunrise.mdx similarity index 100% rename from website/pages/ar/sunrise.mdx rename to website/src/pages/ar/sunrise.mdx diff --git a/website/pages/ar/supported-network-requirements.mdx b/website/src/pages/ar/supported-network-requirements.mdx similarity index 100% rename from website/pages/ar/supported-network-requirements.mdx rename to website/src/pages/ar/supported-network-requirements.mdx diff --git a/website/pages/ar/tokenomics.mdx b/website/src/pages/ar/tokenomics.mdx similarity index 100% rename from website/pages/ar/tokenomics.mdx rename to website/src/pages/ar/tokenomics.mdx diff --git a/website/pages/ar/translations.ts b/website/src/pages/ar/translations.ts similarity index 100% rename from website/pages/ar/translations.ts rename to website/src/pages/ar/translations.ts diff --git a/website/pages/cs/about.mdx b/website/src/pages/cs/about.mdx similarity index 100% rename from website/pages/cs/about.mdx rename to website/src/pages/cs/about.mdx diff --git a/website/pages/cs/arbitrum/_meta.js b/website/src/pages/cs/arbitrum/_meta.js similarity index 100% rename from website/pages/cs/arbitrum/_meta.js rename to website/src/pages/cs/arbitrum/_meta.js diff --git a/website/pages/cs/arbitrum/arbitrum-faq.mdx b/website/src/pages/cs/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/cs/arbitrum/arbitrum-faq.mdx rename to website/src/pages/cs/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/cs/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/cs/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/cs/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/cs/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/cs/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/cs/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/cs/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/cs/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/cs/billing.mdx b/website/src/pages/cs/billing.mdx similarity index 100% rename from website/pages/cs/billing.mdx rename to website/src/pages/cs/billing.mdx diff --git a/website/pages/cs/chain-integration-overview.mdx b/website/src/pages/cs/chain-integration-overview.mdx similarity index 100% rename from website/pages/cs/chain-integration-overview.mdx rename to website/src/pages/cs/chain-integration-overview.mdx diff --git a/website/pages/cs/cookbook/_meta.js b/website/src/pages/cs/cookbook/_meta.js similarity index 100% rename from website/pages/cs/cookbook/_meta.js rename to website/src/pages/cs/cookbook/_meta.js diff --git a/website/pages/cs/cookbook/arweave.mdx b/website/src/pages/cs/cookbook/arweave.mdx similarity index 100% rename from website/pages/cs/cookbook/arweave.mdx rename to website/src/pages/cs/cookbook/arweave.mdx diff --git a/website/pages/cs/cookbook/base-testnet.mdx b/website/src/pages/cs/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/cs/cookbook/base-testnet.mdx rename to website/src/pages/cs/cookbook/base-testnet.mdx diff --git a/website/pages/cs/cookbook/cosmos.mdx b/website/src/pages/cs/cookbook/cosmos.mdx similarity index 100% rename from website/pages/cs/cookbook/cosmos.mdx rename to website/src/pages/cs/cookbook/cosmos.mdx diff --git a/website/pages/cs/cookbook/grafting.mdx b/website/src/pages/cs/cookbook/grafting.mdx similarity index 100% rename from website/pages/cs/cookbook/grafting.mdx rename to website/src/pages/cs/cookbook/grafting.mdx diff --git a/website/pages/cs/cookbook/near.mdx b/website/src/pages/cs/cookbook/near.mdx similarity index 100% rename from website/pages/cs/cookbook/near.mdx rename to website/src/pages/cs/cookbook/near.mdx diff --git a/website/pages/cs/cookbook/subgraph-debug-forking.mdx b/website/src/pages/cs/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/cs/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/cs/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/cs/cookbook/subgraph-uncrashable.mdx b/website/src/pages/cs/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/cs/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/cs/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/cs/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/cs/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/cs/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/cs/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/cs/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/cs/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/cs/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/cs/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/cs/deploying/_meta.js b/website/src/pages/cs/deploying/_meta.js similarity index 100% rename from website/pages/cs/deploying/_meta.js rename to website/src/pages/cs/deploying/_meta.js diff --git a/website/pages/cs/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/cs/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/cs/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/cs/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/cs/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/cs/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/cs/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/cs/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/cs/deploying/hosted-service.mdx b/website/src/pages/cs/deploying/hosted-service.mdx similarity index 100% rename from website/pages/cs/deploying/hosted-service.mdx rename to website/src/pages/cs/deploying/hosted-service.mdx diff --git a/website/pages/cs/deploying/subgraph-studio-faqs.mdx b/website/src/pages/cs/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/cs/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/cs/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/cs/deploying/subgraph-studio.mdx b/website/src/pages/cs/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/cs/deploying/subgraph-studio.mdx rename to website/src/pages/cs/deploying/subgraph-studio.mdx diff --git a/website/pages/cs/developing/_meta.js b/website/src/pages/cs/developing/_meta.js similarity index 100% rename from website/pages/cs/developing/_meta.js rename to website/src/pages/cs/developing/_meta.js diff --git a/website/pages/cs/developing/creating-a-subgraph.mdx b/website/src/pages/cs/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/cs/developing/creating-a-subgraph.mdx rename to website/src/pages/cs/developing/creating-a-subgraph.mdx diff --git a/website/pages/cs/developing/developer-faqs.mdx b/website/src/pages/cs/developing/developer-faqs.mdx similarity index 100% rename from website/pages/cs/developing/developer-faqs.mdx rename to website/src/pages/cs/developing/developer-faqs.mdx diff --git a/website/pages/cs/developing/graph-ts/api.mdx b/website/src/pages/cs/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/cs/developing/graph-ts/api.mdx rename to website/src/pages/cs/developing/graph-ts/api.mdx diff --git a/website/pages/cs/developing/graph-ts/common-issues.mdx b/website/src/pages/cs/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/cs/developing/graph-ts/common-issues.mdx rename to website/src/pages/cs/developing/graph-ts/common-issues.mdx diff --git a/website/pages/cs/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/cs/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/cs/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/cs/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/cs/developing/supported-networks.json b/website/src/pages/cs/developing/supported-networks.json similarity index 100% rename from website/pages/cs/developing/supported-networks.json rename to website/src/pages/cs/developing/supported-networks.json diff --git a/website/pages/cs/developing/supported-networks.mdx b/website/src/pages/cs/developing/supported-networks.mdx similarity index 100% rename from website/pages/cs/developing/supported-networks.mdx rename to website/src/pages/cs/developing/supported-networks.mdx diff --git a/website/pages/cs/developing/unit-testing-framework.mdx b/website/src/pages/cs/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/cs/developing/unit-testing-framework.mdx rename to website/src/pages/cs/developing/unit-testing-framework.mdx diff --git a/website/pages/cs/docsearch.json b/website/src/pages/cs/docsearch.json similarity index 100% rename from website/pages/cs/docsearch.json rename to website/src/pages/cs/docsearch.json diff --git a/website/pages/cs/firehose.mdx b/website/src/pages/cs/firehose.mdx similarity index 100% rename from website/pages/cs/firehose.mdx rename to website/src/pages/cs/firehose.mdx diff --git a/website/pages/ha/global.json b/website/src/pages/cs/global.json similarity index 87% rename from website/pages/ha/global.json rename to website/src/pages/cs/global.json index 6a3eb234bfce..6473688b0833 100644 --- a/website/pages/ha/global.json +++ b/website/src/pages/cs/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Oops! This page was lost in space...", "notFoundSubtitle": "Check if you’re using the right address or explore our website by clicking on the link below.", "goHome": "Go Home", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Začněte" + } } diff --git a/website/pages/cs/glossary.mdx b/website/src/pages/cs/glossary.mdx similarity index 100% rename from website/pages/cs/glossary.mdx rename to website/src/pages/cs/glossary.mdx diff --git a/website/pages/cs/graphcast.mdx b/website/src/pages/cs/graphcast.mdx similarity index 100% rename from website/pages/cs/graphcast.mdx rename to website/src/pages/cs/graphcast.mdx diff --git a/website/pages/cs/index.json b/website/src/pages/cs/index.json similarity index 99% rename from website/pages/cs/index.json rename to website/src/pages/cs/index.json index 2aadf3cd8b80..cb2552eccde9 100644 --- a/website/pages/cs/index.json +++ b/website/src/pages/cs/index.json @@ -1,5 +1,4 @@ { - "title": "Začněte", "intro": "Seznamte se s Grafu, decentralizovaným protokolem pro indexování a dotazování dat z blockchainů.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/cs/managing/_meta.js b/website/src/pages/cs/managing/_meta.js similarity index 100% rename from website/pages/cs/managing/_meta.js rename to website/src/pages/cs/managing/_meta.js diff --git a/website/pages/cs/managing/deprecating-a-subgraph.mdx b/website/src/pages/cs/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/cs/managing/deprecating-a-subgraph.mdx rename to website/src/pages/cs/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/cs/managing/transferring-subgraph-ownership.mdx b/website/src/pages/cs/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/cs/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/cs/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/cs/mips-faqs.mdx b/website/src/pages/cs/mips-faqs.mdx similarity index 100% rename from website/pages/cs/mips-faqs.mdx rename to website/src/pages/cs/mips-faqs.mdx diff --git a/website/pages/cs/network/_meta.js b/website/src/pages/cs/network/_meta.js similarity index 100% rename from website/pages/cs/network/_meta.js rename to website/src/pages/cs/network/_meta.js diff --git a/website/pages/cs/network/benefits.mdx b/website/src/pages/cs/network/benefits.mdx similarity index 100% rename from website/pages/cs/network/benefits.mdx rename to website/src/pages/cs/network/benefits.mdx diff --git a/website/pages/cs/network/curating.mdx b/website/src/pages/cs/network/curating.mdx similarity index 100% rename from website/pages/cs/network/curating.mdx rename to website/src/pages/cs/network/curating.mdx diff --git a/website/pages/cs/network/delegating.mdx b/website/src/pages/cs/network/delegating.mdx similarity index 100% rename from website/pages/cs/network/delegating.mdx rename to website/src/pages/cs/network/delegating.mdx diff --git a/website/pages/cs/network/developing.mdx b/website/src/pages/cs/network/developing.mdx similarity index 100% rename from website/pages/cs/network/developing.mdx rename to website/src/pages/cs/network/developing.mdx diff --git a/website/pages/cs/network/explorer.mdx b/website/src/pages/cs/network/explorer.mdx similarity index 100% rename from website/pages/cs/network/explorer.mdx rename to website/src/pages/cs/network/explorer.mdx diff --git a/website/pages/cs/network/indexing.mdx b/website/src/pages/cs/network/indexing.mdx similarity index 100% rename from website/pages/cs/network/indexing.mdx rename to website/src/pages/cs/network/indexing.mdx diff --git a/website/pages/cs/network/overview.mdx b/website/src/pages/cs/network/overview.mdx similarity index 100% rename from website/pages/cs/network/overview.mdx rename to website/src/pages/cs/network/overview.mdx diff --git a/website/pages/cs/new-chain-integration.mdx b/website/src/pages/cs/new-chain-integration.mdx similarity index 100% rename from website/pages/cs/new-chain-integration.mdx rename to website/src/pages/cs/new-chain-integration.mdx diff --git a/website/pages/cs/operating-graph-node.mdx b/website/src/pages/cs/operating-graph-node.mdx similarity index 100% rename from website/pages/cs/operating-graph-node.mdx rename to website/src/pages/cs/operating-graph-node.mdx diff --git a/website/pages/cs/publishing/_meta.js b/website/src/pages/cs/publishing/_meta.js similarity index 100% rename from website/pages/cs/publishing/_meta.js rename to website/src/pages/cs/publishing/_meta.js diff --git a/website/pages/cs/publishing/publishing-a-subgraph.mdx b/website/src/pages/cs/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/cs/publishing/publishing-a-subgraph.mdx rename to website/src/pages/cs/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/cs/querying/_meta.js b/website/src/pages/cs/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/cs/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/cs/querying/distributed-systems.mdx b/website/src/pages/cs/querying/distributed-systems.mdx similarity index 100% rename from website/pages/cs/querying/distributed-systems.mdx rename to website/src/pages/cs/querying/distributed-systems.mdx diff --git a/website/pages/cs/querying/graphql-api.mdx b/website/src/pages/cs/querying/graphql-api.mdx similarity index 100% rename from website/pages/cs/querying/graphql-api.mdx rename to website/src/pages/cs/querying/graphql-api.mdx diff --git a/website/pages/cs/querying/managing-api-keys.mdx b/website/src/pages/cs/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/cs/querying/managing-api-keys.mdx rename to website/src/pages/cs/querying/managing-api-keys.mdx diff --git a/website/pages/cs/querying/querying-best-practices.mdx b/website/src/pages/cs/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/cs/querying/querying-best-practices.mdx rename to website/src/pages/cs/querying/querying-best-practices.mdx diff --git a/website/pages/cs/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/cs/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/cs/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/cs/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/cs/querying/querying-from-an-application.mdx b/website/src/pages/cs/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/cs/querying/querying-from-an-application.mdx rename to website/src/pages/cs/querying/querying-from-an-application.mdx diff --git a/website/pages/cs/querying/querying-the-graph.mdx b/website/src/pages/cs/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/cs/querying/querying-the-graph.mdx rename to website/src/pages/cs/querying/querying-the-graph.mdx diff --git a/website/pages/cs/querying/querying-with-python.mdx b/website/src/pages/cs/querying/querying-with-python.mdx similarity index 100% rename from website/pages/cs/querying/querying-with-python.mdx rename to website/src/pages/cs/querying/querying-with-python.mdx diff --git a/website/pages/cs/quick-start.mdx b/website/src/pages/cs/quick-start.mdx similarity index 100% rename from website/pages/cs/quick-start.mdx rename to website/src/pages/cs/quick-start.mdx diff --git a/website/pages/cs/release-notes/_meta.js b/website/src/pages/cs/release-notes/_meta.js similarity index 100% rename from website/pages/cs/release-notes/_meta.js rename to website/src/pages/cs/release-notes/_meta.js diff --git a/website/pages/cs/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/cs/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/cs/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/cs/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/cs/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/cs/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/cs/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/cs/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/cs/substreams.mdx b/website/src/pages/cs/substreams.mdx similarity index 100% rename from website/pages/cs/substreams.mdx rename to website/src/pages/cs/substreams.mdx diff --git a/website/pages/cs/sunrise.mdx b/website/src/pages/cs/sunrise.mdx similarity index 100% rename from website/pages/cs/sunrise.mdx rename to website/src/pages/cs/sunrise.mdx diff --git a/website/pages/cs/supported-network-requirements.mdx b/website/src/pages/cs/supported-network-requirements.mdx similarity index 100% rename from website/pages/cs/supported-network-requirements.mdx rename to website/src/pages/cs/supported-network-requirements.mdx diff --git a/website/pages/cs/tokenomics.mdx b/website/src/pages/cs/tokenomics.mdx similarity index 100% rename from website/pages/cs/tokenomics.mdx rename to website/src/pages/cs/tokenomics.mdx diff --git a/website/pages/cs/translations.ts b/website/src/pages/cs/translations.ts similarity index 100% rename from website/pages/cs/translations.ts rename to website/src/pages/cs/translations.ts diff --git a/website/pages/de/about.mdx b/website/src/pages/de/about.mdx similarity index 100% rename from website/pages/de/about.mdx rename to website/src/pages/de/about.mdx diff --git a/website/pages/de/arbitrum/_meta.js b/website/src/pages/de/arbitrum/_meta.js similarity index 100% rename from website/pages/de/arbitrum/_meta.js rename to website/src/pages/de/arbitrum/_meta.js diff --git a/website/pages/de/arbitrum/arbitrum-faq.mdx b/website/src/pages/de/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/de/arbitrum/arbitrum-faq.mdx rename to website/src/pages/de/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/de/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/de/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/de/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/de/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/de/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/de/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/de/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/de/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/de/billing.mdx b/website/src/pages/de/billing.mdx similarity index 100% rename from website/pages/de/billing.mdx rename to website/src/pages/de/billing.mdx diff --git a/website/pages/de/chain-integration-overview.mdx b/website/src/pages/de/chain-integration-overview.mdx similarity index 100% rename from website/pages/de/chain-integration-overview.mdx rename to website/src/pages/de/chain-integration-overview.mdx diff --git a/website/pages/de/cookbook/_meta.js b/website/src/pages/de/cookbook/_meta.js similarity index 100% rename from website/pages/de/cookbook/_meta.js rename to website/src/pages/de/cookbook/_meta.js diff --git a/website/pages/de/cookbook/arweave.mdx b/website/src/pages/de/cookbook/arweave.mdx similarity index 100% rename from website/pages/de/cookbook/arweave.mdx rename to website/src/pages/de/cookbook/arweave.mdx diff --git a/website/pages/de/cookbook/base-testnet.mdx b/website/src/pages/de/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/de/cookbook/base-testnet.mdx rename to website/src/pages/de/cookbook/base-testnet.mdx diff --git a/website/pages/de/cookbook/cosmos.mdx b/website/src/pages/de/cookbook/cosmos.mdx similarity index 100% rename from website/pages/de/cookbook/cosmos.mdx rename to website/src/pages/de/cookbook/cosmos.mdx diff --git a/website/pages/de/cookbook/grafting.mdx b/website/src/pages/de/cookbook/grafting.mdx similarity index 100% rename from website/pages/de/cookbook/grafting.mdx rename to website/src/pages/de/cookbook/grafting.mdx diff --git a/website/pages/de/cookbook/near.mdx b/website/src/pages/de/cookbook/near.mdx similarity index 100% rename from website/pages/de/cookbook/near.mdx rename to website/src/pages/de/cookbook/near.mdx diff --git a/website/pages/de/cookbook/subgraph-debug-forking.mdx b/website/src/pages/de/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/de/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/de/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/de/cookbook/subgraph-uncrashable.mdx b/website/src/pages/de/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/de/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/de/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/de/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/de/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/de/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/de/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/de/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/de/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/de/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/de/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/de/deploying/_meta.js b/website/src/pages/de/deploying/_meta.js similarity index 100% rename from website/pages/de/deploying/_meta.js rename to website/src/pages/de/deploying/_meta.js diff --git a/website/pages/de/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/de/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/de/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/de/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/de/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/de/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/de/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/de/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/de/deploying/hosted-service.mdx b/website/src/pages/de/deploying/hosted-service.mdx similarity index 100% rename from website/pages/de/deploying/hosted-service.mdx rename to website/src/pages/de/deploying/hosted-service.mdx diff --git a/website/pages/de/deploying/subgraph-studio-faqs.mdx b/website/src/pages/de/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/de/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/de/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/de/deploying/subgraph-studio.mdx b/website/src/pages/de/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/de/deploying/subgraph-studio.mdx rename to website/src/pages/de/deploying/subgraph-studio.mdx diff --git a/website/pages/de/developing/_meta.js b/website/src/pages/de/developing/_meta.js similarity index 100% rename from website/pages/de/developing/_meta.js rename to website/src/pages/de/developing/_meta.js diff --git a/website/pages/de/developing/creating-a-subgraph.mdx b/website/src/pages/de/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/de/developing/creating-a-subgraph.mdx rename to website/src/pages/de/developing/creating-a-subgraph.mdx diff --git a/website/pages/de/developing/developer-faqs.mdx b/website/src/pages/de/developing/developer-faqs.mdx similarity index 100% rename from website/pages/de/developing/developer-faqs.mdx rename to website/src/pages/de/developing/developer-faqs.mdx diff --git a/website/pages/de/developing/graph-ts/api.mdx b/website/src/pages/de/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/de/developing/graph-ts/api.mdx rename to website/src/pages/de/developing/graph-ts/api.mdx diff --git a/website/pages/de/developing/graph-ts/common-issues.mdx b/website/src/pages/de/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/de/developing/graph-ts/common-issues.mdx rename to website/src/pages/de/developing/graph-ts/common-issues.mdx diff --git a/website/pages/de/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/de/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/de/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/de/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/de/developing/supported-networks.json b/website/src/pages/de/developing/supported-networks.json similarity index 100% rename from website/pages/de/developing/supported-networks.json rename to website/src/pages/de/developing/supported-networks.json diff --git a/website/pages/de/developing/supported-networks.mdx b/website/src/pages/de/developing/supported-networks.mdx similarity index 100% rename from website/pages/de/developing/supported-networks.mdx rename to website/src/pages/de/developing/supported-networks.mdx diff --git a/website/pages/de/developing/unit-testing-framework.mdx b/website/src/pages/de/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/de/developing/unit-testing-framework.mdx rename to website/src/pages/de/developing/unit-testing-framework.mdx diff --git a/website/pages/de/docsearch.json b/website/src/pages/de/docsearch.json similarity index 100% rename from website/pages/de/docsearch.json rename to website/src/pages/de/docsearch.json diff --git a/website/pages/de/firehose.mdx b/website/src/pages/de/firehose.mdx similarity index 100% rename from website/pages/de/firehose.mdx rename to website/src/pages/de/firehose.mdx diff --git a/website/pages/de/global.json b/website/src/pages/de/global.json similarity index 89% rename from website/pages/de/global.json rename to website/src/pages/de/global.json index bf08c67e0543..8f60a5a9c5ce 100644 --- a/website/pages/de/global.json +++ b/website/src/pages/de/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Ups! Diese Seite ging im Weltraum verloren...", "notFoundSubtitle": "Überprüfen Sie, ob Sie die richtige Adresse verwenden, oder besuchen Sie unsere Website, indem Sie auf den unten stehenden Link klicken.", "goHome": "Zurück zur Startseite", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Get Started" + } } diff --git a/website/pages/de/glossary.mdx b/website/src/pages/de/glossary.mdx similarity index 100% rename from website/pages/de/glossary.mdx rename to website/src/pages/de/glossary.mdx diff --git a/website/pages/de/graphcast.mdx b/website/src/pages/de/graphcast.mdx similarity index 100% rename from website/pages/de/graphcast.mdx rename to website/src/pages/de/graphcast.mdx diff --git a/website/pages/de/index.json b/website/src/pages/de/index.json similarity index 98% rename from website/pages/de/index.json rename to website/src/pages/de/index.json index 2526bc347927..1ee37578cd4c 100644 --- a/website/pages/de/index.json +++ b/website/src/pages/de/index.json @@ -1,5 +1,4 @@ { - "title": "Get Started", "intro": "Learn about The Graph, a decentralized protocol for indexing and querying data from blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/de/managing/_meta.js b/website/src/pages/de/managing/_meta.js similarity index 100% rename from website/pages/de/managing/_meta.js rename to website/src/pages/de/managing/_meta.js diff --git a/website/pages/de/managing/deprecating-a-subgraph.mdx b/website/src/pages/de/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/de/managing/deprecating-a-subgraph.mdx rename to website/src/pages/de/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/de/managing/transferring-subgraph-ownership.mdx b/website/src/pages/de/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/de/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/de/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/de/mips-faqs.mdx b/website/src/pages/de/mips-faqs.mdx similarity index 100% rename from website/pages/de/mips-faqs.mdx rename to website/src/pages/de/mips-faqs.mdx diff --git a/website/pages/de/network/_meta.js b/website/src/pages/de/network/_meta.js similarity index 100% rename from website/pages/de/network/_meta.js rename to website/src/pages/de/network/_meta.js diff --git a/website/pages/de/network/benefits.mdx b/website/src/pages/de/network/benefits.mdx similarity index 100% rename from website/pages/de/network/benefits.mdx rename to website/src/pages/de/network/benefits.mdx diff --git a/website/pages/de/network/curating.mdx b/website/src/pages/de/network/curating.mdx similarity index 100% rename from website/pages/de/network/curating.mdx rename to website/src/pages/de/network/curating.mdx diff --git a/website/pages/de/network/delegating.mdx b/website/src/pages/de/network/delegating.mdx similarity index 100% rename from website/pages/de/network/delegating.mdx rename to website/src/pages/de/network/delegating.mdx diff --git a/website/pages/de/network/developing.mdx b/website/src/pages/de/network/developing.mdx similarity index 100% rename from website/pages/de/network/developing.mdx rename to website/src/pages/de/network/developing.mdx diff --git a/website/pages/de/network/explorer.mdx b/website/src/pages/de/network/explorer.mdx similarity index 100% rename from website/pages/de/network/explorer.mdx rename to website/src/pages/de/network/explorer.mdx diff --git a/website/pages/de/network/indexing.mdx b/website/src/pages/de/network/indexing.mdx similarity index 100% rename from website/pages/de/network/indexing.mdx rename to website/src/pages/de/network/indexing.mdx diff --git a/website/pages/de/network/overview.mdx b/website/src/pages/de/network/overview.mdx similarity index 100% rename from website/pages/de/network/overview.mdx rename to website/src/pages/de/network/overview.mdx diff --git a/website/pages/de/new-chain-integration.mdx b/website/src/pages/de/new-chain-integration.mdx similarity index 100% rename from website/pages/de/new-chain-integration.mdx rename to website/src/pages/de/new-chain-integration.mdx diff --git a/website/pages/de/operating-graph-node.mdx b/website/src/pages/de/operating-graph-node.mdx similarity index 100% rename from website/pages/de/operating-graph-node.mdx rename to website/src/pages/de/operating-graph-node.mdx diff --git a/website/pages/de/publishing/_meta.js b/website/src/pages/de/publishing/_meta.js similarity index 100% rename from website/pages/de/publishing/_meta.js rename to website/src/pages/de/publishing/_meta.js diff --git a/website/pages/de/publishing/publishing-a-subgraph.mdx b/website/src/pages/de/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/de/publishing/publishing-a-subgraph.mdx rename to website/src/pages/de/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/de/querying/_meta.js b/website/src/pages/de/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/de/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/de/querying/distributed-systems.mdx b/website/src/pages/de/querying/distributed-systems.mdx similarity index 100% rename from website/pages/de/querying/distributed-systems.mdx rename to website/src/pages/de/querying/distributed-systems.mdx diff --git a/website/pages/de/querying/graphql-api.mdx b/website/src/pages/de/querying/graphql-api.mdx similarity index 100% rename from website/pages/de/querying/graphql-api.mdx rename to website/src/pages/de/querying/graphql-api.mdx diff --git a/website/pages/de/querying/managing-api-keys.mdx b/website/src/pages/de/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/de/querying/managing-api-keys.mdx rename to website/src/pages/de/querying/managing-api-keys.mdx diff --git a/website/pages/de/querying/querying-best-practices.mdx b/website/src/pages/de/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/de/querying/querying-best-practices.mdx rename to website/src/pages/de/querying/querying-best-practices.mdx diff --git a/website/pages/de/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/de/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/de/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/de/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/de/querying/querying-from-an-application.mdx b/website/src/pages/de/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/de/querying/querying-from-an-application.mdx rename to website/src/pages/de/querying/querying-from-an-application.mdx diff --git a/website/pages/de/querying/querying-the-graph.mdx b/website/src/pages/de/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/de/querying/querying-the-graph.mdx rename to website/src/pages/de/querying/querying-the-graph.mdx diff --git a/website/pages/de/querying/querying-with-python.mdx b/website/src/pages/de/querying/querying-with-python.mdx similarity index 100% rename from website/pages/de/querying/querying-with-python.mdx rename to website/src/pages/de/querying/querying-with-python.mdx diff --git a/website/pages/de/quick-start.mdx b/website/src/pages/de/quick-start.mdx similarity index 100% rename from website/pages/de/quick-start.mdx rename to website/src/pages/de/quick-start.mdx diff --git a/website/pages/de/release-notes/_meta.js b/website/src/pages/de/release-notes/_meta.js similarity index 100% rename from website/pages/de/release-notes/_meta.js rename to website/src/pages/de/release-notes/_meta.js diff --git a/website/pages/de/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/de/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/de/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/de/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/de/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/de/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/de/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/de/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/de/substreams.mdx b/website/src/pages/de/substreams.mdx similarity index 100% rename from website/pages/de/substreams.mdx rename to website/src/pages/de/substreams.mdx diff --git a/website/pages/de/sunrise.mdx b/website/src/pages/de/sunrise.mdx similarity index 100% rename from website/pages/de/sunrise.mdx rename to website/src/pages/de/sunrise.mdx diff --git a/website/pages/de/supported-network-requirements.mdx b/website/src/pages/de/supported-network-requirements.mdx similarity index 100% rename from website/pages/de/supported-network-requirements.mdx rename to website/src/pages/de/supported-network-requirements.mdx diff --git a/website/pages/de/tokenomics.mdx b/website/src/pages/de/tokenomics.mdx similarity index 100% rename from website/pages/de/tokenomics.mdx rename to website/src/pages/de/tokenomics.mdx diff --git a/website/pages/de/translations.ts b/website/src/pages/de/translations.ts similarity index 100% rename from website/pages/de/translations.ts rename to website/src/pages/de/translations.ts diff --git a/website/pages/en/about.mdx b/website/src/pages/en/about.mdx similarity index 100% rename from website/pages/en/about.mdx rename to website/src/pages/en/about.mdx diff --git a/website/pages/en/arbitrum/_meta.js b/website/src/pages/en/arbitrum/_meta.js similarity index 100% rename from website/pages/en/arbitrum/_meta.js rename to website/src/pages/en/arbitrum/_meta.js diff --git a/website/pages/en/arbitrum/arbitrum-faq.mdx b/website/src/pages/en/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/en/arbitrum/arbitrum-faq.mdx rename to website/src/pages/en/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/en/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/en/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/en/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/en/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/en/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/en/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/en/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/en/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/en/billing.mdx b/website/src/pages/en/billing.mdx similarity index 100% rename from website/pages/en/billing.mdx rename to website/src/pages/en/billing.mdx diff --git a/website/pages/en/chain-integration-overview.mdx b/website/src/pages/en/chain-integration-overview.mdx similarity index 100% rename from website/pages/en/chain-integration-overview.mdx rename to website/src/pages/en/chain-integration-overview.mdx diff --git a/website/src/pages/en/cookbook/_meta.js b/website/src/pages/en/cookbook/_meta.js new file mode 100644 index 000000000000..fb5652c30a45 --- /dev/null +++ b/website/src/pages/en/cookbook/_meta.js @@ -0,0 +1,15 @@ +export default { + 'base-testnet': '', + 'upgrading-a-subgraph': '', + 'subgraph-debug-forking': '', + near: '', + cosmos: '', + arweave: '', + grafting: '', + 'subgraph-uncrashable': '', + 'substreams-powered-subgraphs': '', + pruning: '', + derivedfrom: '', + 'immutable-entities-bytes-as-ids': '', + 'avoid-eth-calls': '', +} diff --git a/website/pages/en/cookbook/arweave.mdx b/website/src/pages/en/cookbook/arweave.mdx similarity index 100% rename from website/pages/en/cookbook/arweave.mdx rename to website/src/pages/en/cookbook/arweave.mdx diff --git a/website/pages/en/cookbook/avoid-eth-calls.mdx b/website/src/pages/en/cookbook/avoid-eth-calls.mdx similarity index 98% rename from website/pages/en/cookbook/avoid-eth-calls.mdx rename to website/src/pages/en/cookbook/avoid-eth-calls.mdx index 446b0e8ecd17..cadb80483721 100644 --- a/website/pages/en/cookbook/avoid-eth-calls.mdx +++ b/website/src/pages/en/cookbook/avoid-eth-calls.mdx @@ -1,5 +1,6 @@ --- title: Subgraph Best Practice 4 - Improve Indexing Speed by Avoiding eth_calls +sidebarTitle: 'Subgraph Best Practice 4: Avoid eth_calls' --- ## TLDR diff --git a/website/pages/en/cookbook/base-testnet.mdx b/website/src/pages/en/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/en/cookbook/base-testnet.mdx rename to website/src/pages/en/cookbook/base-testnet.mdx diff --git a/website/pages/en/cookbook/cosmos.mdx b/website/src/pages/en/cookbook/cosmos.mdx similarity index 100% rename from website/pages/en/cookbook/cosmos.mdx rename to website/src/pages/en/cookbook/cosmos.mdx diff --git a/website/pages/en/cookbook/derivedfrom.mdx b/website/src/pages/en/cookbook/derivedfrom.mdx similarity index 97% rename from website/pages/en/cookbook/derivedfrom.mdx rename to website/src/pages/en/cookbook/derivedfrom.mdx index 9eed89704b60..b6ea60c50cfc 100644 --- a/website/pages/en/cookbook/derivedfrom.mdx +++ b/website/src/pages/en/cookbook/derivedfrom.mdx @@ -1,5 +1,6 @@ --- title: Subgraph Best Practice 2 - Improve Indexing and Query Responsiveness By Using @derivedFrom +sidebarTitle: 'Subgraph Best Practice 2: Manage Arrays with @derivedFrom' --- ## TLDR diff --git a/website/pages/en/cookbook/grafting.mdx b/website/src/pages/en/cookbook/grafting.mdx similarity index 100% rename from website/pages/en/cookbook/grafting.mdx rename to website/src/pages/en/cookbook/grafting.mdx diff --git a/website/pages/en/cookbook/how-to-secure-api-keys-using-nextjs-server-components.mdx b/website/src/pages/en/cookbook/how-to-secure-api-keys-using-nextjs-server-components.mdx similarity index 100% rename from website/pages/en/cookbook/how-to-secure-api-keys-using-nextjs-server-components.mdx rename to website/src/pages/en/cookbook/how-to-secure-api-keys-using-nextjs-server-components.mdx diff --git a/website/pages/en/cookbook/immutable-entities-bytes-as-ids.mdx b/website/src/pages/en/cookbook/immutable-entities-bytes-as-ids.mdx similarity index 98% rename from website/pages/en/cookbook/immutable-entities-bytes-as-ids.mdx rename to website/src/pages/en/cookbook/immutable-entities-bytes-as-ids.mdx index f38c33385604..c0f557ca48c6 100644 --- a/website/pages/en/cookbook/immutable-entities-bytes-as-ids.mdx +++ b/website/src/pages/en/cookbook/immutable-entities-bytes-as-ids.mdx @@ -1,5 +1,6 @@ --- title: Subgraph Best Practice 3 - Improve Indexing and Query Performance by Using Immutable Entities and Bytes as IDs +sidebarTitle: 'Subgraph Best Practice 3: Using Immutable Entities and Bytes as IDs' --- ## TLDR diff --git a/website/pages/en/cookbook/near.mdx b/website/src/pages/en/cookbook/near.mdx similarity index 100% rename from website/pages/en/cookbook/near.mdx rename to website/src/pages/en/cookbook/near.mdx diff --git a/website/pages/en/cookbook/pruning.mdx b/website/src/pages/en/cookbook/pruning.mdx similarity index 97% rename from website/pages/en/cookbook/pruning.mdx rename to website/src/pages/en/cookbook/pruning.mdx index f22a2899f1de..9b06a176cec5 100644 --- a/website/pages/en/cookbook/pruning.mdx +++ b/website/src/pages/en/cookbook/pruning.mdx @@ -1,5 +1,6 @@ --- title: Subgraph Best Practice 1 - Improve Query Speed with Subgraph Pruning +sidebarTitle: 'Subgraph Best Practice 1: Pruning with indexerHints' --- ## TLDR diff --git a/website/pages/en/cookbook/subgraph-debug-forking.mdx b/website/src/pages/en/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/en/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/en/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/en/cookbook/subgraph-uncrashable.mdx b/website/src/pages/en/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/en/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/en/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/en/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/en/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/en/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/en/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/en/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/en/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/en/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/en/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/en/deploying/_meta.js b/website/src/pages/en/deploying/_meta.js similarity index 100% rename from website/pages/en/deploying/_meta.js rename to website/src/pages/en/deploying/_meta.js diff --git a/website/pages/en/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/en/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/en/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/en/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/en/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/en/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/en/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/en/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/en/deploying/hosted-service.mdx b/website/src/pages/en/deploying/hosted-service.mdx similarity index 100% rename from website/pages/en/deploying/hosted-service.mdx rename to website/src/pages/en/deploying/hosted-service.mdx diff --git a/website/pages/en/deploying/subgraph-studio-faqs.mdx b/website/src/pages/en/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/en/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/en/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/en/deploying/subgraph-studio.mdx b/website/src/pages/en/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/en/deploying/subgraph-studio.mdx rename to website/src/pages/en/deploying/subgraph-studio.mdx diff --git a/website/pages/en/developing/_meta.js b/website/src/pages/en/developing/_meta.js similarity index 100% rename from website/pages/en/developing/_meta.js rename to website/src/pages/en/developing/_meta.js diff --git a/website/pages/en/developing/creating-a-subgraph.mdx b/website/src/pages/en/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/en/developing/creating-a-subgraph.mdx rename to website/src/pages/en/developing/creating-a-subgraph.mdx diff --git a/website/pages/en/developing/developer-faqs.mdx b/website/src/pages/en/developing/developer-faqs.mdx similarity index 100% rename from website/pages/en/developing/developer-faqs.mdx rename to website/src/pages/en/developing/developer-faqs.mdx diff --git a/website/src/pages/en/developing/graph-ts/CHANGELOG.md b/website/src/pages/en/developing/graph-ts/CHANGELOG.md new file mode 100644 index 000000000000..1b11f2a61329 --- /dev/null +++ b/website/src/pages/en/developing/graph-ts/CHANGELOG.md @@ -0,0 +1,84 @@ +# @graphprotocol/graph-ts + +## 0.35.1 + +### Patch Changes + +- [#1637](https://github.com/graphprotocol/graph-tooling/pull/1637) + [`f0c583f`](https://github.com/graphprotocol/graph-tooling/commit/f0c583f00c90e917d87b707b5b7a892ad0da916f) + Thanks [@incrypto32](https://github.com/incrypto32)! - Update return type for ethereum.hasCode + +## 0.35.0 + +### Minor Changes + +- [#1609](https://github.com/graphprotocol/graph-tooling/pull/1609) + [`e299f6c`](https://github.com/graphprotocol/graph-tooling/commit/e299f6ce5cf1ad74cab993f6df3feb7ca9993254) + Thanks [@incrypto32](https://github.com/incrypto32)! - Add support for eth.hasCode method + +## 0.34.0 + +### Minor Changes + +- [#1522](https://github.com/graphprotocol/graph-tooling/pull/1522) + [`d132f9c`](https://github.com/graphprotocol/graph-tooling/commit/d132f9c9f6ea5283e40a8d913f3abefe5a8ad5f8) + Thanks [@dotansimha](https://github.com/dotansimha)! - Added support for handling GraphQL + `Timestamp` scalar as `i64` (AssemblyScript) + +## 0.33.0 + +### Minor Changes + +- [#1584](https://github.com/graphprotocol/graph-tooling/pull/1584) + [`0075f06`](https://github.com/graphprotocol/graph-tooling/commit/0075f06ddaa6d37606e42e1c12d11d19674d00ad) + Thanks [@incrypto32](https://github.com/incrypto32)! - Added getBalance call to ethereum API + +## 0.32.0 + +### Minor Changes + +- [#1523](https://github.com/graphprotocol/graph-tooling/pull/1523) + [`167696e`](https://github.com/graphprotocol/graph-tooling/commit/167696eb611db0da27a6cf92a7390e72c74672ca) + Thanks [@xJonathanLEI](https://github.com/xJonathanLEI)! - add starknet data types + +## 0.31.0 + +### Minor Changes + +- [#1340](https://github.com/graphprotocol/graph-tooling/pull/1340) + [`2375877`](https://github.com/graphprotocol/graph-tooling/commit/23758774b33b5b7c6934f57a3e137870205ca6f0) + Thanks [@incrypto32](https://github.com/incrypto32)! - export `loadRelated` host function + +- [#1296](https://github.com/graphprotocol/graph-tooling/pull/1296) + [`dab4ca1`](https://github.com/graphprotocol/graph-tooling/commit/dab4ca1f5df7dcd0928bbaa20304f41d23b20ced) + Thanks [@dotansimha](https://github.com/dotansimha)! - Added support for handling GraphQL `Int8` + scalar as `i64` (AssemblyScript) + +## 0.30.0 + +### Minor Changes + +- [#1299](https://github.com/graphprotocol/graph-tooling/pull/1299) + [`3f8b514`](https://github.com/graphprotocol/graph-tooling/commit/3f8b51440db281e69879be7d91d79cd43e45fe86) + Thanks [@saihaj](https://github.com/saihaj)! - introduce new Etherum utility to get a CREATE2 + Address + +- [#1306](https://github.com/graphprotocol/graph-tooling/pull/1306) + [`f5e4b58`](https://github.com/graphprotocol/graph-tooling/commit/f5e4b58989edc5f3bb8211f1b912449e77832de8) + Thanks [@saihaj](https://github.com/saihaj)! - expose Host's `get_in_block` function + +## 0.29.3 + +### Patch Changes + +- [#1057](https://github.com/graphprotocol/graph-tooling/pull/1057) + [`b7a2ec3`](https://github.com/graphprotocol/graph-tooling/commit/b7a2ec3e9e2206142236f892e2314118d410ac93) + Thanks [@saihaj](https://github.com/saihaj)! - fix publihsed contents + +## 0.29.2 + +### Patch Changes + +- [#1044](https://github.com/graphprotocol/graph-tooling/pull/1044) + [`8367f90`](https://github.com/graphprotocol/graph-tooling/commit/8367f90167172181870c1a7fe5b3e84d2c5aeb2c) + Thanks [@saihaj](https://github.com/saihaj)! - publish readme with packages diff --git a/website/src/pages/en/developing/graph-ts/README.md b/website/src/pages/en/developing/graph-ts/README.md new file mode 100644 index 000000000000..b6771a8305e5 --- /dev/null +++ b/website/src/pages/en/developing/graph-ts/README.md @@ -0,0 +1,85 @@ +# The Graph TypeScript Library (graph-ts) + +[![npm (scoped)](https://img.shields.io/npm/v/@graphprotocol/graph-ts.svg)](https://www.npmjs.com/package/@graphprotocol/graph-ts) +[![Build Status](https://travis-ci.org/graphprotocol/graph-ts.svg?branch=master)](https://travis-ci.org/graphprotocol/graph-ts) + +TypeScript/AssemblyScript library for writing subgraph mappings to be deployed to +[The Graph](https://github.com/graphprotocol/graph-node). + +## Usage + +For a detailed guide on how to create a subgraph, please see the +[Graph CLI docs](https://github.com/graphprotocol/graph-cli). + +One step of creating the subgraph is writing mappings that will process blockchain events and will +write entities into the store. These mappings are written in TypeScript/AssemblyScript. + +The `graph-ts` library provides APIs to access the Graph Node store, blockchain data, smart +contracts, data on IPFS, cryptographic functions and more. To use it, all you have to do is add a +dependency on it: + +```sh +npm install --dev @graphprotocol/graph-ts # NPM +yarn add --dev @graphprotocol/graph-ts # Yarn +``` + +After that, you can import the `store` API and other features from this library in your mappings. A +few examples: + +```typescript +import { crypto, store } from '@graphprotocol/graph-ts' +// This is just an example event type generated by `graph-cli` +// from an Ethereum smart contract ABI +import { NameRegistered } from './types/abis/SomeContract' +// This is an example of an entity type generated from a +// subgraph's GraphQL schema +import { Domain } from './types/schema' + +function handleNameRegistered(event: NameRegistered) { + // Example use of a crypto function + let id = crypto.keccak256(name).toHexString() + + // Example use of the generated `Entry` class + let domain = new Domain() + domain.name = name + domain.owner = event.params.owner + domain.timeRegistered = event.block.timestamp + + // Example use of the store API + store.set('Name', id, entity) +} +``` + +## Helper Functions for AssemblyScript + +Refer to the `helper-functions.ts` file in +[this](https://github.com/graphprotocol/graph-tooling/blob/main/packages/ts/helper-functions.ts) +repository for a few common functions that help build on top of the AssemblyScript library, such as +byte array concatenation, among others. + +## API + +Documentation on the API can be found +[here](https://thegraph.com/docs/en/developer/assemblyscript-api/). + +For examples of `graph-ts` in use take a look at one of the following subgraphs: + +- https://github.com/graphprotocol/ens-subgraph +- https://github.com/graphprotocol/decentraland-subgraph +- https://github.com/graphprotocol/adchain-subgraph +- https://github.com/graphprotocol/0x-subgraph +- https://github.com/graphprotocol/aragon-subgraph +- https://github.com/graphprotocol/dharma-subgraph + +## License + +Copyright © 2018 Graph Protocol, Inc. and contributors. + +The Graph TypeScript library is dual-licensed under the +[MIT license](https://github.com/graphprotocol/graph-tooling/blob/main/LICENSE-MIT) and the +[Apache License, Version 2.0](https://github.com/graphprotocol/graph-tooling/blob/main/LICENSE-APACHE). + +Unless required by applicable law or agreed to in writing, software distributed under the License is +distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the License for the specific language governing permissions and limitations under the +License. diff --git a/website/src/pages/en/developing/graph-ts/_meta.js b/website/src/pages/en/developing/graph-ts/_meta.js new file mode 100644 index 000000000000..02de839e662e --- /dev/null +++ b/website/src/pages/en/developing/graph-ts/_meta.js @@ -0,0 +1,5 @@ +export default { + README: 'Introduction', + api: '', + 'common-issues': '', +} diff --git a/website/pages/en/developing/graph-ts/api.mdx b/website/src/pages/en/developing/graph-ts/api.mdx similarity index 99% rename from website/pages/en/developing/graph-ts/api.mdx rename to website/src/pages/en/developing/graph-ts/api.mdx index b0547989075e..21d10bee9a8c 100644 --- a/website/pages/en/developing/graph-ts/api.mdx +++ b/website/src/pages/en/developing/graph-ts/api.mdx @@ -1,5 +1,6 @@ --- title: AssemblyScript API +sidebarTitle: API Reference --- > Note: if you created a subgraph prior to `graph-cli`/`graph-ts` version `0.22.0`, you're using an older version of AssemblyScript, we recommend taking a look at the [`Migration Guide`](/release-notes/assemblyscript-migration-guide) diff --git a/website/pages/yo/developing/graph-ts/common-issues.mdx b/website/src/pages/en/developing/graph-ts/common-issues.mdx similarity index 96% rename from website/pages/yo/developing/graph-ts/common-issues.mdx rename to website/src/pages/en/developing/graph-ts/common-issues.mdx index 5b99efa8f493..98ecb785d8e7 100644 --- a/website/pages/yo/developing/graph-ts/common-issues.mdx +++ b/website/src/pages/en/developing/graph-ts/common-issues.mdx @@ -1,5 +1,6 @@ --- title: Common AssemblyScript Issues +sidebarTitle: Common Issues --- There are certain [AssemblyScript](https://github.com/AssemblyScript/assemblyscript) issues that are common to run into during subgraph development. They range in debug difficulty, however, being aware of them may help. The following is a non-exhaustive list of these issues: diff --git a/website/pages/en/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/en/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/en/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/en/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/en/developing/supported-networks.json b/website/src/pages/en/developing/supported-networks.json similarity index 100% rename from website/pages/en/developing/supported-networks.json rename to website/src/pages/en/developing/supported-networks.json diff --git a/website/pages/en/developing/supported-networks.mdx b/website/src/pages/en/developing/supported-networks.mdx similarity index 100% rename from website/pages/en/developing/supported-networks.mdx rename to website/src/pages/en/developing/supported-networks.mdx diff --git a/website/pages/en/developing/unit-testing-framework.mdx b/website/src/pages/en/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/en/developing/unit-testing-framework.mdx rename to website/src/pages/en/developing/unit-testing-framework.mdx diff --git a/website/pages/en/docsearch.json b/website/src/pages/en/docsearch.json similarity index 100% rename from website/pages/en/docsearch.json rename to website/src/pages/en/docsearch.json diff --git a/website/pages/en/firehose.mdx b/website/src/pages/en/firehose.mdx similarity index 100% rename from website/pages/en/firehose.mdx rename to website/src/pages/en/firehose.mdx diff --git a/website/src/pages/en/global.json b/website/src/pages/en/global.json new file mode 100644 index 000000000000..6374ce75c67d --- /dev/null +++ b/website/src/pages/en/global.json @@ -0,0 +1,29 @@ +{ + "collapse": "Collapse", + "expand": "Expand", + "previous": "Previous", + "next": "Next", + "editPage": "Edit page", + "pageSections": "Page Sections", + "linkToThisSection": "Link to this section", + "technicalLevelRequired": "Technical Level Required", + "notFoundTitle": "Oops! This page was lost in space...", + "notFoundSubtitle": "Check if you’re using the right address or explore our website by clicking on the link below.", + "goHome": "Go Home", + "video": "Video", + "sidebar": { + "index": "Get Started", + "network": "The Graph Network", + "arbitrum": "Scaling with Arbitrum", + "subgraphs": "Subgraphs", + "developing": "Developing", + "deploying": "Deploying", + "publishing": "Publishing", + "managing": "Managing", + "querying": "Querying", + "cookbook": "Cookbook", + "releaseNotes": "Release Notes & Upgrade Guides", + "substreams": "Substreams", + "indexing": "Indexing" + } +} diff --git a/website/pages/en/glossary.mdx b/website/src/pages/en/glossary.mdx similarity index 100% rename from website/pages/en/glossary.mdx rename to website/src/pages/en/glossary.mdx diff --git a/website/pages/en/graphcast.mdx b/website/src/pages/en/graphcast.mdx similarity index 100% rename from website/pages/en/graphcast.mdx rename to website/src/pages/en/graphcast.mdx diff --git a/website/pages/en/index.json b/website/src/pages/en/index.json similarity index 98% rename from website/pages/en/index.json rename to website/src/pages/en/index.json index 988a55bb63e2..3a2cd3616639 100644 --- a/website/pages/en/index.json +++ b/website/src/pages/en/index.json @@ -1,5 +1,4 @@ { - "title": "Get Started", "intro": "Learn about The Graph, a decentralized protocol for indexing and querying data from blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/en/managing/_meta.js b/website/src/pages/en/managing/_meta.js similarity index 100% rename from website/pages/en/managing/_meta.js rename to website/src/pages/en/managing/_meta.js diff --git a/website/pages/en/managing/deprecating-a-subgraph.mdx b/website/src/pages/en/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/en/managing/deprecating-a-subgraph.mdx rename to website/src/pages/en/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/en/managing/transferring-subgraph-ownership.mdx b/website/src/pages/en/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/en/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/en/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/en/mips-faqs.mdx b/website/src/pages/en/mips-faqs.mdx similarity index 100% rename from website/pages/en/mips-faqs.mdx rename to website/src/pages/en/mips-faqs.mdx diff --git a/website/pages/en/network/_meta.js b/website/src/pages/en/network/_meta.js similarity index 68% rename from website/pages/en/network/_meta.js rename to website/src/pages/en/network/_meta.js index 555f264df379..f8c597d12468 100644 --- a/website/pages/en/network/_meta.js +++ b/website/src/pages/en/network/_meta.js @@ -1,6 +1,6 @@ export default { - overview: 'Overview', - benefits: 'Benefits', + overview: '', + benefits: '', indexing: '', delegating: '', curating: '', diff --git a/website/pages/en/network/benefits.mdx b/website/src/pages/en/network/benefits.mdx similarity index 99% rename from website/pages/en/network/benefits.mdx rename to website/src/pages/en/network/benefits.mdx index 26a350d7af68..ba6f09889852 100644 --- a/website/pages/en/network/benefits.mdx +++ b/website/src/pages/en/network/benefits.mdx @@ -1,5 +1,6 @@ --- title: The Graph Network vs. Self Hosting +sidebarTitle: Benefits socialImage: https://thegraph.com/docs/img/seo/benefits.jpg --- diff --git a/website/pages/en/network/contracts.mdx b/website/src/pages/en/network/contracts.mdx similarity index 100% rename from website/pages/en/network/contracts.mdx rename to website/src/pages/en/network/contracts.mdx diff --git a/website/pages/en/network/curating.mdx b/website/src/pages/en/network/curating.mdx similarity index 100% rename from website/pages/en/network/curating.mdx rename to website/src/pages/en/network/curating.mdx diff --git a/website/pages/en/network/delegating.mdx b/website/src/pages/en/network/delegating.mdx similarity index 100% rename from website/pages/en/network/delegating.mdx rename to website/src/pages/en/network/delegating.mdx diff --git a/website/pages/en/network/developing.mdx b/website/src/pages/en/network/developing.mdx similarity index 100% rename from website/pages/en/network/developing.mdx rename to website/src/pages/en/network/developing.mdx diff --git a/website/pages/en/network/explorer.mdx b/website/src/pages/en/network/explorer.mdx similarity index 100% rename from website/pages/en/network/explorer.mdx rename to website/src/pages/en/network/explorer.mdx diff --git a/website/pages/en/network/indexing.mdx b/website/src/pages/en/network/indexing.mdx similarity index 100% rename from website/pages/en/network/indexing.mdx rename to website/src/pages/en/network/indexing.mdx diff --git a/website/pages/en/network/overview.mdx b/website/src/pages/en/network/overview.mdx similarity index 97% rename from website/pages/en/network/overview.mdx rename to website/src/pages/en/network/overview.mdx index 16214028dbc9..719b1945d2a8 100644 --- a/website/pages/en/network/overview.mdx +++ b/website/src/pages/en/network/overview.mdx @@ -1,5 +1,6 @@ --- title: Network Overview +sidebarTitle: Overview --- The Graph Network is a decentralized indexing protocol for organizing blockchain data. Applications use GraphQL to query open APIs called subgraphs and retrieve data that is indexed on the network. With The Graph, developers can build serverless applications that run entirely on public infrastructure. diff --git a/website/pages/en/new-chain-integration.mdx b/website/src/pages/en/new-chain-integration.mdx similarity index 100% rename from website/pages/en/new-chain-integration.mdx rename to website/src/pages/en/new-chain-integration.mdx diff --git a/website/pages/en/operating-graph-node.mdx b/website/src/pages/en/operating-graph-node.mdx similarity index 100% rename from website/pages/en/operating-graph-node.mdx rename to website/src/pages/en/operating-graph-node.mdx diff --git a/website/pages/en/publishing/_meta.js b/website/src/pages/en/publishing/_meta.js similarity index 100% rename from website/pages/en/publishing/_meta.js rename to website/src/pages/en/publishing/_meta.js diff --git a/website/pages/en/publishing/publishing-a-subgraph.mdx b/website/src/pages/en/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/en/publishing/publishing-a-subgraph.mdx rename to website/src/pages/en/publishing/publishing-a-subgraph.mdx diff --git a/website/pages/en/querying/_meta.js b/website/src/pages/en/querying/_meta.js similarity index 85% rename from website/pages/en/querying/_meta.js rename to website/src/pages/en/querying/_meta.js index 00bad821d5cb..9645ed76c50a 100644 --- a/website/pages/en/querying/_meta.js +++ b/website/src/pages/en/querying/_meta.js @@ -7,5 +7,5 @@ export default { 'graphql-api': '', 'querying-by-subgraph-id-vs-deployment-id': '', 'graph-client': 'Graph Client', - 'querying-with-python': 'Python (Subgrounds)', + 'querying-with-python': '', } diff --git a/website/pages/en/querying/distributed-systems.mdx b/website/src/pages/en/querying/distributed-systems.mdx similarity index 100% rename from website/pages/en/querying/distributed-systems.mdx rename to website/src/pages/en/querying/distributed-systems.mdx diff --git a/website/src/pages/en/querying/graph-client/README.md b/website/src/pages/en/querying/graph-client/README.md new file mode 100644 index 000000000000..416cadc13c6f --- /dev/null +++ b/website/src/pages/en/querying/graph-client/README.md @@ -0,0 +1,611 @@ +# The Graph Client Tools + +This repo is the home for [The Graph](https://thegraph.com) consumer-side tools (for both browser and NodeJS environments). + +## Background + +The tools provided in this repo are intended to enrich and extend the DX, and add the additional layer required for dApps in order to implement distributed applications. + +Developers who consume data from [The Graph](https://thegraph.com) GraphQL API often need peripherals for making data consumption easier, and also tools that allow using multiple indexers at the same time. + +## Features and Goals + +This library is intended to simplify the network aspect of data consumption for dApps. The tools provided within this repository are intended to run at build time, in order to make execution faster and performant at runtime. + +> The tools provided in this repo can be used as standalone, but you can also use it with any existing GraphQL Client! + +| Status | Feature | Notes | +| :----: | ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| ✅ | Multiple indexers | based on fetch strategies | +| ✅ | Fetch Strategies | timeout, retry, fallback, race, highestValue | +| ✅ | Build time validations & optimizations | | +| ✅ | Client-Side Composition | with improved execution planner (based on GraphQL-Mesh) | +| ✅ | Cross-chain Subgraph Handling | Use similar subgraphs as a single source | +| ✅ | Raw Execution (standalone mode) | without a wrapping GraphQL client | +| ✅ | Local (client-side) Mutations | | +| ✅ | [Automatic Block Tracking](../packages/block-tracking/README.md) | tracking block numbers [as described here](https://thegraph.com/docs/en/developer/distributed-systems/#polling-for-updated-data) | +| ✅ | [Automatic Pagination](../packages/auto-pagination/README.md) | doing multiple requests in a single call to fetch more than the indexer limit | +| ✅ | Integration with `@apollo/client` | | +| ✅ | Integration with `urql` | | +| ✅ | TypeScript support | with built-in GraphQL Codegen and `TypedDocumentNode` | +| ✅ | [`@live` queries](./live.md) | Based on polling | + +> You can find an [extended architecture design here](./architecture.md) + +## Getting Started + +You can follow [Episode 45 of `graphql.wtf`](https://graphql.wtf/episodes/45-the-graph-client) to learn more about Graph Client: + +[![GraphQL.wtf Episode 45](https://img.youtube.com/vi/ZsRAmyUtvwg/0.jpg)](https://graphql.wtf/episodes/45-the-graph-client) + +To get started, make sure to install [The Graph Client CLI] in your project: + +```sh +yarn add -D @graphprotocol/client-cli +# or, with NPM: +npm install --save-dev @graphprotocol/client-cli +``` + +> The CLI is installed as dev dependency since we are using it to produce optimized runtime artifacts that can be loaded directly from your app! + +Create a configuration file (called `.graphclientrc.yml`) and point to your GraphQL endpoints provided by The Graph, for example: + +```yml +# .graphclientrc.yml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 +``` + +Now, create a runtime artifact by running The Graph Client CLI: + +```sh +graphclient build +``` + +> Note: you need to run this with `yarn` prefix, or add that as a script in your `package.json`. + +This should produce a ready-to-use standalone `execute` function, that you can use for running your application GraphQL operations, you should have an output similar to the following: + +```sh +GraphClient: Cleaning existing artifacts +GraphClient: Reading the configuration +🕸️: Generating the unified schema +🕸️: Generating artifacts +🕸️: Generating index file in TypeScript +🕸️: Writing index.ts for ESM to the disk. +🕸️: Cleanup +🕸️: Done! => .graphclient +``` + +Now, the `.graphclient` artifact is generated for you, and you can import it directly from your code, and run your queries: + +```ts +import { execute } from '../.graphclient' + +const myQuery = gql` + query pairs { + pair(id: "0x00004ee988665cdda9a1080d5792cecd16dc1220") { + id + token0 { + id + symbol + name + } + token1 { + id + symbol + name + } + } + } +` + +async function main() { + const result = await execute(myQuery, {}) + console.log(result) +} + +main() +``` + +### Using Vanilla JavaScript Instead of TypeScript + +GraphClient CLI generates the client artifacts as TypeScript files by default, but you can configure CLI to generate JavaScript and JSON files together with additional TypeScript definition files by using `--fileType js` or `--fileType json`. + +`js` flag generates all files as JavaScript files with ESM Syntax and `json` flag generates source artifacts as JSON files while entrypoint JavaScript file with old CommonJS syntax because only CommonJS supports JSON files as modules. + +Unless you use CommonJS(`require`) specifically, we'd recommend you to use `js` flag. + +`graphclient --fileType js` + +- [An example for JavaScript usage in CommonJS syntax with JSON files](../examples/javascript-cjs) +- [An example for JavaScript usage in ESM syntax](../examples/javascript-esm) + +#### The Graph Client DevTools + +The Graph Client CLI comes with a built-in GraphiQL, so you can experiment with queries in real-time. + +The GraphQL schema served in that environment, is the eventual schema based on all composed Subgraphs and transformations you applied. + +To start the DevTool GraphiQL, run the following command: + +```sh +graphclient serve-dev +``` + +And open http://localhost:4000/ to use GraphiQL. You can now experiment with your Graph client-side GraphQL schema locally! 🥳 + +#### Examples + +You can also refer to [examples directory in this repo](../examples), for more advanced examples and integration examples: + +- [TypeScript & React example with raw `execute` and built-in GraphQL-Codegen](../examples/execute) +- [TS/JS NodeJS standalone mode](../examples/node) +- [Client-Side GraphQL Composition](../examples/composition) +- [Integration with Urql and React](../examples/urql) +- [Integration with NextJS and TypeScript](../examples/nextjs) +- [Integration with Apollo-Client and React](../examples/apollo) +- [Integration with React-Query](../examples/react-query) +- _Cross-chain merging (same Subgraph, different chains)_ +- - [Parallel SDK calls](../examples/cross-chain-sdk) +- - [Parallel internal calls with schema extensions](../examples/cross-chain-extension) +- [Customize execution with Transforms (auto-pagination and auto-block-tracking)](../examples/transforms) + +### Advanced Examples/Features + +#### Customize Network Calls + +You can customize the network execution (for example, to add authentication headers) by using `operationHeaders`: + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + operationHeaders: + Authorization: Bearer MY_TOKEN +``` + +You can also use runtime variables if you wish, and specify it in a declarative way: + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + operationHeaders: + Authorization: Bearer {context.config.apiToken} +``` + +Then, you can specify that when you execute operations: + +```ts +execute(myQuery, myVariables, { + config: { + apiToken: 'MY_TOKEN', + }, +}) +``` + +> You can find the [complete documentation for the `graphql` handler here](https://graphql-mesh.com/docs/handlers/graphql#config-api-reference). + +#### Environment Variables Interpolation + +If you wish to use environment variables in your Graph Client configuration file, you can use interpolation with `env` helper: + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + operationHeaders: + Authorization: Bearer {env.MY_API_TOKEN} # runtime +``` + +Then, make sure to have `MY_API_TOKEN` defined when you run `process.env` at runtime. + +You can also specify environment variables to be filled at build time (during `graphclient build` run) by using the env-var name directly: + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + operationHeaders: + Authorization: Bearer ${MY_API_TOKEN} # build time +``` + +> You can find the [complete documentation for the `graphql` handler here](https://graphql-mesh.com/docs/handlers/graphql#config-api-reference). + +#### Fetch Strategies and Multiple Graph Indexers + +It's a common practice to use more than one indexer in dApps, so to achieve the ideal experience with The Graph, you can specify several `fetch` strategies in order to make it more smooth and simple. + +All `fetch` strategies can be combined to create the ultimate execution flow. + +
+ `retry` + +The `retry` mechanism allow you to specify the retry attempts for a single GraphQL endpoint/source. + +The retry flow will execute in both conditions: a netword error, or due to a runtime error (indexing issue/inavailability of the indexer). + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + retry: 2 # specify here, if you have an unstable/error prone indexer +``` + +
+ +
+ `timeout` + +The `timeout` mechanism allow you to specify the `timeout` for a given GraphQL endpoint. + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + timeout: 5000 # 5 seconds +``` + +
+ +
+ `fallback` + +The `fallback` mechanism allow you to specify use more than one GraphQL endpoint, for the same source. + +This is useful if you want to use more than one indexer for the same Subgraph, and fallback when an error/timeout happens. You can also use this strategy in order to use a custom indexer, but allow it to fallback to [The Graph Hosted Service](https://thegraph.com/hosted-service). + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + strategy: fallback + sources: + - endpoint: https://bad-uniswap-v2-api.com + retry: 2 + timeout: 5000 + - endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 +``` + +
+ +
+ `race` + +The `race` mechanism allow you to specify use more than one GraphQL endpoint, for the same source, and race on every execution. + +This is useful if you want to use more than one indexer for the same Subgraph, and allow both sources to race and get the fastest response from all specified indexers. + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + strategy: race + sources: + - endpoint: https://bad-uniswap-v2-api.com + - endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 +``` + +
+ +
+ `highestValue` + + This strategy allows you to send parallel requests to different endpoints for the same source and choose the most updated. + +This is useful if you want to choose most synced data for the same Subgraph over different indexers/sources. + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + strategy: highestValue + strategyConfig: + selectionSet: | + { + _meta { + block { + number + } + } + } + value: '_meta.block.number' + sources: + - endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2-1 + - endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2-2 +``` + +```mermaid +graph LR; + subgraph most-synced + req(Outgoing Query)-->sA[Subgraph A]; + sA-->d{MostSyncedStrategy}; + d-->s1[Source 1]; + d-->s2[Source 2]; + s1-->synced["process"] + s2-->synced + synced-->|"max(_meta.block_number)"|d + end +``` + +
+ +#### Block Tracking + +The Graph Client can track block numbers and do the following queries by following [this pattern](https://thegraph.com/docs/en/developer/distributed-systems/#polling-for-updated-data) with `blockTracking` transform; + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + transforms: + - blockTracking: + # You might want to disable schema validation for faster startup + validateSchema: true + # Ignore the fields that you don't want to be tracked + ignoreFieldNames: [users, prices] + # Exclude the operation with the following names + ignoreOperationNames: [NotFollowed] +``` + +[You can try a working example here](../examples/transforms) + +#### Automatic Pagination + +With most subgraphs, the number of records you can fetch is limited. In this case, you have to send multiple requests with pagination. + +```graphql +query { + # Will throw an error if the limit is 1000 + users(first: 2000) { + id + name + } +} +``` + +So you have to send the following operations one after the other: + +```graphql +query { + # Will throw an error if the limit is 1000 + users(first: 1000) { + id + name + } +} +``` + +Then after the first response: + +```graphql +query { + # Will throw an error if the limit is 1000 + users(first: 1000, skip: 1000) { + id + name + } +} +``` + +After the second response, you have to merge the results manually. But instead The Graph Client allows you to do the first one and automatically does those multiple requests for you under the hood. + +All you have to do is: + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + transforms: + - autoPagination: + # You might want to disable schema validation for faster startup + validateSchema: true +``` + +[You can try a working example here](../examples/transforms) + +#### Client-side Composition + +The Graph Client has built-in support for client-side GraphQL Composition (powered by [GraphQL-Tools Schema-Stitching](https://graphql-tools.com/docs/schema-stitching/stitch-combining-schemas)). + +You can leverage this feature in order to create a single GraphQL layer from multiple Subgraphs, deployed on multiple indexers. + +> 💡 Tip: You can compose any GraphQL sources, and not only Subgraphs! + +Trivial composition can be done by adding more than one GraphQL source to your `.graphclientrc.yml` file, here's an example: + +```yaml +sources: + - name: uniswapv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/uniswap/uniswap-v2 + - name: compoundv2 + handler: + graphql: + endpoint: https://api.thegraph.com/subgraphs/name/graphprotocol/compound-v2 +``` + +As long as there a no conflicts across the composed schemas, you can compose it, and then run a single query to both Subgraphs: + +```graphql +query myQuery { + # this one is coming from compound-v2 + markets(first: 7) { + borrowRate + } + # this one is coming from uniswap-v2 + pair(id: "0x00004ee988665cdda9a1080d5792cecd16dc1220") { + id + token0 { + id + } + token1 { + id + } + } +} +``` + +You can also resolve conflicts, rename parts of the schema, add custom GraphQL fields, and modify the entire execution phase. + +For advanced use-cases with composition, please refer to the following resources: + +- [Advanced Composition Example](../examples/composition) +- [GraphQL-Mesh Schema transformations](https://graphql-mesh.com/docs/transforms/transforms-introduction) +- [GraphQL-Tools Schema-Stitching documentation](https://graphql-tools.com/docs/schema-stitching/stitch-combining-schemas) + +#### TypeScript Support + +If your project is written in TypeScript, you can leverage the power of [`TypedDocumentNode`](https://the-guild.dev/blog/typed-document-node) and have a fully-typed GraphQL client experience. + +The standalone mode of The GraphQL, and popular GraphQL client libraries like Apollo-Client and urql has built-in support for `TypedDocumentNode`! + +The Graph Client CLI comes with a ready-to-use configuration for [GraphQL Code Generator](https://graphql-code-generator.com), and it can generate `TypedDocumentNode` based on your GraphQL operations. + +To get started, define your GraphQL operations in your application code, and point to those files using the `documents` section of `.graphclientrc.yml`: + +```yaml +sources: + - # ... your Subgraphs/GQL sources here + +documents: + - ./src/example-query.graphql +``` + +You can also use Glob expressions, or even point to code files, and the CLI will find your GraphQL queries automatically: + +```yaml +documents: + - './src/**/*.graphql' + - './src/**/*.{ts,tsx,js,jsx}' +``` + +Now, run the GraphQL CLI `build` command again, the CLI will generate a `TypedDocumentNode` object under `.graphclient` for every operation found. + +> Make sure to name your GraphQL operations, otherwise it will be ignored! + +For example, a query called `query ExampleQuery` will have the corresponding `ExampleQueryDocument` generated in `.graphclient`. You can now import it and use that for your GraphQL calls, and you'll have a fully typed experience without writing or specifying any TypeScript manually: + +```ts +import { ExampleQueryDocument, execute } from '../.graphclient' + +async function main() { + // "result" variable is fully typed, and represents the exact structure of the fields you selected in your query. + const result = await execute(ExampleQueryDocument, {}) + console.log(result) +} +``` + +> You can find a [TypeScript project example here](../examples/urql). + +#### Client-Side Mutations + +Due to the nature of Graph-Client setup, it is possible to add client-side schema, that you can later bridge to run any arbitrary code. + +This is helpful since you can implement custom code as part of your GraphQL schema, and have it as unified application schema that is easier to track and develop. + +> This document explains how to add custom mutations, but in fact you can add any GraphQL operation (query/mutation/subscriptions). See [Extending the unified schema article](https://graphql-mesh.com/docs/guides/extending-unified-schema) for more information about this feature. + +To get started, define a `additionalTypeDefs` section in your config file: + +```yaml +additionalTypeDefs: | + # We should define the missing `Mutation` type + extend schema { + mutation: Mutation + } + + type Mutation { + doSomething(input: SomeCustomInput!): Boolean! + } + + input SomeCustomInput { + field: String! + } +``` + +Then, add a pointer to a custom GraphQL resolvers file: + +```yaml +additionalResolvers: + - './resolvers' +``` + +Now, create `resolver.js` (or, `resolvers.ts`) in your project, and implement your custom mutation: + +```js +module.exports = { + Mutation: { + async doSomething(root, args, context, info) { + // Here, you can run anything you wish. + // For example, use `web3` lib, connect a wallet and so on. + + return true + }, + }, +} +``` + +If you are using TypeScript, you can also get fully type-safe signature by doing: + +```ts +import { Resolvers } from './.graphclient' + +// Now it's fully typed! +const resolvers: Resolvers = { + Mutation: { + async doSomething(root, args, context, info) { + // Here, you can run anything you wish. + // For example, use `web3` lib, connect a wallet and so on. + + return true + }, + }, +} + +export default resolvers +``` + +If you need to inject runtime variables into your GraphQL execution `context`, you can use the following snippet: + +```ts +execute( + MY_QUERY, + {}, + { + myHelper: {}, // this will be available in your Mutation resolver as `context.myHelper` + }, +) +``` + +> [You can read more about client-side schema extensions here](https://graphql-mesh.com/docs/guides/extending-unified-schema) + +> [You can also delegate and call Query fields as part of your mutation](https://graphql-mesh.com/docs/guides/extending-unified-schema#using-the-sdk-to-fetch-sources) + +## License + +Released under the [MIT license](../LICENSE). diff --git a/website/src/pages/en/querying/graph-client/_meta.js b/website/src/pages/en/querying/graph-client/_meta.js new file mode 100644 index 000000000000..eb6822878b3d --- /dev/null +++ b/website/src/pages/en/querying/graph-client/_meta.js @@ -0,0 +1,3 @@ +export default { + README: 'Introduction', +} diff --git a/website/src/pages/en/querying/graph-client/architecture.md b/website/src/pages/en/querying/graph-client/architecture.md new file mode 100644 index 000000000000..99098cd77b95 --- /dev/null +++ b/website/src/pages/en/querying/graph-client/architecture.md @@ -0,0 +1,103 @@ +# The Graph Client Architecture + +To address the need to support a distributed network, we plan to take several actions to ensure The Graph client provides everything app needs: + +1. Compose multiple Subgraphs (on the client-side) +2. Fallback to multiple indexers/sources/hosted services +3. Automatic/Manual source picking strategy +4. Agnostic core, with the ability to run integrate with any GraphQL client + +## Standalone mode + +```mermaid +graph LR; + c[Browser/Node]-->|executes|g[Graph-Client]; + g-->op[Orchestrator/Query Planner] + op-->sA[Subgraph A]; + op-->sB[Subgraph B]; +``` + +## With any GraphQL client + +```mermaid +graph LR; + c[Any GraphQL Client]-->|fetch/Urql Exchange/Apollo Link|l[Compatibility Layer]; + l-->|executes|g[Graph-Client]; + g-->op[Orchestrator/Query Planner] + op-->sA[Subgraph A]; + op-->sB[Subgraph B]; +``` + +## Subgraph Composition + +To allow simple and efficient client-side composition, we'll use [`graphql-tools`](https://graphql-tools.com) to create a remote schema / Executor, then can be hooked into the GraphQL client. + +API could be either raw `graphql-tools` transformers, or using [GraphQL-Mesh declarative API](https://graphql-mesh.com/docs/transforms/transforms-introduction) for composing the schema. + +```mermaid +graph LR; + g[GraphQL Schema/Executor]-->m{Composer}; + m-->s1[Subgraph A GraphQL schema]; + m-->s2[Subgraph B GraphQL schema]; + m-->s3[Subgraph C GraphQL schema]; +``` + +## Subgraph Execution Strategies + +Within every Subgraph defined as source, there will be a way to define it's source(s) indexer and the querying strategy, here are a few options: + +```mermaid +graph LR; + subgraph race + req(Outgoing Query)-->sA[Subgraph A]; + sA-->d{RaceStrategy}; + d-->s1[Source 1]; + d-->s2[Source 2]; + s1-->d; + s2-->d; + end + + subgraph fallback + req2(Outgoing Query)-->sA2[Subgraph A]; + sA2-->d2{FallbackStrategy}; + d2-->s3[Source 1]; + s3-->|error|s4[Source 2]; + s4-->|ok|d2; + s3-->|ok|d2; + end + + subgraph retry + req3(Outgoing Query)-->sA3[Subgraph A]; + sA3-->d3{RetryStrategy}; + d3-->s5[Source 1]; + s5-->|error|s5; + s5-->|ok|d3; + end + + subgraph highestValue + req4(Outgoing Query)-->sA4[Subgraph A]; + sA4-->d4{HighestValueStrategy}; + d4-->s14[Source 1]; + d4-->s24[Source 2]; + s14-->synced4["process"] + s24-->synced4 + synced4-->|"max(_meta.block_number)"|d4 + end +``` + +> We can ship a several built-in strategies, along with a simple interfaces to allow developers to write their own. + +To take the concept of strategies to the extreme, we can even build a magical layer that does subscription-as-query, with any hook, and provide a smooth DX for dapps: + +```mermaid +graph LR; + app[App]-->|subscription somedata|c; + c[Any GraphQL Client]-->l[Compatibility Layer]; + l-->|executes|g[GraphQL Schema/Executor]; + g-->op[Orchestrator] + op-->|query somedata|sA[Subgraph]; + sc[Smart Contract]-->|change event|op; +``` + +With this mechanism, developers can write and execute GraphQL `subscription`, but under the hood we'll execute a GraphQL `query` to The Graph indexers, and allow to connect any external hook/probe for re-running the operation. +This way, we can watch for changes on the Smart Contract itself, and the GraphQL client will fill the gap on the need to real-time changes from The Graph. diff --git a/website/src/pages/en/querying/graph-client/live.md b/website/src/pages/en/querying/graph-client/live.md new file mode 100644 index 000000000000..e6f726cb4352 --- /dev/null +++ b/website/src/pages/en/querying/graph-client/live.md @@ -0,0 +1,43 @@ +# `@live` queries in `graph-client` + +Graph-Client implements a custom `@live` directive that can make every GraphQL query work with real-time data. + +## Getting Started + +Start by adding the following configuration to your `.graphclientrc.yml` file: + +```yaml +plugins: + - pollingLive: + defaultInterval: 1000 +``` + +## Usage + +Set the default update interval you wish to use, and then you can apply the following GraphQL `@directive` over your GraphQL queries: + +```graphql +query ExampleQuery @live { + transactions(first: 2, orderBy: timestamp, orderDirection: desc) { + id + blockNumber + timestamp + } +} +``` + +Or, you can specify a per-query interval: + +```graphql +query ExampleQuery @live(interval: 5000) { + transactions(first: 2, orderBy: timestamp, orderDirection: desc) { + id + } +} +``` + +## Integrations + +Since the entire network layer (along with the `@live` mechanism) is implemented inside `graph-client` core, you can use Live queries with every GraphQL client (such as Urql or Apollo-Client), as long as it supports streame responses (`AsyncIterable`). + +No additional setup is required for GraphQL clients cache updates. diff --git a/website/pages/en/querying/graphql-api.mdx b/website/src/pages/en/querying/graphql-api.mdx similarity index 100% rename from website/pages/en/querying/graphql-api.mdx rename to website/src/pages/en/querying/graphql-api.mdx diff --git a/website/pages/en/querying/managing-api-keys.mdx b/website/src/pages/en/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/en/querying/managing-api-keys.mdx rename to website/src/pages/en/querying/managing-api-keys.mdx diff --git a/website/pages/en/querying/querying-best-practices.mdx b/website/src/pages/en/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/en/querying/querying-best-practices.mdx rename to website/src/pages/en/querying/querying-best-practices.mdx diff --git a/website/pages/en/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/en/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/en/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/en/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/en/querying/querying-from-an-application.mdx b/website/src/pages/en/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/en/querying/querying-from-an-application.mdx rename to website/src/pages/en/querying/querying-from-an-application.mdx diff --git a/website/pages/en/querying/querying-the-graph.mdx b/website/src/pages/en/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/en/querying/querying-the-graph.mdx rename to website/src/pages/en/querying/querying-the-graph.mdx diff --git a/website/pages/yo/querying/querying-with-python.mdx b/website/src/pages/en/querying/querying-with-python.mdx similarity index 98% rename from website/pages/yo/querying/querying-with-python.mdx rename to website/src/pages/en/querying/querying-with-python.mdx index 4fb618510070..a791ea2c6d15 100644 --- a/website/pages/yo/querying/querying-with-python.mdx +++ b/website/src/pages/en/querying/querying-with-python.mdx @@ -1,5 +1,6 @@ --- title: Query The Graph with Python and Subgrounds +sidebarTitle: Python (Subgrounds) --- Subgrounds is an intuitive Python library for querying subgraphs, built by [Playgrounds](https://playgrounds.network/). It allows you to directly connect subgraph data to a Python data environment, letting you use libraries like [pandas](https://pandas.pydata.org/) to perform data analysis! diff --git a/website/pages/en/quick-start.mdx b/website/src/pages/en/quick-start.mdx similarity index 100% rename from website/pages/en/quick-start.mdx rename to website/src/pages/en/quick-start.mdx diff --git a/website/pages/en/release-notes/_meta.js b/website/src/pages/en/release-notes/_meta.js similarity index 100% rename from website/pages/en/release-notes/_meta.js rename to website/src/pages/en/release-notes/_meta.js diff --git a/website/pages/en/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/en/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/en/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/en/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/en/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/en/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/en/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/en/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/en/substreams.mdx b/website/src/pages/en/substreams.mdx similarity index 100% rename from website/pages/en/substreams.mdx rename to website/src/pages/en/substreams.mdx diff --git a/website/pages/en/sunrise.mdx b/website/src/pages/en/sunrise.mdx similarity index 99% rename from website/pages/en/sunrise.mdx rename to website/src/pages/en/sunrise.mdx index c15e5b87ab38..4c86577c10bb 100644 --- a/website/pages/en/sunrise.mdx +++ b/website/src/pages/en/sunrise.mdx @@ -1,5 +1,6 @@ --- title: Sunrise + Upgrading to The Graph Network FAQ +sidebarTitle: Sunrise Upgrade FAQ --- > Note: This document is continually updated to ensure the most accurate and helpful information is provided. New questions and answers are added on a regular basis. If you can’t find the information you’re looking for, or if you require immediate assistance, [reach out on Discord](https://discord.gg/graphprotocol). If you are looking for billing information, then please refer to [billing](/billing/). @@ -12,8 +13,10 @@ This plan draws on many previous developments from The Graph ecosystem, includin ### What are the phases of the Sunrise? -**Sunray**: Enable support for hosted service chains, introduce a seamless upgrade flow, offer a free plan on The Graph Network, and provide simple payment options. -**Sunbeam**: The upgrade window that subgraph developers will have to upgrade their hosted service subgraphs to The Graph Network. This window will end at 10 a.m. PT on June 12th 2024. +**Sunray**: Enable support for hosted service chains, introduce a seamless upgrade flow, offer a free plan on The Graph Network, and provide simple payment options. + +**Sunbeam**: The upgrade window that subgraph developers will have to upgrade their hosted service subgraphs to The Graph Network. This window will end at 10 a.m. PT on June 12th 2024. + **Sunrise**: Hosted service endpoints will no longer be available after 10 a.m. PT on June 12th, 2024. ## Upgrading subgraphs to The Graph Network diff --git a/website/pages/en/supported-network-requirements.mdx b/website/src/pages/en/supported-network-requirements.mdx similarity index 100% rename from website/pages/en/supported-network-requirements.mdx rename to website/src/pages/en/supported-network-requirements.mdx diff --git a/website/pages/en/tokenomics.mdx b/website/src/pages/en/tokenomics.mdx similarity index 99% rename from website/pages/en/tokenomics.mdx rename to website/src/pages/en/tokenomics.mdx index 6fa9686eec71..f4388bc895ab 100644 --- a/website/pages/en/tokenomics.mdx +++ b/website/src/pages/en/tokenomics.mdx @@ -1,5 +1,6 @@ --- title: Tokenomics of The Graph Network +sidebarTitle: Tokenomics description: The Graph Network is incentivized by powerful tokenomics. Here’s how GRT, The Graph’s native work utility token works. --- diff --git a/website/pages/en/translations.ts b/website/src/pages/en/translations.ts similarity index 100% rename from website/pages/en/translations.ts rename to website/src/pages/en/translations.ts diff --git a/website/pages/es/about.mdx b/website/src/pages/es/about.mdx similarity index 100% rename from website/pages/es/about.mdx rename to website/src/pages/es/about.mdx diff --git a/website/pages/es/arbitrum/_meta.js b/website/src/pages/es/arbitrum/_meta.js similarity index 100% rename from website/pages/es/arbitrum/_meta.js rename to website/src/pages/es/arbitrum/_meta.js diff --git a/website/pages/es/arbitrum/arbitrum-faq.mdx b/website/src/pages/es/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/es/arbitrum/arbitrum-faq.mdx rename to website/src/pages/es/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/es/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/es/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/es/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/es/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/es/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/es/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/es/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/es/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/es/billing.mdx b/website/src/pages/es/billing.mdx similarity index 100% rename from website/pages/es/billing.mdx rename to website/src/pages/es/billing.mdx diff --git a/website/pages/es/chain-integration-overview.mdx b/website/src/pages/es/chain-integration-overview.mdx similarity index 100% rename from website/pages/es/chain-integration-overview.mdx rename to website/src/pages/es/chain-integration-overview.mdx diff --git a/website/pages/es/cookbook/_meta.js b/website/src/pages/es/cookbook/_meta.js similarity index 100% rename from website/pages/es/cookbook/_meta.js rename to website/src/pages/es/cookbook/_meta.js diff --git a/website/pages/es/cookbook/arweave.mdx b/website/src/pages/es/cookbook/arweave.mdx similarity index 100% rename from website/pages/es/cookbook/arweave.mdx rename to website/src/pages/es/cookbook/arweave.mdx diff --git a/website/pages/es/cookbook/base-testnet.mdx b/website/src/pages/es/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/es/cookbook/base-testnet.mdx rename to website/src/pages/es/cookbook/base-testnet.mdx diff --git a/website/pages/es/cookbook/cosmos.mdx b/website/src/pages/es/cookbook/cosmos.mdx similarity index 100% rename from website/pages/es/cookbook/cosmos.mdx rename to website/src/pages/es/cookbook/cosmos.mdx diff --git a/website/pages/es/cookbook/grafting.mdx b/website/src/pages/es/cookbook/grafting.mdx similarity index 100% rename from website/pages/es/cookbook/grafting.mdx rename to website/src/pages/es/cookbook/grafting.mdx diff --git a/website/pages/es/cookbook/near.mdx b/website/src/pages/es/cookbook/near.mdx similarity index 100% rename from website/pages/es/cookbook/near.mdx rename to website/src/pages/es/cookbook/near.mdx diff --git a/website/pages/es/cookbook/subgraph-debug-forking.mdx b/website/src/pages/es/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/es/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/es/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/es/cookbook/subgraph-uncrashable.mdx b/website/src/pages/es/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/es/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/es/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/es/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/es/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/es/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/es/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/es/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/es/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/es/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/es/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/es/deploying/_meta.js b/website/src/pages/es/deploying/_meta.js similarity index 100% rename from website/pages/es/deploying/_meta.js rename to website/src/pages/es/deploying/_meta.js diff --git a/website/pages/es/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/es/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/es/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/es/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/es/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/es/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/es/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/es/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/es/deploying/hosted-service.mdx b/website/src/pages/es/deploying/hosted-service.mdx similarity index 100% rename from website/pages/es/deploying/hosted-service.mdx rename to website/src/pages/es/deploying/hosted-service.mdx diff --git a/website/pages/es/deploying/subgraph-studio-faqs.mdx b/website/src/pages/es/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/es/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/es/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/es/deploying/subgraph-studio.mdx b/website/src/pages/es/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/es/deploying/subgraph-studio.mdx rename to website/src/pages/es/deploying/subgraph-studio.mdx diff --git a/website/pages/es/developing/_meta.js b/website/src/pages/es/developing/_meta.js similarity index 100% rename from website/pages/es/developing/_meta.js rename to website/src/pages/es/developing/_meta.js diff --git a/website/pages/es/developing/creating-a-subgraph.mdx b/website/src/pages/es/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/es/developing/creating-a-subgraph.mdx rename to website/src/pages/es/developing/creating-a-subgraph.mdx diff --git a/website/pages/es/developing/developer-faqs.mdx b/website/src/pages/es/developing/developer-faqs.mdx similarity index 100% rename from website/pages/es/developing/developer-faqs.mdx rename to website/src/pages/es/developing/developer-faqs.mdx diff --git a/website/pages/es/developing/graph-ts/api.mdx b/website/src/pages/es/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/es/developing/graph-ts/api.mdx rename to website/src/pages/es/developing/graph-ts/api.mdx diff --git a/website/pages/es/developing/graph-ts/common-issues.mdx b/website/src/pages/es/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/es/developing/graph-ts/common-issues.mdx rename to website/src/pages/es/developing/graph-ts/common-issues.mdx diff --git a/website/pages/es/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/es/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/es/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/es/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/es/developing/supported-networks.json b/website/src/pages/es/developing/supported-networks.json similarity index 100% rename from website/pages/es/developing/supported-networks.json rename to website/src/pages/es/developing/supported-networks.json diff --git a/website/pages/es/developing/supported-networks.mdx b/website/src/pages/es/developing/supported-networks.mdx similarity index 100% rename from website/pages/es/developing/supported-networks.mdx rename to website/src/pages/es/developing/supported-networks.mdx diff --git a/website/pages/es/developing/unit-testing-framework.mdx b/website/src/pages/es/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/es/developing/unit-testing-framework.mdx rename to website/src/pages/es/developing/unit-testing-framework.mdx diff --git a/website/pages/es/docsearch.json b/website/src/pages/es/docsearch.json similarity index 100% rename from website/pages/es/docsearch.json rename to website/src/pages/es/docsearch.json diff --git a/website/pages/es/firehose.mdx b/website/src/pages/es/firehose.mdx similarity index 100% rename from website/pages/es/firehose.mdx rename to website/src/pages/es/firehose.mdx diff --git a/website/pages/es/global.json b/website/src/pages/es/global.json similarity index 58% rename from website/pages/es/global.json rename to website/src/pages/es/global.json index 99990f9a16eb..61b250fdc1de 100644 --- a/website/pages/es/global.json +++ b/website/src/pages/es/global.json @@ -10,5 +10,17 @@ "notFoundTitle": "¡Ups! Esta página se ha perdido en el espacio...", "notFoundSubtitle": "Verifica que estés usando la dirección correcta o visita nuestro sitio web haciendo clic en el enlace de abajo.", "goHome": "Ir a la página principal", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Comenzar", + "subgraphs": "Subgrafos", + "developing": "Desarrollando", + "deploying": "Deployando", + "publishing": "Publicando", + "managing": "Administrando", + "querying": "Consultando", + "cookbook": "Recetario", + "releaseNotes": "Notas de Publicación y Guías de Actualización", + "indexing": "Indexación" + } } diff --git a/website/pages/es/glossary.mdx b/website/src/pages/es/glossary.mdx similarity index 100% rename from website/pages/es/glossary.mdx rename to website/src/pages/es/glossary.mdx diff --git a/website/pages/es/graphcast.mdx b/website/src/pages/es/graphcast.mdx similarity index 100% rename from website/pages/es/graphcast.mdx rename to website/src/pages/es/graphcast.mdx diff --git a/website/pages/es/index.json b/website/src/pages/es/index.json similarity index 99% rename from website/pages/es/index.json rename to website/src/pages/es/index.json index c85fd14a2cd8..aa0bd865e0c4 100644 --- a/website/pages/es/index.json +++ b/website/src/pages/es/index.json @@ -1,5 +1,4 @@ { - "title": "Comenzar", "intro": "Aprende más sobre The Graph, un protocolo descentralizado para indexar y consultar datos de las blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/es/managing/_meta.js b/website/src/pages/es/managing/_meta.js similarity index 100% rename from website/pages/es/managing/_meta.js rename to website/src/pages/es/managing/_meta.js diff --git a/website/pages/es/managing/deprecating-a-subgraph.mdx b/website/src/pages/es/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/es/managing/deprecating-a-subgraph.mdx rename to website/src/pages/es/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/es/managing/transferring-subgraph-ownership.mdx b/website/src/pages/es/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/es/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/es/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/es/mips-faqs.mdx b/website/src/pages/es/mips-faqs.mdx similarity index 100% rename from website/pages/es/mips-faqs.mdx rename to website/src/pages/es/mips-faqs.mdx diff --git a/website/pages/es/network/_meta.js b/website/src/pages/es/network/_meta.js similarity index 100% rename from website/pages/es/network/_meta.js rename to website/src/pages/es/network/_meta.js diff --git a/website/pages/es/network/benefits.mdx b/website/src/pages/es/network/benefits.mdx similarity index 100% rename from website/pages/es/network/benefits.mdx rename to website/src/pages/es/network/benefits.mdx diff --git a/website/pages/es/network/curating.mdx b/website/src/pages/es/network/curating.mdx similarity index 100% rename from website/pages/es/network/curating.mdx rename to website/src/pages/es/network/curating.mdx diff --git a/website/pages/es/network/delegating.mdx b/website/src/pages/es/network/delegating.mdx similarity index 100% rename from website/pages/es/network/delegating.mdx rename to website/src/pages/es/network/delegating.mdx diff --git a/website/pages/es/network/developing.mdx b/website/src/pages/es/network/developing.mdx similarity index 100% rename from website/pages/es/network/developing.mdx rename to website/src/pages/es/network/developing.mdx diff --git a/website/pages/es/network/explorer.mdx b/website/src/pages/es/network/explorer.mdx similarity index 100% rename from website/pages/es/network/explorer.mdx rename to website/src/pages/es/network/explorer.mdx diff --git a/website/pages/es/network/indexing.mdx b/website/src/pages/es/network/indexing.mdx similarity index 100% rename from website/pages/es/network/indexing.mdx rename to website/src/pages/es/network/indexing.mdx diff --git a/website/pages/es/network/overview.mdx b/website/src/pages/es/network/overview.mdx similarity index 100% rename from website/pages/es/network/overview.mdx rename to website/src/pages/es/network/overview.mdx diff --git a/website/pages/es/new-chain-integration.mdx b/website/src/pages/es/new-chain-integration.mdx similarity index 100% rename from website/pages/es/new-chain-integration.mdx rename to website/src/pages/es/new-chain-integration.mdx diff --git a/website/pages/es/operating-graph-node.mdx b/website/src/pages/es/operating-graph-node.mdx similarity index 100% rename from website/pages/es/operating-graph-node.mdx rename to website/src/pages/es/operating-graph-node.mdx diff --git a/website/pages/es/publishing/_meta.js b/website/src/pages/es/publishing/_meta.js similarity index 100% rename from website/pages/es/publishing/_meta.js rename to website/src/pages/es/publishing/_meta.js diff --git a/website/pages/es/publishing/publishing-a-subgraph.mdx b/website/src/pages/es/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/es/publishing/publishing-a-subgraph.mdx rename to website/src/pages/es/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/es/querying/_meta.js b/website/src/pages/es/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/es/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/es/querying/distributed-systems.mdx b/website/src/pages/es/querying/distributed-systems.mdx similarity index 100% rename from website/pages/es/querying/distributed-systems.mdx rename to website/src/pages/es/querying/distributed-systems.mdx diff --git a/website/pages/es/querying/graphql-api.mdx b/website/src/pages/es/querying/graphql-api.mdx similarity index 100% rename from website/pages/es/querying/graphql-api.mdx rename to website/src/pages/es/querying/graphql-api.mdx diff --git a/website/pages/es/querying/managing-api-keys.mdx b/website/src/pages/es/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/es/querying/managing-api-keys.mdx rename to website/src/pages/es/querying/managing-api-keys.mdx diff --git a/website/pages/es/querying/querying-best-practices.mdx b/website/src/pages/es/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/es/querying/querying-best-practices.mdx rename to website/src/pages/es/querying/querying-best-practices.mdx diff --git a/website/pages/es/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/es/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/es/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/es/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/es/querying/querying-from-an-application.mdx b/website/src/pages/es/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/es/querying/querying-from-an-application.mdx rename to website/src/pages/es/querying/querying-from-an-application.mdx diff --git a/website/pages/es/querying/querying-the-graph.mdx b/website/src/pages/es/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/es/querying/querying-the-graph.mdx rename to website/src/pages/es/querying/querying-the-graph.mdx diff --git a/website/pages/es/querying/querying-with-python.mdx b/website/src/pages/es/querying/querying-with-python.mdx similarity index 100% rename from website/pages/es/querying/querying-with-python.mdx rename to website/src/pages/es/querying/querying-with-python.mdx diff --git a/website/pages/es/quick-start.mdx b/website/src/pages/es/quick-start.mdx similarity index 100% rename from website/pages/es/quick-start.mdx rename to website/src/pages/es/quick-start.mdx diff --git a/website/pages/es/release-notes/_meta.js b/website/src/pages/es/release-notes/_meta.js similarity index 100% rename from website/pages/es/release-notes/_meta.js rename to website/src/pages/es/release-notes/_meta.js diff --git a/website/pages/es/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/es/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/es/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/es/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/es/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/es/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/es/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/es/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/es/substreams.mdx b/website/src/pages/es/substreams.mdx similarity index 100% rename from website/pages/es/substreams.mdx rename to website/src/pages/es/substreams.mdx diff --git a/website/pages/es/sunrise.mdx b/website/src/pages/es/sunrise.mdx similarity index 100% rename from website/pages/es/sunrise.mdx rename to website/src/pages/es/sunrise.mdx diff --git a/website/pages/es/supported-network-requirements.mdx b/website/src/pages/es/supported-network-requirements.mdx similarity index 100% rename from website/pages/es/supported-network-requirements.mdx rename to website/src/pages/es/supported-network-requirements.mdx diff --git a/website/pages/es/tokenomics.mdx b/website/src/pages/es/tokenomics.mdx similarity index 99% rename from website/pages/es/tokenomics.mdx rename to website/src/pages/es/tokenomics.mdx index 196fde9f6115..16e6b0388c6e 100644 --- a/website/pages/es/tokenomics.mdx +++ b/website/src/pages/es/tokenomics.mdx @@ -1,5 +1,6 @@ --- title: Tokenomics de The Graph Network +sidebarTitle: Tokenomics description: The Graph Network está incentivado por un poderoso tokenomics. Así es como funciona GRT, el token de utilidad de trabajo nativo de The Graph. --- diff --git a/website/pages/es/translations.ts b/website/src/pages/es/translations.ts similarity index 100% rename from website/pages/es/translations.ts rename to website/src/pages/es/translations.ts diff --git a/website/pages/fr/about.mdx b/website/src/pages/fr/about.mdx similarity index 100% rename from website/pages/fr/about.mdx rename to website/src/pages/fr/about.mdx diff --git a/website/pages/fr/arbitrum/_meta.js b/website/src/pages/fr/arbitrum/_meta.js similarity index 100% rename from website/pages/fr/arbitrum/_meta.js rename to website/src/pages/fr/arbitrum/_meta.js diff --git a/website/pages/fr/arbitrum/arbitrum-faq.mdx b/website/src/pages/fr/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/fr/arbitrum/arbitrum-faq.mdx rename to website/src/pages/fr/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/fr/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/fr/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/fr/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/fr/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/fr/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/fr/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/fr/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/fr/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/fr/billing.mdx b/website/src/pages/fr/billing.mdx similarity index 100% rename from website/pages/fr/billing.mdx rename to website/src/pages/fr/billing.mdx diff --git a/website/pages/fr/chain-integration-overview.mdx b/website/src/pages/fr/chain-integration-overview.mdx similarity index 100% rename from website/pages/fr/chain-integration-overview.mdx rename to website/src/pages/fr/chain-integration-overview.mdx diff --git a/website/pages/fr/cookbook/_meta.js b/website/src/pages/fr/cookbook/_meta.js similarity index 100% rename from website/pages/fr/cookbook/_meta.js rename to website/src/pages/fr/cookbook/_meta.js diff --git a/website/pages/fr/cookbook/arweave.mdx b/website/src/pages/fr/cookbook/arweave.mdx similarity index 100% rename from website/pages/fr/cookbook/arweave.mdx rename to website/src/pages/fr/cookbook/arweave.mdx diff --git a/website/pages/fr/cookbook/base-testnet.mdx b/website/src/pages/fr/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/fr/cookbook/base-testnet.mdx rename to website/src/pages/fr/cookbook/base-testnet.mdx diff --git a/website/pages/fr/cookbook/cosmos.mdx b/website/src/pages/fr/cookbook/cosmos.mdx similarity index 100% rename from website/pages/fr/cookbook/cosmos.mdx rename to website/src/pages/fr/cookbook/cosmos.mdx diff --git a/website/pages/fr/cookbook/grafting.mdx b/website/src/pages/fr/cookbook/grafting.mdx similarity index 100% rename from website/pages/fr/cookbook/grafting.mdx rename to website/src/pages/fr/cookbook/grafting.mdx diff --git a/website/pages/fr/cookbook/near.mdx b/website/src/pages/fr/cookbook/near.mdx similarity index 100% rename from website/pages/fr/cookbook/near.mdx rename to website/src/pages/fr/cookbook/near.mdx diff --git a/website/pages/fr/cookbook/subgraph-debug-forking.mdx b/website/src/pages/fr/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/fr/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/fr/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/fr/cookbook/subgraph-uncrashable.mdx b/website/src/pages/fr/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/fr/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/fr/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/fr/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/fr/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/fr/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/fr/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/fr/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/fr/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/fr/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/fr/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/fr/deploying/_meta.js b/website/src/pages/fr/deploying/_meta.js similarity index 100% rename from website/pages/fr/deploying/_meta.js rename to website/src/pages/fr/deploying/_meta.js diff --git a/website/pages/fr/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/fr/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/fr/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/fr/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/fr/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/fr/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/fr/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/fr/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/fr/deploying/hosted-service.mdx b/website/src/pages/fr/deploying/hosted-service.mdx similarity index 100% rename from website/pages/fr/deploying/hosted-service.mdx rename to website/src/pages/fr/deploying/hosted-service.mdx diff --git a/website/pages/fr/deploying/subgraph-studio-faqs.mdx b/website/src/pages/fr/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/fr/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/fr/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/fr/deploying/subgraph-studio.mdx b/website/src/pages/fr/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/fr/deploying/subgraph-studio.mdx rename to website/src/pages/fr/deploying/subgraph-studio.mdx diff --git a/website/pages/fr/developing/_meta.js b/website/src/pages/fr/developing/_meta.js similarity index 100% rename from website/pages/fr/developing/_meta.js rename to website/src/pages/fr/developing/_meta.js diff --git a/website/pages/fr/developing/creating-a-subgraph.mdx b/website/src/pages/fr/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/fr/developing/creating-a-subgraph.mdx rename to website/src/pages/fr/developing/creating-a-subgraph.mdx diff --git a/website/pages/fr/developing/developer-faqs.mdx b/website/src/pages/fr/developing/developer-faqs.mdx similarity index 100% rename from website/pages/fr/developing/developer-faqs.mdx rename to website/src/pages/fr/developing/developer-faqs.mdx diff --git a/website/pages/fr/developing/graph-ts/api.mdx b/website/src/pages/fr/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/fr/developing/graph-ts/api.mdx rename to website/src/pages/fr/developing/graph-ts/api.mdx diff --git a/website/pages/en/developing/graph-ts/common-issues.mdx b/website/src/pages/fr/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/en/developing/graph-ts/common-issues.mdx rename to website/src/pages/fr/developing/graph-ts/common-issues.mdx diff --git a/website/pages/fr/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/fr/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/fr/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/fr/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/fr/developing/supported-networks.json b/website/src/pages/fr/developing/supported-networks.json similarity index 100% rename from website/pages/fr/developing/supported-networks.json rename to website/src/pages/fr/developing/supported-networks.json diff --git a/website/pages/fr/developing/supported-networks.mdx b/website/src/pages/fr/developing/supported-networks.mdx similarity index 100% rename from website/pages/fr/developing/supported-networks.mdx rename to website/src/pages/fr/developing/supported-networks.mdx diff --git a/website/pages/fr/developing/unit-testing-framework.mdx b/website/src/pages/fr/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/fr/developing/unit-testing-framework.mdx rename to website/src/pages/fr/developing/unit-testing-framework.mdx diff --git a/website/pages/fr/docsearch.json b/website/src/pages/fr/docsearch.json similarity index 100% rename from website/pages/fr/docsearch.json rename to website/src/pages/fr/docsearch.json diff --git a/website/pages/fr/firehose.mdx b/website/src/pages/fr/firehose.mdx similarity index 100% rename from website/pages/fr/firehose.mdx rename to website/src/pages/fr/firehose.mdx diff --git a/website/pages/fr/global.json b/website/src/pages/fr/global.json similarity index 88% rename from website/pages/fr/global.json rename to website/src/pages/fr/global.json index 7041afc44a5a..c82c9bda8104 100644 --- a/website/pages/fr/global.json +++ b/website/src/pages/fr/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Oups ! Cette page a été perdue au cours de l'espace...", "notFoundSubtitle": "Vérifiez si vous utilisez la bonne adresse ou explorez notre site web par cliquant sur le lien ci-dessous.", "goHome": "Rentrer à la page d'accueil", - "video": "La vidéo" + "video": "La vidéo", + "sidebar": { + "index": "Commencer" + } } diff --git a/website/pages/fr/glossary.mdx b/website/src/pages/fr/glossary.mdx similarity index 100% rename from website/pages/fr/glossary.mdx rename to website/src/pages/fr/glossary.mdx diff --git a/website/pages/fr/graphcast.mdx b/website/src/pages/fr/graphcast.mdx similarity index 100% rename from website/pages/fr/graphcast.mdx rename to website/src/pages/fr/graphcast.mdx diff --git a/website/pages/fr/index.json b/website/src/pages/fr/index.json similarity index 99% rename from website/pages/fr/index.json rename to website/src/pages/fr/index.json index 930e53ae45e9..f576d1adb0a8 100644 --- a/website/pages/fr/index.json +++ b/website/src/pages/fr/index.json @@ -1,5 +1,4 @@ { - "title": "Commencer", "intro": "Découvrez The Graph, un protocole décentralisé pour indexer et interroger les données des blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/fr/managing/_meta.js b/website/src/pages/fr/managing/_meta.js similarity index 100% rename from website/pages/fr/managing/_meta.js rename to website/src/pages/fr/managing/_meta.js diff --git a/website/pages/fr/managing/deprecating-a-subgraph.mdx b/website/src/pages/fr/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/fr/managing/deprecating-a-subgraph.mdx rename to website/src/pages/fr/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/fr/managing/transferring-subgraph-ownership.mdx b/website/src/pages/fr/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/fr/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/fr/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/fr/mips-faqs.mdx b/website/src/pages/fr/mips-faqs.mdx similarity index 100% rename from website/pages/fr/mips-faqs.mdx rename to website/src/pages/fr/mips-faqs.mdx diff --git a/website/pages/fr/network/_meta.js b/website/src/pages/fr/network/_meta.js similarity index 100% rename from website/pages/fr/network/_meta.js rename to website/src/pages/fr/network/_meta.js diff --git a/website/pages/fr/network/benefits.mdx b/website/src/pages/fr/network/benefits.mdx similarity index 100% rename from website/pages/fr/network/benefits.mdx rename to website/src/pages/fr/network/benefits.mdx diff --git a/website/pages/fr/network/curating.mdx b/website/src/pages/fr/network/curating.mdx similarity index 100% rename from website/pages/fr/network/curating.mdx rename to website/src/pages/fr/network/curating.mdx diff --git a/website/pages/fr/network/delegating.mdx b/website/src/pages/fr/network/delegating.mdx similarity index 100% rename from website/pages/fr/network/delegating.mdx rename to website/src/pages/fr/network/delegating.mdx diff --git a/website/pages/fr/network/developing.mdx b/website/src/pages/fr/network/developing.mdx similarity index 100% rename from website/pages/fr/network/developing.mdx rename to website/src/pages/fr/network/developing.mdx diff --git a/website/pages/fr/network/explorer.mdx b/website/src/pages/fr/network/explorer.mdx similarity index 100% rename from website/pages/fr/network/explorer.mdx rename to website/src/pages/fr/network/explorer.mdx diff --git a/website/pages/fr/network/indexing.mdx b/website/src/pages/fr/network/indexing.mdx similarity index 100% rename from website/pages/fr/network/indexing.mdx rename to website/src/pages/fr/network/indexing.mdx diff --git a/website/pages/fr/network/overview.mdx b/website/src/pages/fr/network/overview.mdx similarity index 100% rename from website/pages/fr/network/overview.mdx rename to website/src/pages/fr/network/overview.mdx diff --git a/website/pages/fr/new-chain-integration.mdx b/website/src/pages/fr/new-chain-integration.mdx similarity index 100% rename from website/pages/fr/new-chain-integration.mdx rename to website/src/pages/fr/new-chain-integration.mdx diff --git a/website/pages/fr/operating-graph-node.mdx b/website/src/pages/fr/operating-graph-node.mdx similarity index 100% rename from website/pages/fr/operating-graph-node.mdx rename to website/src/pages/fr/operating-graph-node.mdx diff --git a/website/pages/fr/publishing/_meta.js b/website/src/pages/fr/publishing/_meta.js similarity index 100% rename from website/pages/fr/publishing/_meta.js rename to website/src/pages/fr/publishing/_meta.js diff --git a/website/pages/fr/publishing/publishing-a-subgraph.mdx b/website/src/pages/fr/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/fr/publishing/publishing-a-subgraph.mdx rename to website/src/pages/fr/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/fr/querying/_meta.js b/website/src/pages/fr/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/fr/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/fr/querying/distributed-systems.mdx b/website/src/pages/fr/querying/distributed-systems.mdx similarity index 100% rename from website/pages/fr/querying/distributed-systems.mdx rename to website/src/pages/fr/querying/distributed-systems.mdx diff --git a/website/pages/fr/querying/graphql-api.mdx b/website/src/pages/fr/querying/graphql-api.mdx similarity index 100% rename from website/pages/fr/querying/graphql-api.mdx rename to website/src/pages/fr/querying/graphql-api.mdx diff --git a/website/pages/fr/querying/managing-api-keys.mdx b/website/src/pages/fr/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/fr/querying/managing-api-keys.mdx rename to website/src/pages/fr/querying/managing-api-keys.mdx diff --git a/website/pages/fr/querying/querying-best-practices.mdx b/website/src/pages/fr/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/fr/querying/querying-best-practices.mdx rename to website/src/pages/fr/querying/querying-best-practices.mdx diff --git a/website/pages/fr/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/fr/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/fr/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/fr/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/fr/querying/querying-from-an-application.mdx b/website/src/pages/fr/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/fr/querying/querying-from-an-application.mdx rename to website/src/pages/fr/querying/querying-from-an-application.mdx diff --git a/website/pages/fr/querying/querying-the-graph.mdx b/website/src/pages/fr/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/fr/querying/querying-the-graph.mdx rename to website/src/pages/fr/querying/querying-the-graph.mdx diff --git a/website/pages/fr/querying/querying-with-python.mdx b/website/src/pages/fr/querying/querying-with-python.mdx similarity index 100% rename from website/pages/fr/querying/querying-with-python.mdx rename to website/src/pages/fr/querying/querying-with-python.mdx diff --git a/website/pages/fr/quick-start.mdx b/website/src/pages/fr/quick-start.mdx similarity index 100% rename from website/pages/fr/quick-start.mdx rename to website/src/pages/fr/quick-start.mdx diff --git a/website/pages/fr/release-notes/_meta.js b/website/src/pages/fr/release-notes/_meta.js similarity index 100% rename from website/pages/fr/release-notes/_meta.js rename to website/src/pages/fr/release-notes/_meta.js diff --git a/website/pages/fr/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/fr/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/fr/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/fr/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/fr/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/fr/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/fr/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/fr/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/fr/substreams.mdx b/website/src/pages/fr/substreams.mdx similarity index 100% rename from website/pages/fr/substreams.mdx rename to website/src/pages/fr/substreams.mdx diff --git a/website/pages/fr/sunrise.mdx b/website/src/pages/fr/sunrise.mdx similarity index 100% rename from website/pages/fr/sunrise.mdx rename to website/src/pages/fr/sunrise.mdx diff --git a/website/pages/fr/supported-network-requirements.mdx b/website/src/pages/fr/supported-network-requirements.mdx similarity index 100% rename from website/pages/fr/supported-network-requirements.mdx rename to website/src/pages/fr/supported-network-requirements.mdx diff --git a/website/pages/fr/tokenomics.mdx b/website/src/pages/fr/tokenomics.mdx similarity index 100% rename from website/pages/fr/tokenomics.mdx rename to website/src/pages/fr/tokenomics.mdx diff --git a/website/pages/fr/translations.ts b/website/src/pages/fr/translations.ts similarity index 100% rename from website/pages/fr/translations.ts rename to website/src/pages/fr/translations.ts diff --git a/website/src/app.css b/website/src/pages/globals.css similarity index 100% rename from website/src/app.css rename to website/src/pages/globals.css diff --git a/website/pages/ha/about.mdx b/website/src/pages/ha/about.mdx similarity index 100% rename from website/pages/ha/about.mdx rename to website/src/pages/ha/about.mdx diff --git a/website/pages/ha/arbitrum/_meta.js b/website/src/pages/ha/arbitrum/_meta.js similarity index 100% rename from website/pages/ha/arbitrum/_meta.js rename to website/src/pages/ha/arbitrum/_meta.js diff --git a/website/pages/ha/arbitrum/arbitrum-faq.mdx b/website/src/pages/ha/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/ha/arbitrum/arbitrum-faq.mdx rename to website/src/pages/ha/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/ha/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/ha/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/ha/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/ha/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/ha/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/ha/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/ha/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/ha/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/ha/billing.mdx b/website/src/pages/ha/billing.mdx similarity index 100% rename from website/pages/ha/billing.mdx rename to website/src/pages/ha/billing.mdx diff --git a/website/pages/ha/chain-integration-overview.mdx b/website/src/pages/ha/chain-integration-overview.mdx similarity index 100% rename from website/pages/ha/chain-integration-overview.mdx rename to website/src/pages/ha/chain-integration-overview.mdx diff --git a/website/pages/ha/cookbook/_meta.js b/website/src/pages/ha/cookbook/_meta.js similarity index 100% rename from website/pages/ha/cookbook/_meta.js rename to website/src/pages/ha/cookbook/_meta.js diff --git a/website/pages/ha/cookbook/arweave.mdx b/website/src/pages/ha/cookbook/arweave.mdx similarity index 100% rename from website/pages/ha/cookbook/arweave.mdx rename to website/src/pages/ha/cookbook/arweave.mdx diff --git a/website/pages/ha/cookbook/base-testnet.mdx b/website/src/pages/ha/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/ha/cookbook/base-testnet.mdx rename to website/src/pages/ha/cookbook/base-testnet.mdx diff --git a/website/pages/ha/cookbook/cosmos.mdx b/website/src/pages/ha/cookbook/cosmos.mdx similarity index 100% rename from website/pages/ha/cookbook/cosmos.mdx rename to website/src/pages/ha/cookbook/cosmos.mdx diff --git a/website/pages/ha/cookbook/grafting.mdx b/website/src/pages/ha/cookbook/grafting.mdx similarity index 100% rename from website/pages/ha/cookbook/grafting.mdx rename to website/src/pages/ha/cookbook/grafting.mdx diff --git a/website/pages/ha/cookbook/near.mdx b/website/src/pages/ha/cookbook/near.mdx similarity index 100% rename from website/pages/ha/cookbook/near.mdx rename to website/src/pages/ha/cookbook/near.mdx diff --git a/website/pages/ha/cookbook/subgraph-debug-forking.mdx b/website/src/pages/ha/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/ha/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/ha/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/ha/cookbook/subgraph-uncrashable.mdx b/website/src/pages/ha/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/ha/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/ha/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/ha/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/ha/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/ha/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/ha/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/ha/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/ha/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/ha/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/ha/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/ha/deploying/_meta.js b/website/src/pages/ha/deploying/_meta.js similarity index 100% rename from website/pages/ha/deploying/_meta.js rename to website/src/pages/ha/deploying/_meta.js diff --git a/website/pages/ha/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/ha/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/ha/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/ha/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/ha/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/ha/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/ha/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/ha/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/ha/deploying/hosted-service.mdx b/website/src/pages/ha/deploying/hosted-service.mdx similarity index 100% rename from website/pages/ha/deploying/hosted-service.mdx rename to website/src/pages/ha/deploying/hosted-service.mdx diff --git a/website/pages/ha/deploying/subgraph-studio-faqs.mdx b/website/src/pages/ha/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/ha/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/ha/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/ha/deploying/subgraph-studio.mdx b/website/src/pages/ha/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/ha/deploying/subgraph-studio.mdx rename to website/src/pages/ha/deploying/subgraph-studio.mdx diff --git a/website/pages/ha/developing/_meta.js b/website/src/pages/ha/developing/_meta.js similarity index 100% rename from website/pages/ha/developing/_meta.js rename to website/src/pages/ha/developing/_meta.js diff --git a/website/pages/ha/developing/creating-a-subgraph.mdx b/website/src/pages/ha/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/ha/developing/creating-a-subgraph.mdx rename to website/src/pages/ha/developing/creating-a-subgraph.mdx diff --git a/website/pages/ha/developing/developer-faqs.mdx b/website/src/pages/ha/developing/developer-faqs.mdx similarity index 100% rename from website/pages/ha/developing/developer-faqs.mdx rename to website/src/pages/ha/developing/developer-faqs.mdx diff --git a/website/pages/ha/developing/graph-ts/api.mdx b/website/src/pages/ha/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/ha/developing/graph-ts/api.mdx rename to website/src/pages/ha/developing/graph-ts/api.mdx diff --git a/website/pages/fr/developing/graph-ts/common-issues.mdx b/website/src/pages/ha/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/fr/developing/graph-ts/common-issues.mdx rename to website/src/pages/ha/developing/graph-ts/common-issues.mdx diff --git a/website/pages/ha/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/ha/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/ha/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/ha/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/ha/developing/supported-networks.json b/website/src/pages/ha/developing/supported-networks.json similarity index 100% rename from website/pages/ha/developing/supported-networks.json rename to website/src/pages/ha/developing/supported-networks.json diff --git a/website/pages/ha/developing/supported-networks.mdx b/website/src/pages/ha/developing/supported-networks.mdx similarity index 100% rename from website/pages/ha/developing/supported-networks.mdx rename to website/src/pages/ha/developing/supported-networks.mdx diff --git a/website/pages/ha/developing/unit-testing-framework.mdx b/website/src/pages/ha/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/ha/developing/unit-testing-framework.mdx rename to website/src/pages/ha/developing/unit-testing-framework.mdx diff --git a/website/pages/ha/docsearch.json b/website/src/pages/ha/docsearch.json similarity index 100% rename from website/pages/ha/docsearch.json rename to website/src/pages/ha/docsearch.json diff --git a/website/pages/ha/firehose.mdx b/website/src/pages/ha/firehose.mdx similarity index 100% rename from website/pages/ha/firehose.mdx rename to website/src/pages/ha/firehose.mdx diff --git a/website/pages/ko/global.json b/website/src/pages/ha/global.json similarity index 87% rename from website/pages/ko/global.json rename to website/src/pages/ha/global.json index 6a3eb234bfce..e8e2472b1be5 100644 --- a/website/pages/ko/global.json +++ b/website/src/pages/ha/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Oops! This page was lost in space...", "notFoundSubtitle": "Check if you’re using the right address or explore our website by clicking on the link below.", "goHome": "Go Home", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Get Started" + } } diff --git a/website/pages/ha/glossary.mdx b/website/src/pages/ha/glossary.mdx similarity index 100% rename from website/pages/ha/glossary.mdx rename to website/src/pages/ha/glossary.mdx diff --git a/website/pages/ha/graphcast.mdx b/website/src/pages/ha/graphcast.mdx similarity index 100% rename from website/pages/ha/graphcast.mdx rename to website/src/pages/ha/graphcast.mdx diff --git a/website/pages/ha/index.json b/website/src/pages/ha/index.json similarity index 98% rename from website/pages/ha/index.json rename to website/src/pages/ha/index.json index ddbbb68445fe..31cb5618ee81 100644 --- a/website/pages/ha/index.json +++ b/website/src/pages/ha/index.json @@ -1,5 +1,4 @@ { - "title": "Get Started", "intro": "Learn about The Graph, a decentralized protocol for indexing and querying data from blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/ha/managing/_meta.js b/website/src/pages/ha/managing/_meta.js similarity index 100% rename from website/pages/ha/managing/_meta.js rename to website/src/pages/ha/managing/_meta.js diff --git a/website/pages/ha/managing/deprecating-a-subgraph.mdx b/website/src/pages/ha/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/ha/managing/deprecating-a-subgraph.mdx rename to website/src/pages/ha/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/ha/managing/transferring-subgraph-ownership.mdx b/website/src/pages/ha/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/ha/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/ha/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/ha/mips-faqs.mdx b/website/src/pages/ha/mips-faqs.mdx similarity index 100% rename from website/pages/ha/mips-faqs.mdx rename to website/src/pages/ha/mips-faqs.mdx diff --git a/website/pages/ha/network/_meta.js b/website/src/pages/ha/network/_meta.js similarity index 100% rename from website/pages/ha/network/_meta.js rename to website/src/pages/ha/network/_meta.js diff --git a/website/pages/ha/network/benefits.mdx b/website/src/pages/ha/network/benefits.mdx similarity index 100% rename from website/pages/ha/network/benefits.mdx rename to website/src/pages/ha/network/benefits.mdx diff --git a/website/pages/ha/network/curating.mdx b/website/src/pages/ha/network/curating.mdx similarity index 100% rename from website/pages/ha/network/curating.mdx rename to website/src/pages/ha/network/curating.mdx diff --git a/website/pages/ha/network/delegating.mdx b/website/src/pages/ha/network/delegating.mdx similarity index 100% rename from website/pages/ha/network/delegating.mdx rename to website/src/pages/ha/network/delegating.mdx diff --git a/website/pages/ha/network/developing.mdx b/website/src/pages/ha/network/developing.mdx similarity index 100% rename from website/pages/ha/network/developing.mdx rename to website/src/pages/ha/network/developing.mdx diff --git a/website/pages/ha/network/explorer.mdx b/website/src/pages/ha/network/explorer.mdx similarity index 100% rename from website/pages/ha/network/explorer.mdx rename to website/src/pages/ha/network/explorer.mdx diff --git a/website/pages/ha/network/indexing.mdx b/website/src/pages/ha/network/indexing.mdx similarity index 100% rename from website/pages/ha/network/indexing.mdx rename to website/src/pages/ha/network/indexing.mdx diff --git a/website/pages/ha/network/overview.mdx b/website/src/pages/ha/network/overview.mdx similarity index 100% rename from website/pages/ha/network/overview.mdx rename to website/src/pages/ha/network/overview.mdx diff --git a/website/pages/ha/new-chain-integration.mdx b/website/src/pages/ha/new-chain-integration.mdx similarity index 100% rename from website/pages/ha/new-chain-integration.mdx rename to website/src/pages/ha/new-chain-integration.mdx diff --git a/website/pages/ha/operating-graph-node.mdx b/website/src/pages/ha/operating-graph-node.mdx similarity index 100% rename from website/pages/ha/operating-graph-node.mdx rename to website/src/pages/ha/operating-graph-node.mdx diff --git a/website/pages/ha/publishing/_meta.js b/website/src/pages/ha/publishing/_meta.js similarity index 100% rename from website/pages/ha/publishing/_meta.js rename to website/src/pages/ha/publishing/_meta.js diff --git a/website/pages/ha/publishing/publishing-a-subgraph.mdx b/website/src/pages/ha/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/ha/publishing/publishing-a-subgraph.mdx rename to website/src/pages/ha/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/ha/querying/_meta.js b/website/src/pages/ha/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/ha/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/ha/querying/distributed-systems.mdx b/website/src/pages/ha/querying/distributed-systems.mdx similarity index 100% rename from website/pages/ha/querying/distributed-systems.mdx rename to website/src/pages/ha/querying/distributed-systems.mdx diff --git a/website/pages/ha/querying/graphql-api.mdx b/website/src/pages/ha/querying/graphql-api.mdx similarity index 100% rename from website/pages/ha/querying/graphql-api.mdx rename to website/src/pages/ha/querying/graphql-api.mdx diff --git a/website/pages/ha/querying/managing-api-keys.mdx b/website/src/pages/ha/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/ha/querying/managing-api-keys.mdx rename to website/src/pages/ha/querying/managing-api-keys.mdx diff --git a/website/pages/ha/querying/querying-best-practices.mdx b/website/src/pages/ha/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/ha/querying/querying-best-practices.mdx rename to website/src/pages/ha/querying/querying-best-practices.mdx diff --git a/website/pages/ha/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/ha/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/ha/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/ha/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/ha/querying/querying-from-an-application.mdx b/website/src/pages/ha/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/ha/querying/querying-from-an-application.mdx rename to website/src/pages/ha/querying/querying-from-an-application.mdx diff --git a/website/pages/ha/querying/querying-the-graph.mdx b/website/src/pages/ha/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/ha/querying/querying-the-graph.mdx rename to website/src/pages/ha/querying/querying-the-graph.mdx diff --git a/website/pages/en/querying/querying-with-python.mdx b/website/src/pages/ha/querying/querying-with-python.mdx similarity index 100% rename from website/pages/en/querying/querying-with-python.mdx rename to website/src/pages/ha/querying/querying-with-python.mdx diff --git a/website/pages/ha/quick-start.mdx b/website/src/pages/ha/quick-start.mdx similarity index 100% rename from website/pages/ha/quick-start.mdx rename to website/src/pages/ha/quick-start.mdx diff --git a/website/pages/ha/release-notes/_meta.js b/website/src/pages/ha/release-notes/_meta.js similarity index 100% rename from website/pages/ha/release-notes/_meta.js rename to website/src/pages/ha/release-notes/_meta.js diff --git a/website/pages/ha/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/ha/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/ha/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/ha/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/ha/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/ha/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/ha/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/ha/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/ha/substreams.mdx b/website/src/pages/ha/substreams.mdx similarity index 100% rename from website/pages/ha/substreams.mdx rename to website/src/pages/ha/substreams.mdx diff --git a/website/pages/ha/sunrise.mdx b/website/src/pages/ha/sunrise.mdx similarity index 100% rename from website/pages/ha/sunrise.mdx rename to website/src/pages/ha/sunrise.mdx diff --git a/website/pages/ha/supported-network-requirements.mdx b/website/src/pages/ha/supported-network-requirements.mdx similarity index 100% rename from website/pages/ha/supported-network-requirements.mdx rename to website/src/pages/ha/supported-network-requirements.mdx diff --git a/website/pages/ha/tokenomics.mdx b/website/src/pages/ha/tokenomics.mdx similarity index 100% rename from website/pages/ha/tokenomics.mdx rename to website/src/pages/ha/tokenomics.mdx diff --git a/website/pages/ha/translations.ts b/website/src/pages/ha/translations.ts similarity index 100% rename from website/pages/ha/translations.ts rename to website/src/pages/ha/translations.ts diff --git a/website/pages/hi/about.mdx b/website/src/pages/hi/about.mdx similarity index 100% rename from website/pages/hi/about.mdx rename to website/src/pages/hi/about.mdx diff --git a/website/pages/hi/arbitrum/_meta.js b/website/src/pages/hi/arbitrum/_meta.js similarity index 100% rename from website/pages/hi/arbitrum/_meta.js rename to website/src/pages/hi/arbitrum/_meta.js diff --git a/website/pages/hi/arbitrum/arbitrum-faq.mdx b/website/src/pages/hi/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/hi/arbitrum/arbitrum-faq.mdx rename to website/src/pages/hi/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/hi/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/hi/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/hi/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/hi/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/hi/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/hi/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/hi/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/hi/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/hi/billing.mdx b/website/src/pages/hi/billing.mdx similarity index 100% rename from website/pages/hi/billing.mdx rename to website/src/pages/hi/billing.mdx diff --git a/website/pages/hi/chain-integration-overview.mdx b/website/src/pages/hi/chain-integration-overview.mdx similarity index 100% rename from website/pages/hi/chain-integration-overview.mdx rename to website/src/pages/hi/chain-integration-overview.mdx diff --git a/website/pages/hi/cookbook/_meta.js b/website/src/pages/hi/cookbook/_meta.js similarity index 100% rename from website/pages/hi/cookbook/_meta.js rename to website/src/pages/hi/cookbook/_meta.js diff --git a/website/pages/hi/cookbook/arweave.mdx b/website/src/pages/hi/cookbook/arweave.mdx similarity index 100% rename from website/pages/hi/cookbook/arweave.mdx rename to website/src/pages/hi/cookbook/arweave.mdx diff --git a/website/pages/hi/cookbook/base-testnet.mdx b/website/src/pages/hi/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/hi/cookbook/base-testnet.mdx rename to website/src/pages/hi/cookbook/base-testnet.mdx diff --git a/website/pages/hi/cookbook/cosmos.mdx b/website/src/pages/hi/cookbook/cosmos.mdx similarity index 100% rename from website/pages/hi/cookbook/cosmos.mdx rename to website/src/pages/hi/cookbook/cosmos.mdx diff --git a/website/pages/hi/cookbook/grafting.mdx b/website/src/pages/hi/cookbook/grafting.mdx similarity index 100% rename from website/pages/hi/cookbook/grafting.mdx rename to website/src/pages/hi/cookbook/grafting.mdx diff --git a/website/pages/hi/cookbook/near.mdx b/website/src/pages/hi/cookbook/near.mdx similarity index 100% rename from website/pages/hi/cookbook/near.mdx rename to website/src/pages/hi/cookbook/near.mdx diff --git a/website/pages/hi/cookbook/subgraph-debug-forking.mdx b/website/src/pages/hi/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/hi/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/hi/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/hi/cookbook/subgraph-uncrashable.mdx b/website/src/pages/hi/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/hi/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/hi/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/hi/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/hi/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/hi/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/hi/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/hi/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/hi/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/hi/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/hi/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/hi/deploying/_meta.js b/website/src/pages/hi/deploying/_meta.js similarity index 100% rename from website/pages/hi/deploying/_meta.js rename to website/src/pages/hi/deploying/_meta.js diff --git a/website/pages/hi/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/hi/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/hi/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/hi/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/hi/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/hi/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/hi/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/hi/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/hi/deploying/hosted-service.mdx b/website/src/pages/hi/deploying/hosted-service.mdx similarity index 100% rename from website/pages/hi/deploying/hosted-service.mdx rename to website/src/pages/hi/deploying/hosted-service.mdx diff --git a/website/pages/hi/deploying/subgraph-studio-faqs.mdx b/website/src/pages/hi/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/hi/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/hi/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/hi/deploying/subgraph-studio.mdx b/website/src/pages/hi/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/hi/deploying/subgraph-studio.mdx rename to website/src/pages/hi/deploying/subgraph-studio.mdx diff --git a/website/pages/hi/developing/_meta.js b/website/src/pages/hi/developing/_meta.js similarity index 100% rename from website/pages/hi/developing/_meta.js rename to website/src/pages/hi/developing/_meta.js diff --git a/website/pages/hi/developing/creating-a-subgraph.mdx b/website/src/pages/hi/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/hi/developing/creating-a-subgraph.mdx rename to website/src/pages/hi/developing/creating-a-subgraph.mdx diff --git a/website/pages/hi/developing/developer-faqs.mdx b/website/src/pages/hi/developing/developer-faqs.mdx similarity index 100% rename from website/pages/hi/developing/developer-faqs.mdx rename to website/src/pages/hi/developing/developer-faqs.mdx diff --git a/website/pages/hi/developing/graph-ts/api.mdx b/website/src/pages/hi/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/hi/developing/graph-ts/api.mdx rename to website/src/pages/hi/developing/graph-ts/api.mdx diff --git a/website/pages/hi/developing/graph-ts/common-issues.mdx b/website/src/pages/hi/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/hi/developing/graph-ts/common-issues.mdx rename to website/src/pages/hi/developing/graph-ts/common-issues.mdx diff --git a/website/pages/hi/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/hi/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/hi/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/hi/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/hi/developing/supported-networks.json b/website/src/pages/hi/developing/supported-networks.json similarity index 100% rename from website/pages/hi/developing/supported-networks.json rename to website/src/pages/hi/developing/supported-networks.json diff --git a/website/pages/hi/developing/supported-networks.mdx b/website/src/pages/hi/developing/supported-networks.mdx similarity index 100% rename from website/pages/hi/developing/supported-networks.mdx rename to website/src/pages/hi/developing/supported-networks.mdx diff --git a/website/pages/hi/developing/unit-testing-framework.mdx b/website/src/pages/hi/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/hi/developing/unit-testing-framework.mdx rename to website/src/pages/hi/developing/unit-testing-framework.mdx diff --git a/website/pages/hi/docsearch.json b/website/src/pages/hi/docsearch.json similarity index 100% rename from website/pages/hi/docsearch.json rename to website/src/pages/hi/docsearch.json diff --git a/website/pages/hi/firehose.mdx b/website/src/pages/hi/firehose.mdx similarity index 100% rename from website/pages/hi/firehose.mdx rename to website/src/pages/hi/firehose.mdx diff --git a/website/pages/hi/global.json b/website/src/pages/hi/global.json similarity index 89% rename from website/pages/hi/global.json rename to website/src/pages/hi/global.json index ef894ae452d6..37147c82dc0f 100644 --- a/website/pages/hi/global.json +++ b/website/src/pages/hi/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "उफ़! यह पृष्ठ अंतरिक्ष में खो गया था...", "notFoundSubtitle": "जांचें कि क्या आप सही पते का उपयोग कर रहे हैं या नीचे दिए गए लिंक पर क्लिक करके हमारी वेबसाइट देखें।", "goHome": "घर जाओ", - "video": "वीडियो" + "video": "वीडियो", + "sidebar": { + "index": "शुरू हो जाओ" + } } diff --git a/website/pages/hi/glossary.mdx b/website/src/pages/hi/glossary.mdx similarity index 100% rename from website/pages/hi/glossary.mdx rename to website/src/pages/hi/glossary.mdx diff --git a/website/pages/hi/graphcast.mdx b/website/src/pages/hi/graphcast.mdx similarity index 100% rename from website/pages/hi/graphcast.mdx rename to website/src/pages/hi/graphcast.mdx diff --git a/website/pages/hi/index.json b/website/src/pages/hi/index.json similarity index 98% rename from website/pages/hi/index.json rename to website/src/pages/hi/index.json index 26fd1d5d6804..50b315260dcf 100644 --- a/website/pages/hi/index.json +++ b/website/src/pages/hi/index.json @@ -1,5 +1,4 @@ { - "title": "शुरू हो जाओ", "intro": "द ग्राफ के बारे में जानें, ब्लॉकचेन से डेटा को अनुक्रमित करने और क्वेरी करने के लिए एक विकेन्द्रीकृत प्रोटोकॉल।", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/hi/managing/_meta.js b/website/src/pages/hi/managing/_meta.js similarity index 100% rename from website/pages/hi/managing/_meta.js rename to website/src/pages/hi/managing/_meta.js diff --git a/website/pages/hi/managing/deprecating-a-subgraph.mdx b/website/src/pages/hi/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/hi/managing/deprecating-a-subgraph.mdx rename to website/src/pages/hi/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/hi/managing/transferring-subgraph-ownership.mdx b/website/src/pages/hi/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/hi/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/hi/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/hi/mips-faqs.mdx b/website/src/pages/hi/mips-faqs.mdx similarity index 100% rename from website/pages/hi/mips-faqs.mdx rename to website/src/pages/hi/mips-faqs.mdx diff --git a/website/pages/hi/network/_meta.js b/website/src/pages/hi/network/_meta.js similarity index 100% rename from website/pages/hi/network/_meta.js rename to website/src/pages/hi/network/_meta.js diff --git a/website/pages/hi/network/benefits.mdx b/website/src/pages/hi/network/benefits.mdx similarity index 100% rename from website/pages/hi/network/benefits.mdx rename to website/src/pages/hi/network/benefits.mdx diff --git a/website/pages/hi/network/curating.mdx b/website/src/pages/hi/network/curating.mdx similarity index 100% rename from website/pages/hi/network/curating.mdx rename to website/src/pages/hi/network/curating.mdx diff --git a/website/pages/hi/network/delegating.mdx b/website/src/pages/hi/network/delegating.mdx similarity index 100% rename from website/pages/hi/network/delegating.mdx rename to website/src/pages/hi/network/delegating.mdx diff --git a/website/pages/hi/network/developing.mdx b/website/src/pages/hi/network/developing.mdx similarity index 100% rename from website/pages/hi/network/developing.mdx rename to website/src/pages/hi/network/developing.mdx diff --git a/website/pages/hi/network/explorer.mdx b/website/src/pages/hi/network/explorer.mdx similarity index 100% rename from website/pages/hi/network/explorer.mdx rename to website/src/pages/hi/network/explorer.mdx diff --git a/website/pages/hi/network/indexing.mdx b/website/src/pages/hi/network/indexing.mdx similarity index 100% rename from website/pages/hi/network/indexing.mdx rename to website/src/pages/hi/network/indexing.mdx diff --git a/website/pages/hi/network/overview.mdx b/website/src/pages/hi/network/overview.mdx similarity index 100% rename from website/pages/hi/network/overview.mdx rename to website/src/pages/hi/network/overview.mdx diff --git a/website/pages/hi/new-chain-integration.mdx b/website/src/pages/hi/new-chain-integration.mdx similarity index 100% rename from website/pages/hi/new-chain-integration.mdx rename to website/src/pages/hi/new-chain-integration.mdx diff --git a/website/pages/hi/operating-graph-node.mdx b/website/src/pages/hi/operating-graph-node.mdx similarity index 100% rename from website/pages/hi/operating-graph-node.mdx rename to website/src/pages/hi/operating-graph-node.mdx diff --git a/website/pages/hi/publishing/_meta.js b/website/src/pages/hi/publishing/_meta.js similarity index 100% rename from website/pages/hi/publishing/_meta.js rename to website/src/pages/hi/publishing/_meta.js diff --git a/website/pages/hi/publishing/publishing-a-subgraph.mdx b/website/src/pages/hi/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/hi/publishing/publishing-a-subgraph.mdx rename to website/src/pages/hi/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/hi/querying/_meta.js b/website/src/pages/hi/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/hi/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/hi/querying/distributed-systems.mdx b/website/src/pages/hi/querying/distributed-systems.mdx similarity index 100% rename from website/pages/hi/querying/distributed-systems.mdx rename to website/src/pages/hi/querying/distributed-systems.mdx diff --git a/website/pages/hi/querying/graphql-api.mdx b/website/src/pages/hi/querying/graphql-api.mdx similarity index 100% rename from website/pages/hi/querying/graphql-api.mdx rename to website/src/pages/hi/querying/graphql-api.mdx diff --git a/website/pages/hi/querying/managing-api-keys.mdx b/website/src/pages/hi/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/hi/querying/managing-api-keys.mdx rename to website/src/pages/hi/querying/managing-api-keys.mdx diff --git a/website/pages/hi/querying/querying-best-practices.mdx b/website/src/pages/hi/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/hi/querying/querying-best-practices.mdx rename to website/src/pages/hi/querying/querying-best-practices.mdx diff --git a/website/pages/hi/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/hi/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/hi/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/hi/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/hi/querying/querying-from-an-application.mdx b/website/src/pages/hi/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/hi/querying/querying-from-an-application.mdx rename to website/src/pages/hi/querying/querying-from-an-application.mdx diff --git a/website/pages/hi/querying/querying-the-graph.mdx b/website/src/pages/hi/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/hi/querying/querying-the-graph.mdx rename to website/src/pages/hi/querying/querying-the-graph.mdx diff --git a/website/pages/hi/querying/querying-with-python.mdx b/website/src/pages/hi/querying/querying-with-python.mdx similarity index 100% rename from website/pages/hi/querying/querying-with-python.mdx rename to website/src/pages/hi/querying/querying-with-python.mdx diff --git a/website/pages/hi/quick-start.mdx b/website/src/pages/hi/quick-start.mdx similarity index 100% rename from website/pages/hi/quick-start.mdx rename to website/src/pages/hi/quick-start.mdx diff --git a/website/pages/hi/release-notes/_meta.js b/website/src/pages/hi/release-notes/_meta.js similarity index 100% rename from website/pages/hi/release-notes/_meta.js rename to website/src/pages/hi/release-notes/_meta.js diff --git a/website/pages/hi/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/hi/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/hi/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/hi/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/hi/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/hi/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/hi/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/hi/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/hi/substreams.mdx b/website/src/pages/hi/substreams.mdx similarity index 100% rename from website/pages/hi/substreams.mdx rename to website/src/pages/hi/substreams.mdx diff --git a/website/pages/hi/sunrise.mdx b/website/src/pages/hi/sunrise.mdx similarity index 100% rename from website/pages/hi/sunrise.mdx rename to website/src/pages/hi/sunrise.mdx diff --git a/website/pages/hi/supported-network-requirements.mdx b/website/src/pages/hi/supported-network-requirements.mdx similarity index 100% rename from website/pages/hi/supported-network-requirements.mdx rename to website/src/pages/hi/supported-network-requirements.mdx diff --git a/website/pages/hi/tokenomics.mdx b/website/src/pages/hi/tokenomics.mdx similarity index 100% rename from website/pages/hi/tokenomics.mdx rename to website/src/pages/hi/tokenomics.mdx diff --git a/website/pages/hi/translations.ts b/website/src/pages/hi/translations.ts similarity index 100% rename from website/pages/hi/translations.ts rename to website/src/pages/hi/translations.ts diff --git a/website/pages/it/about.mdx b/website/src/pages/it/about.mdx similarity index 100% rename from website/pages/it/about.mdx rename to website/src/pages/it/about.mdx diff --git a/website/pages/it/arbitrum/_meta.js b/website/src/pages/it/arbitrum/_meta.js similarity index 100% rename from website/pages/it/arbitrum/_meta.js rename to website/src/pages/it/arbitrum/_meta.js diff --git a/website/pages/it/arbitrum/arbitrum-faq.mdx b/website/src/pages/it/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/it/arbitrum/arbitrum-faq.mdx rename to website/src/pages/it/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/it/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/it/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/it/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/it/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/it/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/it/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/it/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/it/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/it/billing.mdx b/website/src/pages/it/billing.mdx similarity index 100% rename from website/pages/it/billing.mdx rename to website/src/pages/it/billing.mdx diff --git a/website/pages/it/chain-integration-overview.mdx b/website/src/pages/it/chain-integration-overview.mdx similarity index 100% rename from website/pages/it/chain-integration-overview.mdx rename to website/src/pages/it/chain-integration-overview.mdx diff --git a/website/pages/it/cookbook/_meta.js b/website/src/pages/it/cookbook/_meta.js similarity index 100% rename from website/pages/it/cookbook/_meta.js rename to website/src/pages/it/cookbook/_meta.js diff --git a/website/pages/it/cookbook/arweave.mdx b/website/src/pages/it/cookbook/arweave.mdx similarity index 100% rename from website/pages/it/cookbook/arweave.mdx rename to website/src/pages/it/cookbook/arweave.mdx diff --git a/website/pages/it/cookbook/base-testnet.mdx b/website/src/pages/it/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/it/cookbook/base-testnet.mdx rename to website/src/pages/it/cookbook/base-testnet.mdx diff --git a/website/pages/it/cookbook/cosmos.mdx b/website/src/pages/it/cookbook/cosmos.mdx similarity index 100% rename from website/pages/it/cookbook/cosmos.mdx rename to website/src/pages/it/cookbook/cosmos.mdx diff --git a/website/pages/it/cookbook/grafting.mdx b/website/src/pages/it/cookbook/grafting.mdx similarity index 100% rename from website/pages/it/cookbook/grafting.mdx rename to website/src/pages/it/cookbook/grafting.mdx diff --git a/website/pages/it/cookbook/near.mdx b/website/src/pages/it/cookbook/near.mdx similarity index 100% rename from website/pages/it/cookbook/near.mdx rename to website/src/pages/it/cookbook/near.mdx diff --git a/website/pages/it/cookbook/subgraph-debug-forking.mdx b/website/src/pages/it/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/it/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/it/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/it/cookbook/subgraph-uncrashable.mdx b/website/src/pages/it/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/it/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/it/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/it/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/it/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/it/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/it/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/it/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/it/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/it/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/it/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/it/deploying/_meta.js b/website/src/pages/it/deploying/_meta.js similarity index 100% rename from website/pages/it/deploying/_meta.js rename to website/src/pages/it/deploying/_meta.js diff --git a/website/pages/it/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/it/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/it/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/it/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/it/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/it/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/it/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/it/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/it/deploying/hosted-service.mdx b/website/src/pages/it/deploying/hosted-service.mdx similarity index 100% rename from website/pages/it/deploying/hosted-service.mdx rename to website/src/pages/it/deploying/hosted-service.mdx diff --git a/website/pages/it/deploying/subgraph-studio-faqs.mdx b/website/src/pages/it/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/it/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/it/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/it/deploying/subgraph-studio.mdx b/website/src/pages/it/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/it/deploying/subgraph-studio.mdx rename to website/src/pages/it/deploying/subgraph-studio.mdx diff --git a/website/pages/it/developing/_meta.js b/website/src/pages/it/developing/_meta.js similarity index 100% rename from website/pages/it/developing/_meta.js rename to website/src/pages/it/developing/_meta.js diff --git a/website/pages/it/developing/creating-a-subgraph.mdx b/website/src/pages/it/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/it/developing/creating-a-subgraph.mdx rename to website/src/pages/it/developing/creating-a-subgraph.mdx diff --git a/website/pages/it/developing/developer-faqs.mdx b/website/src/pages/it/developing/developer-faqs.mdx similarity index 100% rename from website/pages/it/developing/developer-faqs.mdx rename to website/src/pages/it/developing/developer-faqs.mdx diff --git a/website/pages/it/developing/graph-ts/api.mdx b/website/src/pages/it/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/it/developing/graph-ts/api.mdx rename to website/src/pages/it/developing/graph-ts/api.mdx diff --git a/website/pages/it/developing/graph-ts/common-issues.mdx b/website/src/pages/it/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/it/developing/graph-ts/common-issues.mdx rename to website/src/pages/it/developing/graph-ts/common-issues.mdx diff --git a/website/pages/it/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/it/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/it/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/it/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/it/developing/supported-networks.json b/website/src/pages/it/developing/supported-networks.json similarity index 100% rename from website/pages/it/developing/supported-networks.json rename to website/src/pages/it/developing/supported-networks.json diff --git a/website/pages/it/developing/supported-networks.mdx b/website/src/pages/it/developing/supported-networks.mdx similarity index 100% rename from website/pages/it/developing/supported-networks.mdx rename to website/src/pages/it/developing/supported-networks.mdx diff --git a/website/pages/it/developing/unit-testing-framework.mdx b/website/src/pages/it/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/it/developing/unit-testing-framework.mdx rename to website/src/pages/it/developing/unit-testing-framework.mdx diff --git a/website/pages/it/docsearch.json b/website/src/pages/it/docsearch.json similarity index 100% rename from website/pages/it/docsearch.json rename to website/src/pages/it/docsearch.json diff --git a/website/pages/it/firehose.mdx b/website/src/pages/it/firehose.mdx similarity index 100% rename from website/pages/it/firehose.mdx rename to website/src/pages/it/firehose.mdx diff --git a/website/pages/it/global.json b/website/src/pages/it/global.json similarity index 89% rename from website/pages/it/global.json rename to website/src/pages/it/global.json index 07831b3b64a8..02f6f8453feb 100644 --- a/website/pages/it/global.json +++ b/website/src/pages/it/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Oops! Questa pagina è andata persa nello spazio...", "notFoundSubtitle": "Verifica se stai utilizzando l'indirizzo corretto o esplora il nostro sito web cliccando sul link qui sotto.", "goHome": "Torna alla pagina iniziale", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Iniziare" + } } diff --git a/website/pages/it/glossary.mdx b/website/src/pages/it/glossary.mdx similarity index 100% rename from website/pages/it/glossary.mdx rename to website/src/pages/it/glossary.mdx diff --git a/website/pages/it/graphcast.mdx b/website/src/pages/it/graphcast.mdx similarity index 100% rename from website/pages/it/graphcast.mdx rename to website/src/pages/it/graphcast.mdx diff --git a/website/pages/it/index.json b/website/src/pages/it/index.json similarity index 99% rename from website/pages/it/index.json rename to website/src/pages/it/index.json index 02af4531bba5..13bd04fffa82 100644 --- a/website/pages/it/index.json +++ b/website/src/pages/it/index.json @@ -1,5 +1,4 @@ { - "title": "Iniziare", "intro": "Learn about The Graph, a decentralized protocol for indexing and querying data from blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/it/managing/_meta.js b/website/src/pages/it/managing/_meta.js similarity index 100% rename from website/pages/it/managing/_meta.js rename to website/src/pages/it/managing/_meta.js diff --git a/website/pages/it/managing/deprecating-a-subgraph.mdx b/website/src/pages/it/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/it/managing/deprecating-a-subgraph.mdx rename to website/src/pages/it/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/it/managing/transferring-subgraph-ownership.mdx b/website/src/pages/it/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/it/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/it/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/it/mips-faqs.mdx b/website/src/pages/it/mips-faqs.mdx similarity index 100% rename from website/pages/it/mips-faqs.mdx rename to website/src/pages/it/mips-faqs.mdx diff --git a/website/pages/it/network/_meta.js b/website/src/pages/it/network/_meta.js similarity index 100% rename from website/pages/it/network/_meta.js rename to website/src/pages/it/network/_meta.js diff --git a/website/pages/it/network/benefits.mdx b/website/src/pages/it/network/benefits.mdx similarity index 100% rename from website/pages/it/network/benefits.mdx rename to website/src/pages/it/network/benefits.mdx diff --git a/website/pages/it/network/curating.mdx b/website/src/pages/it/network/curating.mdx similarity index 100% rename from website/pages/it/network/curating.mdx rename to website/src/pages/it/network/curating.mdx diff --git a/website/pages/it/network/delegating.mdx b/website/src/pages/it/network/delegating.mdx similarity index 100% rename from website/pages/it/network/delegating.mdx rename to website/src/pages/it/network/delegating.mdx diff --git a/website/pages/it/network/developing.mdx b/website/src/pages/it/network/developing.mdx similarity index 100% rename from website/pages/it/network/developing.mdx rename to website/src/pages/it/network/developing.mdx diff --git a/website/pages/it/network/explorer.mdx b/website/src/pages/it/network/explorer.mdx similarity index 100% rename from website/pages/it/network/explorer.mdx rename to website/src/pages/it/network/explorer.mdx diff --git a/website/pages/it/network/indexing.mdx b/website/src/pages/it/network/indexing.mdx similarity index 100% rename from website/pages/it/network/indexing.mdx rename to website/src/pages/it/network/indexing.mdx diff --git a/website/pages/it/network/overview.mdx b/website/src/pages/it/network/overview.mdx similarity index 100% rename from website/pages/it/network/overview.mdx rename to website/src/pages/it/network/overview.mdx diff --git a/website/pages/it/new-chain-integration.mdx b/website/src/pages/it/new-chain-integration.mdx similarity index 100% rename from website/pages/it/new-chain-integration.mdx rename to website/src/pages/it/new-chain-integration.mdx diff --git a/website/pages/it/operating-graph-node.mdx b/website/src/pages/it/operating-graph-node.mdx similarity index 100% rename from website/pages/it/operating-graph-node.mdx rename to website/src/pages/it/operating-graph-node.mdx diff --git a/website/pages/it/publishing/_meta.js b/website/src/pages/it/publishing/_meta.js similarity index 100% rename from website/pages/it/publishing/_meta.js rename to website/src/pages/it/publishing/_meta.js diff --git a/website/pages/it/publishing/publishing-a-subgraph.mdx b/website/src/pages/it/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/it/publishing/publishing-a-subgraph.mdx rename to website/src/pages/it/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/it/querying/_meta.js b/website/src/pages/it/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/it/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/it/querying/distributed-systems.mdx b/website/src/pages/it/querying/distributed-systems.mdx similarity index 100% rename from website/pages/it/querying/distributed-systems.mdx rename to website/src/pages/it/querying/distributed-systems.mdx diff --git a/website/pages/it/querying/graphql-api.mdx b/website/src/pages/it/querying/graphql-api.mdx similarity index 100% rename from website/pages/it/querying/graphql-api.mdx rename to website/src/pages/it/querying/graphql-api.mdx diff --git a/website/pages/it/querying/managing-api-keys.mdx b/website/src/pages/it/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/it/querying/managing-api-keys.mdx rename to website/src/pages/it/querying/managing-api-keys.mdx diff --git a/website/pages/it/querying/querying-best-practices.mdx b/website/src/pages/it/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/it/querying/querying-best-practices.mdx rename to website/src/pages/it/querying/querying-best-practices.mdx diff --git a/website/pages/it/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/it/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/it/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/it/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/it/querying/querying-from-an-application.mdx b/website/src/pages/it/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/it/querying/querying-from-an-application.mdx rename to website/src/pages/it/querying/querying-from-an-application.mdx diff --git a/website/pages/it/querying/querying-the-graph.mdx b/website/src/pages/it/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/it/querying/querying-the-graph.mdx rename to website/src/pages/it/querying/querying-the-graph.mdx diff --git a/website/pages/it/querying/querying-with-python.mdx b/website/src/pages/it/querying/querying-with-python.mdx similarity index 100% rename from website/pages/it/querying/querying-with-python.mdx rename to website/src/pages/it/querying/querying-with-python.mdx diff --git a/website/pages/it/quick-start.mdx b/website/src/pages/it/quick-start.mdx similarity index 100% rename from website/pages/it/quick-start.mdx rename to website/src/pages/it/quick-start.mdx diff --git a/website/pages/it/release-notes/_meta.js b/website/src/pages/it/release-notes/_meta.js similarity index 100% rename from website/pages/it/release-notes/_meta.js rename to website/src/pages/it/release-notes/_meta.js diff --git a/website/pages/it/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/it/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/it/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/it/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/it/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/it/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/it/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/it/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/it/substreams.mdx b/website/src/pages/it/substreams.mdx similarity index 100% rename from website/pages/it/substreams.mdx rename to website/src/pages/it/substreams.mdx diff --git a/website/pages/it/sunrise.mdx b/website/src/pages/it/sunrise.mdx similarity index 100% rename from website/pages/it/sunrise.mdx rename to website/src/pages/it/sunrise.mdx diff --git a/website/pages/it/supported-network-requirements.mdx b/website/src/pages/it/supported-network-requirements.mdx similarity index 100% rename from website/pages/it/supported-network-requirements.mdx rename to website/src/pages/it/supported-network-requirements.mdx diff --git a/website/pages/it/tokenomics.mdx b/website/src/pages/it/tokenomics.mdx similarity index 100% rename from website/pages/it/tokenomics.mdx rename to website/src/pages/it/tokenomics.mdx diff --git a/website/pages/it/translations.ts b/website/src/pages/it/translations.ts similarity index 100% rename from website/pages/it/translations.ts rename to website/src/pages/it/translations.ts diff --git a/website/pages/ja/about.mdx b/website/src/pages/ja/about.mdx similarity index 100% rename from website/pages/ja/about.mdx rename to website/src/pages/ja/about.mdx diff --git a/website/pages/ja/arbitrum/_meta.js b/website/src/pages/ja/arbitrum/_meta.js similarity index 100% rename from website/pages/ja/arbitrum/_meta.js rename to website/src/pages/ja/arbitrum/_meta.js diff --git a/website/pages/ja/arbitrum/arbitrum-faq.mdx b/website/src/pages/ja/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/ja/arbitrum/arbitrum-faq.mdx rename to website/src/pages/ja/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/ja/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/ja/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/ja/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/ja/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/ja/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/ja/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/ja/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/ja/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/ja/billing.mdx b/website/src/pages/ja/billing.mdx similarity index 100% rename from website/pages/ja/billing.mdx rename to website/src/pages/ja/billing.mdx diff --git a/website/pages/ja/chain-integration-overview.mdx b/website/src/pages/ja/chain-integration-overview.mdx similarity index 100% rename from website/pages/ja/chain-integration-overview.mdx rename to website/src/pages/ja/chain-integration-overview.mdx diff --git a/website/pages/ja/cookbook/_meta.js b/website/src/pages/ja/cookbook/_meta.js similarity index 100% rename from website/pages/ja/cookbook/_meta.js rename to website/src/pages/ja/cookbook/_meta.js diff --git a/website/pages/ja/cookbook/arweave.mdx b/website/src/pages/ja/cookbook/arweave.mdx similarity index 100% rename from website/pages/ja/cookbook/arweave.mdx rename to website/src/pages/ja/cookbook/arweave.mdx diff --git a/website/pages/ja/cookbook/base-testnet.mdx b/website/src/pages/ja/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/ja/cookbook/base-testnet.mdx rename to website/src/pages/ja/cookbook/base-testnet.mdx diff --git a/website/pages/ja/cookbook/cosmos.mdx b/website/src/pages/ja/cookbook/cosmos.mdx similarity index 100% rename from website/pages/ja/cookbook/cosmos.mdx rename to website/src/pages/ja/cookbook/cosmos.mdx diff --git a/website/pages/ja/cookbook/grafting.mdx b/website/src/pages/ja/cookbook/grafting.mdx similarity index 100% rename from website/pages/ja/cookbook/grafting.mdx rename to website/src/pages/ja/cookbook/grafting.mdx diff --git a/website/pages/ja/cookbook/near.mdx b/website/src/pages/ja/cookbook/near.mdx similarity index 100% rename from website/pages/ja/cookbook/near.mdx rename to website/src/pages/ja/cookbook/near.mdx diff --git a/website/pages/ja/cookbook/subgraph-debug-forking.mdx b/website/src/pages/ja/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/ja/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/ja/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/ja/cookbook/subgraph-uncrashable.mdx b/website/src/pages/ja/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/ja/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/ja/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/ja/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/ja/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/ja/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/ja/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/ja/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/ja/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/ja/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/ja/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/ja/deploying/_meta.js b/website/src/pages/ja/deploying/_meta.js similarity index 100% rename from website/pages/ja/deploying/_meta.js rename to website/src/pages/ja/deploying/_meta.js diff --git a/website/pages/ja/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/ja/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/ja/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/ja/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/ja/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/ja/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/ja/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/ja/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/ja/deploying/hosted-service.mdx b/website/src/pages/ja/deploying/hosted-service.mdx similarity index 100% rename from website/pages/ja/deploying/hosted-service.mdx rename to website/src/pages/ja/deploying/hosted-service.mdx diff --git a/website/pages/ja/deploying/subgraph-studio-faqs.mdx b/website/src/pages/ja/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/ja/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/ja/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/ja/deploying/subgraph-studio.mdx b/website/src/pages/ja/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/ja/deploying/subgraph-studio.mdx rename to website/src/pages/ja/deploying/subgraph-studio.mdx diff --git a/website/pages/ja/developing/_meta.js b/website/src/pages/ja/developing/_meta.js similarity index 100% rename from website/pages/ja/developing/_meta.js rename to website/src/pages/ja/developing/_meta.js diff --git a/website/pages/ja/developing/creating-a-subgraph.mdx b/website/src/pages/ja/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/ja/developing/creating-a-subgraph.mdx rename to website/src/pages/ja/developing/creating-a-subgraph.mdx diff --git a/website/pages/ja/developing/developer-faqs.mdx b/website/src/pages/ja/developing/developer-faqs.mdx similarity index 100% rename from website/pages/ja/developing/developer-faqs.mdx rename to website/src/pages/ja/developing/developer-faqs.mdx diff --git a/website/pages/ja/developing/graph-ts/api.mdx b/website/src/pages/ja/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/ja/developing/graph-ts/api.mdx rename to website/src/pages/ja/developing/graph-ts/api.mdx diff --git a/website/pages/ja/developing/graph-ts/common-issues.mdx b/website/src/pages/ja/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/ja/developing/graph-ts/common-issues.mdx rename to website/src/pages/ja/developing/graph-ts/common-issues.mdx diff --git a/website/pages/ja/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/ja/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/ja/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/ja/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/ja/developing/supported-networks.json b/website/src/pages/ja/developing/supported-networks.json similarity index 100% rename from website/pages/ja/developing/supported-networks.json rename to website/src/pages/ja/developing/supported-networks.json diff --git a/website/pages/ja/developing/supported-networks.mdx b/website/src/pages/ja/developing/supported-networks.mdx similarity index 100% rename from website/pages/ja/developing/supported-networks.mdx rename to website/src/pages/ja/developing/supported-networks.mdx diff --git a/website/pages/ja/developing/unit-testing-framework.mdx b/website/src/pages/ja/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/ja/developing/unit-testing-framework.mdx rename to website/src/pages/ja/developing/unit-testing-framework.mdx diff --git a/website/pages/ja/docsearch.json b/website/src/pages/ja/docsearch.json similarity index 100% rename from website/pages/ja/docsearch.json rename to website/src/pages/ja/docsearch.json diff --git a/website/pages/ja/firehose.mdx b/website/src/pages/ja/firehose.mdx similarity index 100% rename from website/pages/ja/firehose.mdx rename to website/src/pages/ja/firehose.mdx diff --git a/website/pages/ja/global.json b/website/src/pages/ja/global.json similarity index 55% rename from website/pages/ja/global.json rename to website/src/pages/ja/global.json index 8ed67b6b3916..239a35c9d4aa 100644 --- a/website/pages/ja/global.json +++ b/website/src/pages/ja/global.json @@ -10,5 +10,18 @@ "notFoundTitle": "おっとっと!このページはスペースで失われました...", "notFoundSubtitle": "以下のリンクをクリックして、正しいアドレスを使用しているかどうかを確認し、また、ウェブサイトをご覧ください。", "goHome": "家に帰れ", - "video": "ビデオ" + "video": "ビデオ", + "sidebar": { + "index": "始めましょう", + "network": "グラフネットワーク", + "subgraphs": "サブグラフ", + "developing": "現像", + "deploying": "展開する", + "publishing": "パブリッシング", + "managing": "管理します", + "querying": "クエリ", + "cookbook": "クックブック", + "releaseNotes": "リリースノート&アップグレードガイド", + "indexing": "インデキシング" + } } diff --git a/website/pages/ja/glossary.mdx b/website/src/pages/ja/glossary.mdx similarity index 100% rename from website/pages/ja/glossary.mdx rename to website/src/pages/ja/glossary.mdx diff --git a/website/pages/ja/graphcast.mdx b/website/src/pages/ja/graphcast.mdx similarity index 100% rename from website/pages/ja/graphcast.mdx rename to website/src/pages/ja/graphcast.mdx diff --git a/website/pages/ja/index.json b/website/src/pages/ja/index.json similarity index 98% rename from website/pages/ja/index.json rename to website/src/pages/ja/index.json index 6a8e3e36955a..aec4f6402b39 100644 --- a/website/pages/ja/index.json +++ b/website/src/pages/ja/index.json @@ -1,5 +1,4 @@ { - "title": "始めましょう", "intro": "ブロックチェーンのデータにインデックスを付けたり、クエリを実行するための分散型プロトコル「The Graph」についてご紹介します。", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/ja/managing/_meta.js b/website/src/pages/ja/managing/_meta.js similarity index 100% rename from website/pages/ja/managing/_meta.js rename to website/src/pages/ja/managing/_meta.js diff --git a/website/pages/ja/managing/deprecating-a-subgraph.mdx b/website/src/pages/ja/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/ja/managing/deprecating-a-subgraph.mdx rename to website/src/pages/ja/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/ja/managing/transferring-subgraph-ownership.mdx b/website/src/pages/ja/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/ja/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/ja/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/ja/mips-faqs.mdx b/website/src/pages/ja/mips-faqs.mdx similarity index 100% rename from website/pages/ja/mips-faqs.mdx rename to website/src/pages/ja/mips-faqs.mdx diff --git a/website/pages/ja/network/_meta.js b/website/src/pages/ja/network/_meta.js similarity index 100% rename from website/pages/ja/network/_meta.js rename to website/src/pages/ja/network/_meta.js diff --git a/website/pages/ja/network/benefits.mdx b/website/src/pages/ja/network/benefits.mdx similarity index 100% rename from website/pages/ja/network/benefits.mdx rename to website/src/pages/ja/network/benefits.mdx diff --git a/website/pages/ja/network/curating.mdx b/website/src/pages/ja/network/curating.mdx similarity index 100% rename from website/pages/ja/network/curating.mdx rename to website/src/pages/ja/network/curating.mdx diff --git a/website/pages/ja/network/delegating.mdx b/website/src/pages/ja/network/delegating.mdx similarity index 100% rename from website/pages/ja/network/delegating.mdx rename to website/src/pages/ja/network/delegating.mdx diff --git a/website/pages/ja/network/developing.mdx b/website/src/pages/ja/network/developing.mdx similarity index 100% rename from website/pages/ja/network/developing.mdx rename to website/src/pages/ja/network/developing.mdx diff --git a/website/pages/ja/network/explorer.mdx b/website/src/pages/ja/network/explorer.mdx similarity index 100% rename from website/pages/ja/network/explorer.mdx rename to website/src/pages/ja/network/explorer.mdx diff --git a/website/pages/ja/network/indexing.mdx b/website/src/pages/ja/network/indexing.mdx similarity index 100% rename from website/pages/ja/network/indexing.mdx rename to website/src/pages/ja/network/indexing.mdx diff --git a/website/pages/ja/network/overview.mdx b/website/src/pages/ja/network/overview.mdx similarity index 100% rename from website/pages/ja/network/overview.mdx rename to website/src/pages/ja/network/overview.mdx diff --git a/website/pages/ja/new-chain-integration.mdx b/website/src/pages/ja/new-chain-integration.mdx similarity index 100% rename from website/pages/ja/new-chain-integration.mdx rename to website/src/pages/ja/new-chain-integration.mdx diff --git a/website/pages/ja/operating-graph-node.mdx b/website/src/pages/ja/operating-graph-node.mdx similarity index 100% rename from website/pages/ja/operating-graph-node.mdx rename to website/src/pages/ja/operating-graph-node.mdx diff --git a/website/pages/ja/publishing/_meta.js b/website/src/pages/ja/publishing/_meta.js similarity index 100% rename from website/pages/ja/publishing/_meta.js rename to website/src/pages/ja/publishing/_meta.js diff --git a/website/pages/ja/publishing/publishing-a-subgraph.mdx b/website/src/pages/ja/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/ja/publishing/publishing-a-subgraph.mdx rename to website/src/pages/ja/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/ja/querying/_meta.js b/website/src/pages/ja/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/ja/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/ja/querying/distributed-systems.mdx b/website/src/pages/ja/querying/distributed-systems.mdx similarity index 100% rename from website/pages/ja/querying/distributed-systems.mdx rename to website/src/pages/ja/querying/distributed-systems.mdx diff --git a/website/pages/ja/querying/graphql-api.mdx b/website/src/pages/ja/querying/graphql-api.mdx similarity index 100% rename from website/pages/ja/querying/graphql-api.mdx rename to website/src/pages/ja/querying/graphql-api.mdx diff --git a/website/pages/ja/querying/managing-api-keys.mdx b/website/src/pages/ja/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/ja/querying/managing-api-keys.mdx rename to website/src/pages/ja/querying/managing-api-keys.mdx diff --git a/website/pages/ja/querying/querying-best-practices.mdx b/website/src/pages/ja/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/ja/querying/querying-best-practices.mdx rename to website/src/pages/ja/querying/querying-best-practices.mdx diff --git a/website/pages/ja/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/ja/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/ja/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/ja/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/ja/querying/querying-from-an-application.mdx b/website/src/pages/ja/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/ja/querying/querying-from-an-application.mdx rename to website/src/pages/ja/querying/querying-from-an-application.mdx diff --git a/website/pages/ja/querying/querying-the-graph.mdx b/website/src/pages/ja/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/ja/querying/querying-the-graph.mdx rename to website/src/pages/ja/querying/querying-the-graph.mdx diff --git a/website/pages/ja/querying/querying-with-python.mdx b/website/src/pages/ja/querying/querying-with-python.mdx similarity index 100% rename from website/pages/ja/querying/querying-with-python.mdx rename to website/src/pages/ja/querying/querying-with-python.mdx diff --git a/website/pages/ja/quick-start.mdx b/website/src/pages/ja/quick-start.mdx similarity index 100% rename from website/pages/ja/quick-start.mdx rename to website/src/pages/ja/quick-start.mdx diff --git a/website/pages/ja/release-notes/_meta.js b/website/src/pages/ja/release-notes/_meta.js similarity index 100% rename from website/pages/ja/release-notes/_meta.js rename to website/src/pages/ja/release-notes/_meta.js diff --git a/website/pages/ja/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/ja/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/ja/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/ja/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/ja/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/ja/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/ja/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/ja/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/ja/substreams.mdx b/website/src/pages/ja/substreams.mdx similarity index 100% rename from website/pages/ja/substreams.mdx rename to website/src/pages/ja/substreams.mdx diff --git a/website/pages/ja/sunrise.mdx b/website/src/pages/ja/sunrise.mdx similarity index 100% rename from website/pages/ja/sunrise.mdx rename to website/src/pages/ja/sunrise.mdx diff --git a/website/pages/ja/supported-network-requirements.mdx b/website/src/pages/ja/supported-network-requirements.mdx similarity index 100% rename from website/pages/ja/supported-network-requirements.mdx rename to website/src/pages/ja/supported-network-requirements.mdx diff --git a/website/pages/ja/tokenomics.mdx b/website/src/pages/ja/tokenomics.mdx similarity index 100% rename from website/pages/ja/tokenomics.mdx rename to website/src/pages/ja/tokenomics.mdx diff --git a/website/pages/ja/translations.ts b/website/src/pages/ja/translations.ts similarity index 100% rename from website/pages/ja/translations.ts rename to website/src/pages/ja/translations.ts diff --git a/website/pages/ko/about.mdx b/website/src/pages/ko/about.mdx similarity index 100% rename from website/pages/ko/about.mdx rename to website/src/pages/ko/about.mdx diff --git a/website/pages/ko/arbitrum/_meta.js b/website/src/pages/ko/arbitrum/_meta.js similarity index 100% rename from website/pages/ko/arbitrum/_meta.js rename to website/src/pages/ko/arbitrum/_meta.js diff --git a/website/pages/ko/arbitrum/arbitrum-faq.mdx b/website/src/pages/ko/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/ko/arbitrum/arbitrum-faq.mdx rename to website/src/pages/ko/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/ko/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/ko/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/ko/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/ko/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/ko/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/ko/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/ko/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/ko/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/ko/billing.mdx b/website/src/pages/ko/billing.mdx similarity index 100% rename from website/pages/ko/billing.mdx rename to website/src/pages/ko/billing.mdx diff --git a/website/pages/ko/chain-integration-overview.mdx b/website/src/pages/ko/chain-integration-overview.mdx similarity index 100% rename from website/pages/ko/chain-integration-overview.mdx rename to website/src/pages/ko/chain-integration-overview.mdx diff --git a/website/pages/ko/cookbook/_meta.js b/website/src/pages/ko/cookbook/_meta.js similarity index 100% rename from website/pages/ko/cookbook/_meta.js rename to website/src/pages/ko/cookbook/_meta.js diff --git a/website/pages/ko/cookbook/arweave.mdx b/website/src/pages/ko/cookbook/arweave.mdx similarity index 100% rename from website/pages/ko/cookbook/arweave.mdx rename to website/src/pages/ko/cookbook/arweave.mdx diff --git a/website/pages/ko/cookbook/base-testnet.mdx b/website/src/pages/ko/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/ko/cookbook/base-testnet.mdx rename to website/src/pages/ko/cookbook/base-testnet.mdx diff --git a/website/pages/ko/cookbook/cosmos.mdx b/website/src/pages/ko/cookbook/cosmos.mdx similarity index 100% rename from website/pages/ko/cookbook/cosmos.mdx rename to website/src/pages/ko/cookbook/cosmos.mdx diff --git a/website/pages/ko/cookbook/grafting.mdx b/website/src/pages/ko/cookbook/grafting.mdx similarity index 100% rename from website/pages/ko/cookbook/grafting.mdx rename to website/src/pages/ko/cookbook/grafting.mdx diff --git a/website/pages/ko/cookbook/near.mdx b/website/src/pages/ko/cookbook/near.mdx similarity index 100% rename from website/pages/ko/cookbook/near.mdx rename to website/src/pages/ko/cookbook/near.mdx diff --git a/website/pages/ko/cookbook/subgraph-debug-forking.mdx b/website/src/pages/ko/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/ko/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/ko/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/ko/cookbook/subgraph-uncrashable.mdx b/website/src/pages/ko/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/ko/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/ko/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/ko/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/ko/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/ko/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/ko/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/ko/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/ko/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/ko/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/ko/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/ko/deploying/_meta.js b/website/src/pages/ko/deploying/_meta.js similarity index 100% rename from website/pages/ko/deploying/_meta.js rename to website/src/pages/ko/deploying/_meta.js diff --git a/website/pages/ko/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/ko/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/ko/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/ko/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/ko/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/ko/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/ko/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/ko/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/ko/deploying/hosted-service.mdx b/website/src/pages/ko/deploying/hosted-service.mdx similarity index 100% rename from website/pages/ko/deploying/hosted-service.mdx rename to website/src/pages/ko/deploying/hosted-service.mdx diff --git a/website/pages/ko/deploying/subgraph-studio-faqs.mdx b/website/src/pages/ko/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/ko/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/ko/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/ko/deploying/subgraph-studio.mdx b/website/src/pages/ko/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/ko/deploying/subgraph-studio.mdx rename to website/src/pages/ko/deploying/subgraph-studio.mdx diff --git a/website/pages/ko/developing/_meta.js b/website/src/pages/ko/developing/_meta.js similarity index 100% rename from website/pages/ko/developing/_meta.js rename to website/src/pages/ko/developing/_meta.js diff --git a/website/pages/ko/developing/creating-a-subgraph.mdx b/website/src/pages/ko/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/ko/developing/creating-a-subgraph.mdx rename to website/src/pages/ko/developing/creating-a-subgraph.mdx diff --git a/website/pages/ko/developing/developer-faqs.mdx b/website/src/pages/ko/developing/developer-faqs.mdx similarity index 100% rename from website/pages/ko/developing/developer-faqs.mdx rename to website/src/pages/ko/developing/developer-faqs.mdx diff --git a/website/pages/ko/developing/graph-ts/api.mdx b/website/src/pages/ko/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/ko/developing/graph-ts/api.mdx rename to website/src/pages/ko/developing/graph-ts/api.mdx diff --git a/website/pages/ha/developing/graph-ts/common-issues.mdx b/website/src/pages/ko/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/ha/developing/graph-ts/common-issues.mdx rename to website/src/pages/ko/developing/graph-ts/common-issues.mdx diff --git a/website/pages/ko/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/ko/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/ko/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/ko/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/ko/developing/supported-networks.json b/website/src/pages/ko/developing/supported-networks.json similarity index 100% rename from website/pages/ko/developing/supported-networks.json rename to website/src/pages/ko/developing/supported-networks.json diff --git a/website/pages/ko/developing/supported-networks.mdx b/website/src/pages/ko/developing/supported-networks.mdx similarity index 100% rename from website/pages/ko/developing/supported-networks.mdx rename to website/src/pages/ko/developing/supported-networks.mdx diff --git a/website/pages/ko/developing/unit-testing-framework.mdx b/website/src/pages/ko/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/ko/developing/unit-testing-framework.mdx rename to website/src/pages/ko/developing/unit-testing-framework.mdx diff --git a/website/pages/ko/docsearch.json b/website/src/pages/ko/docsearch.json similarity index 100% rename from website/pages/ko/docsearch.json rename to website/src/pages/ko/docsearch.json diff --git a/website/pages/ko/firehose.mdx b/website/src/pages/ko/firehose.mdx similarity index 100% rename from website/pages/ko/firehose.mdx rename to website/src/pages/ko/firehose.mdx diff --git a/website/pages/cs/global.json b/website/src/pages/ko/global.json similarity index 87% rename from website/pages/cs/global.json rename to website/src/pages/ko/global.json index 6a3eb234bfce..e8e2472b1be5 100644 --- a/website/pages/cs/global.json +++ b/website/src/pages/ko/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Oops! This page was lost in space...", "notFoundSubtitle": "Check if you’re using the right address or explore our website by clicking on the link below.", "goHome": "Go Home", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Get Started" + } } diff --git a/website/pages/ko/glossary.mdx b/website/src/pages/ko/glossary.mdx similarity index 100% rename from website/pages/ko/glossary.mdx rename to website/src/pages/ko/glossary.mdx diff --git a/website/pages/ko/graphcast.mdx b/website/src/pages/ko/graphcast.mdx similarity index 100% rename from website/pages/ko/graphcast.mdx rename to website/src/pages/ko/graphcast.mdx diff --git a/website/pages/ko/index.json b/website/src/pages/ko/index.json similarity index 98% rename from website/pages/ko/index.json rename to website/src/pages/ko/index.json index cac80059433b..0753057ed033 100644 --- a/website/pages/ko/index.json +++ b/website/src/pages/ko/index.json @@ -1,5 +1,4 @@ { - "title": "Get Started", "intro": "Learn about The Graph, a decentralized protocol for indexing and querying data from blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/ko/managing/_meta.js b/website/src/pages/ko/managing/_meta.js similarity index 100% rename from website/pages/ko/managing/_meta.js rename to website/src/pages/ko/managing/_meta.js diff --git a/website/pages/ko/managing/deprecating-a-subgraph.mdx b/website/src/pages/ko/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/ko/managing/deprecating-a-subgraph.mdx rename to website/src/pages/ko/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/ko/managing/transferring-subgraph-ownership.mdx b/website/src/pages/ko/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/ko/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/ko/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/ko/mips-faqs.mdx b/website/src/pages/ko/mips-faqs.mdx similarity index 100% rename from website/pages/ko/mips-faqs.mdx rename to website/src/pages/ko/mips-faqs.mdx diff --git a/website/pages/ko/network/_meta.js b/website/src/pages/ko/network/_meta.js similarity index 100% rename from website/pages/ko/network/_meta.js rename to website/src/pages/ko/network/_meta.js diff --git a/website/pages/ko/network/benefits.mdx b/website/src/pages/ko/network/benefits.mdx similarity index 100% rename from website/pages/ko/network/benefits.mdx rename to website/src/pages/ko/network/benefits.mdx diff --git a/website/pages/ko/network/curating.mdx b/website/src/pages/ko/network/curating.mdx similarity index 100% rename from website/pages/ko/network/curating.mdx rename to website/src/pages/ko/network/curating.mdx diff --git a/website/pages/ko/network/delegating.mdx b/website/src/pages/ko/network/delegating.mdx similarity index 100% rename from website/pages/ko/network/delegating.mdx rename to website/src/pages/ko/network/delegating.mdx diff --git a/website/pages/ko/network/developing.mdx b/website/src/pages/ko/network/developing.mdx similarity index 100% rename from website/pages/ko/network/developing.mdx rename to website/src/pages/ko/network/developing.mdx diff --git a/website/pages/ko/network/explorer.mdx b/website/src/pages/ko/network/explorer.mdx similarity index 100% rename from website/pages/ko/network/explorer.mdx rename to website/src/pages/ko/network/explorer.mdx diff --git a/website/pages/ko/network/indexing.mdx b/website/src/pages/ko/network/indexing.mdx similarity index 100% rename from website/pages/ko/network/indexing.mdx rename to website/src/pages/ko/network/indexing.mdx diff --git a/website/pages/ko/network/overview.mdx b/website/src/pages/ko/network/overview.mdx similarity index 100% rename from website/pages/ko/network/overview.mdx rename to website/src/pages/ko/network/overview.mdx diff --git a/website/pages/ko/new-chain-integration.mdx b/website/src/pages/ko/new-chain-integration.mdx similarity index 100% rename from website/pages/ko/new-chain-integration.mdx rename to website/src/pages/ko/new-chain-integration.mdx diff --git a/website/pages/ko/operating-graph-node.mdx b/website/src/pages/ko/operating-graph-node.mdx similarity index 100% rename from website/pages/ko/operating-graph-node.mdx rename to website/src/pages/ko/operating-graph-node.mdx diff --git a/website/pages/ko/publishing/_meta.js b/website/src/pages/ko/publishing/_meta.js similarity index 100% rename from website/pages/ko/publishing/_meta.js rename to website/src/pages/ko/publishing/_meta.js diff --git a/website/pages/ko/publishing/publishing-a-subgraph.mdx b/website/src/pages/ko/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/ko/publishing/publishing-a-subgraph.mdx rename to website/src/pages/ko/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/ko/querying/_meta.js b/website/src/pages/ko/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/ko/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/ko/querying/distributed-systems.mdx b/website/src/pages/ko/querying/distributed-systems.mdx similarity index 100% rename from website/pages/ko/querying/distributed-systems.mdx rename to website/src/pages/ko/querying/distributed-systems.mdx diff --git a/website/pages/ko/querying/graphql-api.mdx b/website/src/pages/ko/querying/graphql-api.mdx similarity index 100% rename from website/pages/ko/querying/graphql-api.mdx rename to website/src/pages/ko/querying/graphql-api.mdx diff --git a/website/pages/ko/querying/managing-api-keys.mdx b/website/src/pages/ko/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/ko/querying/managing-api-keys.mdx rename to website/src/pages/ko/querying/managing-api-keys.mdx diff --git a/website/pages/ko/querying/querying-best-practices.mdx b/website/src/pages/ko/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/ko/querying/querying-best-practices.mdx rename to website/src/pages/ko/querying/querying-best-practices.mdx diff --git a/website/pages/ko/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/ko/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/ko/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/ko/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/ko/querying/querying-from-an-application.mdx b/website/src/pages/ko/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/ko/querying/querying-from-an-application.mdx rename to website/src/pages/ko/querying/querying-from-an-application.mdx diff --git a/website/pages/ko/querying/querying-the-graph.mdx b/website/src/pages/ko/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/ko/querying/querying-the-graph.mdx rename to website/src/pages/ko/querying/querying-the-graph.mdx diff --git a/website/pages/ha/querying/querying-with-python.mdx b/website/src/pages/ko/querying/querying-with-python.mdx similarity index 100% rename from website/pages/ha/querying/querying-with-python.mdx rename to website/src/pages/ko/querying/querying-with-python.mdx diff --git a/website/pages/ko/quick-start.mdx b/website/src/pages/ko/quick-start.mdx similarity index 100% rename from website/pages/ko/quick-start.mdx rename to website/src/pages/ko/quick-start.mdx diff --git a/website/pages/ko/release-notes/_meta.js b/website/src/pages/ko/release-notes/_meta.js similarity index 100% rename from website/pages/ko/release-notes/_meta.js rename to website/src/pages/ko/release-notes/_meta.js diff --git a/website/pages/ko/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/ko/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/ko/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/ko/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/ko/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/ko/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/ko/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/ko/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/ko/substreams.mdx b/website/src/pages/ko/substreams.mdx similarity index 100% rename from website/pages/ko/substreams.mdx rename to website/src/pages/ko/substreams.mdx diff --git a/website/pages/ko/sunrise.mdx b/website/src/pages/ko/sunrise.mdx similarity index 100% rename from website/pages/ko/sunrise.mdx rename to website/src/pages/ko/sunrise.mdx diff --git a/website/pages/ko/supported-network-requirements.mdx b/website/src/pages/ko/supported-network-requirements.mdx similarity index 100% rename from website/pages/ko/supported-network-requirements.mdx rename to website/src/pages/ko/supported-network-requirements.mdx diff --git a/website/pages/ko/tokenomics.mdx b/website/src/pages/ko/tokenomics.mdx similarity index 100% rename from website/pages/ko/tokenomics.mdx rename to website/src/pages/ko/tokenomics.mdx diff --git a/website/pages/ko/translations.ts b/website/src/pages/ko/translations.ts similarity index 100% rename from website/pages/ko/translations.ts rename to website/src/pages/ko/translations.ts diff --git a/website/pages/mr/about.mdx b/website/src/pages/mr/about.mdx similarity index 100% rename from website/pages/mr/about.mdx rename to website/src/pages/mr/about.mdx diff --git a/website/pages/mr/arbitrum/_meta.js b/website/src/pages/mr/arbitrum/_meta.js similarity index 100% rename from website/pages/mr/arbitrum/_meta.js rename to website/src/pages/mr/arbitrum/_meta.js diff --git a/website/pages/mr/arbitrum/arbitrum-faq.mdx b/website/src/pages/mr/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/mr/arbitrum/arbitrum-faq.mdx rename to website/src/pages/mr/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/mr/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/mr/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/mr/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/mr/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/mr/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/mr/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/mr/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/mr/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/mr/billing.mdx b/website/src/pages/mr/billing.mdx similarity index 100% rename from website/pages/mr/billing.mdx rename to website/src/pages/mr/billing.mdx diff --git a/website/pages/mr/chain-integration-overview.mdx b/website/src/pages/mr/chain-integration-overview.mdx similarity index 100% rename from website/pages/mr/chain-integration-overview.mdx rename to website/src/pages/mr/chain-integration-overview.mdx diff --git a/website/pages/mr/cookbook/_meta.js b/website/src/pages/mr/cookbook/_meta.js similarity index 100% rename from website/pages/mr/cookbook/_meta.js rename to website/src/pages/mr/cookbook/_meta.js diff --git a/website/pages/mr/cookbook/arweave.mdx b/website/src/pages/mr/cookbook/arweave.mdx similarity index 100% rename from website/pages/mr/cookbook/arweave.mdx rename to website/src/pages/mr/cookbook/arweave.mdx diff --git a/website/pages/mr/cookbook/base-testnet.mdx b/website/src/pages/mr/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/mr/cookbook/base-testnet.mdx rename to website/src/pages/mr/cookbook/base-testnet.mdx diff --git a/website/pages/mr/cookbook/cosmos.mdx b/website/src/pages/mr/cookbook/cosmos.mdx similarity index 100% rename from website/pages/mr/cookbook/cosmos.mdx rename to website/src/pages/mr/cookbook/cosmos.mdx diff --git a/website/pages/mr/cookbook/grafting.mdx b/website/src/pages/mr/cookbook/grafting.mdx similarity index 100% rename from website/pages/mr/cookbook/grafting.mdx rename to website/src/pages/mr/cookbook/grafting.mdx diff --git a/website/pages/mr/cookbook/near.mdx b/website/src/pages/mr/cookbook/near.mdx similarity index 100% rename from website/pages/mr/cookbook/near.mdx rename to website/src/pages/mr/cookbook/near.mdx diff --git a/website/pages/mr/cookbook/subgraph-debug-forking.mdx b/website/src/pages/mr/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/mr/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/mr/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/mr/cookbook/subgraph-uncrashable.mdx b/website/src/pages/mr/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/mr/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/mr/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/mr/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/mr/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/mr/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/mr/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/mr/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/mr/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/mr/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/mr/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/mr/deploying/_meta.js b/website/src/pages/mr/deploying/_meta.js similarity index 100% rename from website/pages/mr/deploying/_meta.js rename to website/src/pages/mr/deploying/_meta.js diff --git a/website/pages/mr/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/mr/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/mr/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/mr/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/mr/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/mr/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/mr/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/mr/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/mr/deploying/hosted-service.mdx b/website/src/pages/mr/deploying/hosted-service.mdx similarity index 100% rename from website/pages/mr/deploying/hosted-service.mdx rename to website/src/pages/mr/deploying/hosted-service.mdx diff --git a/website/pages/mr/deploying/subgraph-studio-faqs.mdx b/website/src/pages/mr/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/mr/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/mr/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/mr/deploying/subgraph-studio.mdx b/website/src/pages/mr/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/mr/deploying/subgraph-studio.mdx rename to website/src/pages/mr/deploying/subgraph-studio.mdx diff --git a/website/pages/mr/developing/_meta.js b/website/src/pages/mr/developing/_meta.js similarity index 100% rename from website/pages/mr/developing/_meta.js rename to website/src/pages/mr/developing/_meta.js diff --git a/website/pages/mr/developing/creating-a-subgraph.mdx b/website/src/pages/mr/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/mr/developing/creating-a-subgraph.mdx rename to website/src/pages/mr/developing/creating-a-subgraph.mdx diff --git a/website/pages/mr/developing/developer-faqs.mdx b/website/src/pages/mr/developing/developer-faqs.mdx similarity index 100% rename from website/pages/mr/developing/developer-faqs.mdx rename to website/src/pages/mr/developing/developer-faqs.mdx diff --git a/website/pages/mr/developing/graph-ts/api.mdx b/website/src/pages/mr/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/mr/developing/graph-ts/api.mdx rename to website/src/pages/mr/developing/graph-ts/api.mdx diff --git a/website/pages/mr/developing/graph-ts/common-issues.mdx b/website/src/pages/mr/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/mr/developing/graph-ts/common-issues.mdx rename to website/src/pages/mr/developing/graph-ts/common-issues.mdx diff --git a/website/pages/mr/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/mr/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/mr/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/mr/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/mr/developing/supported-networks.json b/website/src/pages/mr/developing/supported-networks.json similarity index 100% rename from website/pages/mr/developing/supported-networks.json rename to website/src/pages/mr/developing/supported-networks.json diff --git a/website/pages/mr/developing/supported-networks.mdx b/website/src/pages/mr/developing/supported-networks.mdx similarity index 100% rename from website/pages/mr/developing/supported-networks.mdx rename to website/src/pages/mr/developing/supported-networks.mdx diff --git a/website/pages/mr/developing/unit-testing-framework.mdx b/website/src/pages/mr/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/mr/developing/unit-testing-framework.mdx rename to website/src/pages/mr/developing/unit-testing-framework.mdx diff --git a/website/pages/mr/docsearch.json b/website/src/pages/mr/docsearch.json similarity index 100% rename from website/pages/mr/docsearch.json rename to website/src/pages/mr/docsearch.json diff --git a/website/pages/mr/firehose.mdx b/website/src/pages/mr/firehose.mdx similarity index 100% rename from website/pages/mr/firehose.mdx rename to website/src/pages/mr/firehose.mdx diff --git a/website/pages/mr/global.json b/website/src/pages/mr/global.json similarity index 89% rename from website/pages/mr/global.json rename to website/src/pages/mr/global.json index 67a6e36d9852..12a95ddcda30 100644 --- a/website/pages/mr/global.json +++ b/website/src/pages/mr/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "अरेरे! हे पान जागेत हरवले होते...", "notFoundSubtitle": "तुम्ही योग्य पत्ता वापरत आहात का ते तपासा किंवा खालील लिंकवर क्लिक करून आमची वेबसाइट एक्सप्लोर करा.", "goHome": "घरी जा", - "video": "व्हिडिओ" + "video": "व्हिडिओ", + "sidebar": { + "index": "सुरु करूया" + } } diff --git a/website/pages/mr/glossary.mdx b/website/src/pages/mr/glossary.mdx similarity index 100% rename from website/pages/mr/glossary.mdx rename to website/src/pages/mr/glossary.mdx diff --git a/website/pages/mr/graphcast.mdx b/website/src/pages/mr/graphcast.mdx similarity index 100% rename from website/pages/mr/graphcast.mdx rename to website/src/pages/mr/graphcast.mdx diff --git a/website/pages/mr/index.json b/website/src/pages/mr/index.json similarity index 98% rename from website/pages/mr/index.json rename to website/src/pages/mr/index.json index 56bb0de7aa67..670d705d4fff 100644 --- a/website/pages/mr/index.json +++ b/website/src/pages/mr/index.json @@ -1,5 +1,4 @@ { - "title": "सुरु करूया", "intro": "द ग्राफ बद्दल जाणून घ्या, ब्लॉकचेन वरून डेटा अनुक्रमित करण्यासाठी आणि क्वेरी करण्यासाठी विकेंद्रित प्रोटोकॉल.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/mr/managing/_meta.js b/website/src/pages/mr/managing/_meta.js similarity index 100% rename from website/pages/mr/managing/_meta.js rename to website/src/pages/mr/managing/_meta.js diff --git a/website/pages/mr/managing/deprecating-a-subgraph.mdx b/website/src/pages/mr/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/mr/managing/deprecating-a-subgraph.mdx rename to website/src/pages/mr/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/mr/managing/transferring-subgraph-ownership.mdx b/website/src/pages/mr/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/mr/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/mr/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/mr/mips-faqs.mdx b/website/src/pages/mr/mips-faqs.mdx similarity index 100% rename from website/pages/mr/mips-faqs.mdx rename to website/src/pages/mr/mips-faqs.mdx diff --git a/website/pages/mr/network/_meta.js b/website/src/pages/mr/network/_meta.js similarity index 100% rename from website/pages/mr/network/_meta.js rename to website/src/pages/mr/network/_meta.js diff --git a/website/pages/mr/network/benefits.mdx b/website/src/pages/mr/network/benefits.mdx similarity index 100% rename from website/pages/mr/network/benefits.mdx rename to website/src/pages/mr/network/benefits.mdx diff --git a/website/pages/mr/network/curating.mdx b/website/src/pages/mr/network/curating.mdx similarity index 100% rename from website/pages/mr/network/curating.mdx rename to website/src/pages/mr/network/curating.mdx diff --git a/website/pages/mr/network/delegating.mdx b/website/src/pages/mr/network/delegating.mdx similarity index 100% rename from website/pages/mr/network/delegating.mdx rename to website/src/pages/mr/network/delegating.mdx diff --git a/website/pages/mr/network/developing.mdx b/website/src/pages/mr/network/developing.mdx similarity index 100% rename from website/pages/mr/network/developing.mdx rename to website/src/pages/mr/network/developing.mdx diff --git a/website/pages/mr/network/explorer.mdx b/website/src/pages/mr/network/explorer.mdx similarity index 100% rename from website/pages/mr/network/explorer.mdx rename to website/src/pages/mr/network/explorer.mdx diff --git a/website/pages/mr/network/indexing.mdx b/website/src/pages/mr/network/indexing.mdx similarity index 100% rename from website/pages/mr/network/indexing.mdx rename to website/src/pages/mr/network/indexing.mdx diff --git a/website/pages/mr/network/overview.mdx b/website/src/pages/mr/network/overview.mdx similarity index 100% rename from website/pages/mr/network/overview.mdx rename to website/src/pages/mr/network/overview.mdx diff --git a/website/pages/mr/new-chain-integration.mdx b/website/src/pages/mr/new-chain-integration.mdx similarity index 100% rename from website/pages/mr/new-chain-integration.mdx rename to website/src/pages/mr/new-chain-integration.mdx diff --git a/website/pages/mr/operating-graph-node.mdx b/website/src/pages/mr/operating-graph-node.mdx similarity index 100% rename from website/pages/mr/operating-graph-node.mdx rename to website/src/pages/mr/operating-graph-node.mdx diff --git a/website/pages/mr/publishing/_meta.js b/website/src/pages/mr/publishing/_meta.js similarity index 100% rename from website/pages/mr/publishing/_meta.js rename to website/src/pages/mr/publishing/_meta.js diff --git a/website/pages/mr/publishing/publishing-a-subgraph.mdx b/website/src/pages/mr/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/mr/publishing/publishing-a-subgraph.mdx rename to website/src/pages/mr/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/mr/querying/_meta.js b/website/src/pages/mr/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/mr/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/mr/querying/distributed-systems.mdx b/website/src/pages/mr/querying/distributed-systems.mdx similarity index 100% rename from website/pages/mr/querying/distributed-systems.mdx rename to website/src/pages/mr/querying/distributed-systems.mdx diff --git a/website/pages/mr/querying/graphql-api.mdx b/website/src/pages/mr/querying/graphql-api.mdx similarity index 100% rename from website/pages/mr/querying/graphql-api.mdx rename to website/src/pages/mr/querying/graphql-api.mdx diff --git a/website/pages/mr/querying/managing-api-keys.mdx b/website/src/pages/mr/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/mr/querying/managing-api-keys.mdx rename to website/src/pages/mr/querying/managing-api-keys.mdx diff --git a/website/pages/mr/querying/querying-best-practices.mdx b/website/src/pages/mr/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/mr/querying/querying-best-practices.mdx rename to website/src/pages/mr/querying/querying-best-practices.mdx diff --git a/website/pages/mr/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/mr/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/mr/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/mr/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/mr/querying/querying-from-an-application.mdx b/website/src/pages/mr/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/mr/querying/querying-from-an-application.mdx rename to website/src/pages/mr/querying/querying-from-an-application.mdx diff --git a/website/pages/mr/querying/querying-the-graph.mdx b/website/src/pages/mr/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/mr/querying/querying-the-graph.mdx rename to website/src/pages/mr/querying/querying-the-graph.mdx diff --git a/website/pages/mr/querying/querying-with-python.mdx b/website/src/pages/mr/querying/querying-with-python.mdx similarity index 100% rename from website/pages/mr/querying/querying-with-python.mdx rename to website/src/pages/mr/querying/querying-with-python.mdx diff --git a/website/pages/mr/quick-start.mdx b/website/src/pages/mr/quick-start.mdx similarity index 100% rename from website/pages/mr/quick-start.mdx rename to website/src/pages/mr/quick-start.mdx diff --git a/website/pages/mr/release-notes/_meta.js b/website/src/pages/mr/release-notes/_meta.js similarity index 100% rename from website/pages/mr/release-notes/_meta.js rename to website/src/pages/mr/release-notes/_meta.js diff --git a/website/pages/mr/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/mr/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/mr/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/mr/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/mr/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/mr/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/mr/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/mr/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/mr/substreams.mdx b/website/src/pages/mr/substreams.mdx similarity index 100% rename from website/pages/mr/substreams.mdx rename to website/src/pages/mr/substreams.mdx diff --git a/website/pages/mr/sunrise.mdx b/website/src/pages/mr/sunrise.mdx similarity index 100% rename from website/pages/mr/sunrise.mdx rename to website/src/pages/mr/sunrise.mdx diff --git a/website/pages/mr/supported-network-requirements.mdx b/website/src/pages/mr/supported-network-requirements.mdx similarity index 100% rename from website/pages/mr/supported-network-requirements.mdx rename to website/src/pages/mr/supported-network-requirements.mdx diff --git a/website/pages/mr/tokenomics.mdx b/website/src/pages/mr/tokenomics.mdx similarity index 100% rename from website/pages/mr/tokenomics.mdx rename to website/src/pages/mr/tokenomics.mdx diff --git a/website/pages/mr/translations.ts b/website/src/pages/mr/translations.ts similarity index 100% rename from website/pages/mr/translations.ts rename to website/src/pages/mr/translations.ts diff --git a/website/pages/nl/about.mdx b/website/src/pages/nl/about.mdx similarity index 100% rename from website/pages/nl/about.mdx rename to website/src/pages/nl/about.mdx diff --git a/website/pages/nl/arbitrum/_meta.js b/website/src/pages/nl/arbitrum/_meta.js similarity index 100% rename from website/pages/nl/arbitrum/_meta.js rename to website/src/pages/nl/arbitrum/_meta.js diff --git a/website/pages/nl/arbitrum/arbitrum-faq.mdx b/website/src/pages/nl/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/nl/arbitrum/arbitrum-faq.mdx rename to website/src/pages/nl/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/nl/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/nl/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/nl/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/nl/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/nl/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/nl/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/nl/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/nl/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/nl/billing.mdx b/website/src/pages/nl/billing.mdx similarity index 100% rename from website/pages/nl/billing.mdx rename to website/src/pages/nl/billing.mdx diff --git a/website/pages/nl/chain-integration-overview.mdx b/website/src/pages/nl/chain-integration-overview.mdx similarity index 100% rename from website/pages/nl/chain-integration-overview.mdx rename to website/src/pages/nl/chain-integration-overview.mdx diff --git a/website/pages/nl/cookbook/_meta.js b/website/src/pages/nl/cookbook/_meta.js similarity index 100% rename from website/pages/nl/cookbook/_meta.js rename to website/src/pages/nl/cookbook/_meta.js diff --git a/website/pages/nl/cookbook/arweave.mdx b/website/src/pages/nl/cookbook/arweave.mdx similarity index 100% rename from website/pages/nl/cookbook/arweave.mdx rename to website/src/pages/nl/cookbook/arweave.mdx diff --git a/website/pages/nl/cookbook/base-testnet.mdx b/website/src/pages/nl/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/nl/cookbook/base-testnet.mdx rename to website/src/pages/nl/cookbook/base-testnet.mdx diff --git a/website/pages/nl/cookbook/cosmos.mdx b/website/src/pages/nl/cookbook/cosmos.mdx similarity index 100% rename from website/pages/nl/cookbook/cosmos.mdx rename to website/src/pages/nl/cookbook/cosmos.mdx diff --git a/website/pages/nl/cookbook/grafting.mdx b/website/src/pages/nl/cookbook/grafting.mdx similarity index 100% rename from website/pages/nl/cookbook/grafting.mdx rename to website/src/pages/nl/cookbook/grafting.mdx diff --git a/website/pages/nl/cookbook/near.mdx b/website/src/pages/nl/cookbook/near.mdx similarity index 100% rename from website/pages/nl/cookbook/near.mdx rename to website/src/pages/nl/cookbook/near.mdx diff --git a/website/pages/nl/cookbook/subgraph-debug-forking.mdx b/website/src/pages/nl/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/nl/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/nl/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/nl/cookbook/subgraph-uncrashable.mdx b/website/src/pages/nl/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/nl/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/nl/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/nl/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/nl/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/nl/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/nl/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/nl/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/nl/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/nl/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/nl/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/nl/deploying/_meta.js b/website/src/pages/nl/deploying/_meta.js similarity index 100% rename from website/pages/nl/deploying/_meta.js rename to website/src/pages/nl/deploying/_meta.js diff --git a/website/pages/nl/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/nl/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/nl/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/nl/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/nl/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/nl/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/nl/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/nl/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/nl/deploying/hosted-service.mdx b/website/src/pages/nl/deploying/hosted-service.mdx similarity index 100% rename from website/pages/nl/deploying/hosted-service.mdx rename to website/src/pages/nl/deploying/hosted-service.mdx diff --git a/website/pages/nl/deploying/subgraph-studio-faqs.mdx b/website/src/pages/nl/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/nl/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/nl/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/nl/deploying/subgraph-studio.mdx b/website/src/pages/nl/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/nl/deploying/subgraph-studio.mdx rename to website/src/pages/nl/deploying/subgraph-studio.mdx diff --git a/website/pages/nl/developing/_meta.js b/website/src/pages/nl/developing/_meta.js similarity index 100% rename from website/pages/nl/developing/_meta.js rename to website/src/pages/nl/developing/_meta.js diff --git a/website/pages/nl/developing/creating-a-subgraph.mdx b/website/src/pages/nl/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/nl/developing/creating-a-subgraph.mdx rename to website/src/pages/nl/developing/creating-a-subgraph.mdx diff --git a/website/pages/nl/developing/developer-faqs.mdx b/website/src/pages/nl/developing/developer-faqs.mdx similarity index 100% rename from website/pages/nl/developing/developer-faqs.mdx rename to website/src/pages/nl/developing/developer-faqs.mdx diff --git a/website/pages/nl/developing/graph-ts/api.mdx b/website/src/pages/nl/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/nl/developing/graph-ts/api.mdx rename to website/src/pages/nl/developing/graph-ts/api.mdx diff --git a/website/pages/ko/developing/graph-ts/common-issues.mdx b/website/src/pages/nl/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/ko/developing/graph-ts/common-issues.mdx rename to website/src/pages/nl/developing/graph-ts/common-issues.mdx diff --git a/website/pages/nl/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/nl/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/nl/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/nl/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/nl/developing/supported-networks.json b/website/src/pages/nl/developing/supported-networks.json similarity index 100% rename from website/pages/nl/developing/supported-networks.json rename to website/src/pages/nl/developing/supported-networks.json diff --git a/website/pages/nl/developing/supported-networks.mdx b/website/src/pages/nl/developing/supported-networks.mdx similarity index 100% rename from website/pages/nl/developing/supported-networks.mdx rename to website/src/pages/nl/developing/supported-networks.mdx diff --git a/website/pages/nl/developing/unit-testing-framework.mdx b/website/src/pages/nl/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/nl/developing/unit-testing-framework.mdx rename to website/src/pages/nl/developing/unit-testing-framework.mdx diff --git a/website/pages/nl/docsearch.json b/website/src/pages/nl/docsearch.json similarity index 100% rename from website/pages/nl/docsearch.json rename to website/src/pages/nl/docsearch.json diff --git a/website/pages/nl/firehose.mdx b/website/src/pages/nl/firehose.mdx similarity index 100% rename from website/pages/nl/firehose.mdx rename to website/src/pages/nl/firehose.mdx diff --git a/website/pages/nl/global.json b/website/src/pages/nl/global.json similarity index 89% rename from website/pages/nl/global.json rename to website/src/pages/nl/global.json index 199a069285a4..d8da49864970 100644 --- a/website/pages/nl/global.json +++ b/website/src/pages/nl/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Oeps! Deze pagina is in de ruimte verloren gegaan...", "notFoundSubtitle": "Controleer of je het juiste adres gebruikt of navigeer onze website door op de link hieronder te clicken.", "goHome": "Naar De Home Pagina Gaan", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Begin" + } } diff --git a/website/pages/nl/glossary.mdx b/website/src/pages/nl/glossary.mdx similarity index 100% rename from website/pages/nl/glossary.mdx rename to website/src/pages/nl/glossary.mdx diff --git a/website/pages/nl/graphcast.mdx b/website/src/pages/nl/graphcast.mdx similarity index 100% rename from website/pages/nl/graphcast.mdx rename to website/src/pages/nl/graphcast.mdx diff --git a/website/pages/nl/index.json b/website/src/pages/nl/index.json similarity index 99% rename from website/pages/nl/index.json rename to website/src/pages/nl/index.json index fc3391f05efa..3cd7219b1528 100644 --- a/website/pages/nl/index.json +++ b/website/src/pages/nl/index.json @@ -1,5 +1,4 @@ { - "title": "Begin", "intro": "Leer over The Graph, een gedecentraliseerd protocol voor het indexen en opvragen van data op blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/nl/managing/_meta.js b/website/src/pages/nl/managing/_meta.js similarity index 100% rename from website/pages/nl/managing/_meta.js rename to website/src/pages/nl/managing/_meta.js diff --git a/website/pages/nl/managing/deprecating-a-subgraph.mdx b/website/src/pages/nl/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/nl/managing/deprecating-a-subgraph.mdx rename to website/src/pages/nl/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/nl/managing/transferring-subgraph-ownership.mdx b/website/src/pages/nl/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/nl/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/nl/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/nl/mips-faqs.mdx b/website/src/pages/nl/mips-faqs.mdx similarity index 100% rename from website/pages/nl/mips-faqs.mdx rename to website/src/pages/nl/mips-faqs.mdx diff --git a/website/pages/nl/network/_meta.js b/website/src/pages/nl/network/_meta.js similarity index 100% rename from website/pages/nl/network/_meta.js rename to website/src/pages/nl/network/_meta.js diff --git a/website/pages/nl/network/benefits.mdx b/website/src/pages/nl/network/benefits.mdx similarity index 100% rename from website/pages/nl/network/benefits.mdx rename to website/src/pages/nl/network/benefits.mdx diff --git a/website/pages/nl/network/curating.mdx b/website/src/pages/nl/network/curating.mdx similarity index 100% rename from website/pages/nl/network/curating.mdx rename to website/src/pages/nl/network/curating.mdx diff --git a/website/pages/nl/network/delegating.mdx b/website/src/pages/nl/network/delegating.mdx similarity index 100% rename from website/pages/nl/network/delegating.mdx rename to website/src/pages/nl/network/delegating.mdx diff --git a/website/pages/nl/network/developing.mdx b/website/src/pages/nl/network/developing.mdx similarity index 100% rename from website/pages/nl/network/developing.mdx rename to website/src/pages/nl/network/developing.mdx diff --git a/website/pages/nl/network/explorer.mdx b/website/src/pages/nl/network/explorer.mdx similarity index 100% rename from website/pages/nl/network/explorer.mdx rename to website/src/pages/nl/network/explorer.mdx diff --git a/website/pages/nl/network/indexing.mdx b/website/src/pages/nl/network/indexing.mdx similarity index 100% rename from website/pages/nl/network/indexing.mdx rename to website/src/pages/nl/network/indexing.mdx diff --git a/website/pages/nl/network/overview.mdx b/website/src/pages/nl/network/overview.mdx similarity index 100% rename from website/pages/nl/network/overview.mdx rename to website/src/pages/nl/network/overview.mdx diff --git a/website/pages/nl/new-chain-integration.mdx b/website/src/pages/nl/new-chain-integration.mdx similarity index 100% rename from website/pages/nl/new-chain-integration.mdx rename to website/src/pages/nl/new-chain-integration.mdx diff --git a/website/pages/nl/operating-graph-node.mdx b/website/src/pages/nl/operating-graph-node.mdx similarity index 100% rename from website/pages/nl/operating-graph-node.mdx rename to website/src/pages/nl/operating-graph-node.mdx diff --git a/website/pages/nl/publishing/_meta.js b/website/src/pages/nl/publishing/_meta.js similarity index 100% rename from website/pages/nl/publishing/_meta.js rename to website/src/pages/nl/publishing/_meta.js diff --git a/website/pages/nl/publishing/publishing-a-subgraph.mdx b/website/src/pages/nl/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/nl/publishing/publishing-a-subgraph.mdx rename to website/src/pages/nl/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/nl/querying/_meta.js b/website/src/pages/nl/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/nl/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/nl/querying/distributed-systems.mdx b/website/src/pages/nl/querying/distributed-systems.mdx similarity index 100% rename from website/pages/nl/querying/distributed-systems.mdx rename to website/src/pages/nl/querying/distributed-systems.mdx diff --git a/website/pages/nl/querying/graphql-api.mdx b/website/src/pages/nl/querying/graphql-api.mdx similarity index 100% rename from website/pages/nl/querying/graphql-api.mdx rename to website/src/pages/nl/querying/graphql-api.mdx diff --git a/website/pages/nl/querying/managing-api-keys.mdx b/website/src/pages/nl/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/nl/querying/managing-api-keys.mdx rename to website/src/pages/nl/querying/managing-api-keys.mdx diff --git a/website/pages/nl/querying/querying-best-practices.mdx b/website/src/pages/nl/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/nl/querying/querying-best-practices.mdx rename to website/src/pages/nl/querying/querying-best-practices.mdx diff --git a/website/pages/nl/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/nl/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/nl/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/nl/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/nl/querying/querying-from-an-application.mdx b/website/src/pages/nl/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/nl/querying/querying-from-an-application.mdx rename to website/src/pages/nl/querying/querying-from-an-application.mdx diff --git a/website/pages/nl/querying/querying-the-graph.mdx b/website/src/pages/nl/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/nl/querying/querying-the-graph.mdx rename to website/src/pages/nl/querying/querying-the-graph.mdx diff --git a/website/pages/ko/querying/querying-with-python.mdx b/website/src/pages/nl/querying/querying-with-python.mdx similarity index 100% rename from website/pages/ko/querying/querying-with-python.mdx rename to website/src/pages/nl/querying/querying-with-python.mdx diff --git a/website/pages/nl/quick-start.mdx b/website/src/pages/nl/quick-start.mdx similarity index 100% rename from website/pages/nl/quick-start.mdx rename to website/src/pages/nl/quick-start.mdx diff --git a/website/pages/nl/release-notes/_meta.js b/website/src/pages/nl/release-notes/_meta.js similarity index 100% rename from website/pages/nl/release-notes/_meta.js rename to website/src/pages/nl/release-notes/_meta.js diff --git a/website/pages/nl/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/nl/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/nl/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/nl/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/nl/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/nl/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/nl/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/nl/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/nl/substreams.mdx b/website/src/pages/nl/substreams.mdx similarity index 100% rename from website/pages/nl/substreams.mdx rename to website/src/pages/nl/substreams.mdx diff --git a/website/pages/nl/sunrise.mdx b/website/src/pages/nl/sunrise.mdx similarity index 100% rename from website/pages/nl/sunrise.mdx rename to website/src/pages/nl/sunrise.mdx diff --git a/website/pages/nl/supported-network-requirements.mdx b/website/src/pages/nl/supported-network-requirements.mdx similarity index 100% rename from website/pages/nl/supported-network-requirements.mdx rename to website/src/pages/nl/supported-network-requirements.mdx diff --git a/website/pages/nl/tokenomics.mdx b/website/src/pages/nl/tokenomics.mdx similarity index 100% rename from website/pages/nl/tokenomics.mdx rename to website/src/pages/nl/tokenomics.mdx diff --git a/website/pages/nl/translations.ts b/website/src/pages/nl/translations.ts similarity index 100% rename from website/pages/nl/translations.ts rename to website/src/pages/nl/translations.ts diff --git a/website/pages/pl/about.mdx b/website/src/pages/pl/about.mdx similarity index 100% rename from website/pages/pl/about.mdx rename to website/src/pages/pl/about.mdx diff --git a/website/pages/pl/arbitrum/_meta.js b/website/src/pages/pl/arbitrum/_meta.js similarity index 100% rename from website/pages/pl/arbitrum/_meta.js rename to website/src/pages/pl/arbitrum/_meta.js diff --git a/website/pages/pl/arbitrum/arbitrum-faq.mdx b/website/src/pages/pl/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/pl/arbitrum/arbitrum-faq.mdx rename to website/src/pages/pl/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/pl/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/pl/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/pl/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/pl/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/pl/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/pl/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/pl/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/pl/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/pl/billing.mdx b/website/src/pages/pl/billing.mdx similarity index 100% rename from website/pages/pl/billing.mdx rename to website/src/pages/pl/billing.mdx diff --git a/website/pages/pl/chain-integration-overview.mdx b/website/src/pages/pl/chain-integration-overview.mdx similarity index 100% rename from website/pages/pl/chain-integration-overview.mdx rename to website/src/pages/pl/chain-integration-overview.mdx diff --git a/website/pages/pl/cookbook/_meta.js b/website/src/pages/pl/cookbook/_meta.js similarity index 100% rename from website/pages/pl/cookbook/_meta.js rename to website/src/pages/pl/cookbook/_meta.js diff --git a/website/pages/pl/cookbook/arweave.mdx b/website/src/pages/pl/cookbook/arweave.mdx similarity index 100% rename from website/pages/pl/cookbook/arweave.mdx rename to website/src/pages/pl/cookbook/arweave.mdx diff --git a/website/pages/pl/cookbook/base-testnet.mdx b/website/src/pages/pl/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/pl/cookbook/base-testnet.mdx rename to website/src/pages/pl/cookbook/base-testnet.mdx diff --git a/website/pages/pl/cookbook/cosmos.mdx b/website/src/pages/pl/cookbook/cosmos.mdx similarity index 100% rename from website/pages/pl/cookbook/cosmos.mdx rename to website/src/pages/pl/cookbook/cosmos.mdx diff --git a/website/pages/pl/cookbook/grafting.mdx b/website/src/pages/pl/cookbook/grafting.mdx similarity index 100% rename from website/pages/pl/cookbook/grafting.mdx rename to website/src/pages/pl/cookbook/grafting.mdx diff --git a/website/pages/pl/cookbook/near.mdx b/website/src/pages/pl/cookbook/near.mdx similarity index 100% rename from website/pages/pl/cookbook/near.mdx rename to website/src/pages/pl/cookbook/near.mdx diff --git a/website/pages/pl/cookbook/subgraph-debug-forking.mdx b/website/src/pages/pl/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/pl/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/pl/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/pl/cookbook/subgraph-uncrashable.mdx b/website/src/pages/pl/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/pl/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/pl/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/pl/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/pl/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/pl/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/pl/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/pl/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/pl/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/pl/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/pl/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/pl/deploying/_meta.js b/website/src/pages/pl/deploying/_meta.js similarity index 100% rename from website/pages/pl/deploying/_meta.js rename to website/src/pages/pl/deploying/_meta.js diff --git a/website/pages/pl/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/pl/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/pl/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/pl/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/pl/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/pl/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/pl/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/pl/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/pl/deploying/hosted-service.mdx b/website/src/pages/pl/deploying/hosted-service.mdx similarity index 100% rename from website/pages/pl/deploying/hosted-service.mdx rename to website/src/pages/pl/deploying/hosted-service.mdx diff --git a/website/pages/pl/deploying/subgraph-studio-faqs.mdx b/website/src/pages/pl/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/pl/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/pl/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/pl/deploying/subgraph-studio.mdx b/website/src/pages/pl/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/pl/deploying/subgraph-studio.mdx rename to website/src/pages/pl/deploying/subgraph-studio.mdx diff --git a/website/pages/pl/developing/_meta.js b/website/src/pages/pl/developing/_meta.js similarity index 100% rename from website/pages/pl/developing/_meta.js rename to website/src/pages/pl/developing/_meta.js diff --git a/website/pages/pl/developing/creating-a-subgraph.mdx b/website/src/pages/pl/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/pl/developing/creating-a-subgraph.mdx rename to website/src/pages/pl/developing/creating-a-subgraph.mdx diff --git a/website/pages/pl/developing/developer-faqs.mdx b/website/src/pages/pl/developing/developer-faqs.mdx similarity index 100% rename from website/pages/pl/developing/developer-faqs.mdx rename to website/src/pages/pl/developing/developer-faqs.mdx diff --git a/website/pages/pl/developing/graph-ts/api.mdx b/website/src/pages/pl/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/pl/developing/graph-ts/api.mdx rename to website/src/pages/pl/developing/graph-ts/api.mdx diff --git a/website/pages/nl/developing/graph-ts/common-issues.mdx b/website/src/pages/pl/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/nl/developing/graph-ts/common-issues.mdx rename to website/src/pages/pl/developing/graph-ts/common-issues.mdx diff --git a/website/pages/pl/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/pl/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/pl/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/pl/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/pl/developing/supported-networks.json b/website/src/pages/pl/developing/supported-networks.json similarity index 100% rename from website/pages/pl/developing/supported-networks.json rename to website/src/pages/pl/developing/supported-networks.json diff --git a/website/pages/pl/developing/supported-networks.mdx b/website/src/pages/pl/developing/supported-networks.mdx similarity index 100% rename from website/pages/pl/developing/supported-networks.mdx rename to website/src/pages/pl/developing/supported-networks.mdx diff --git a/website/pages/pl/developing/unit-testing-framework.mdx b/website/src/pages/pl/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/pl/developing/unit-testing-framework.mdx rename to website/src/pages/pl/developing/unit-testing-framework.mdx diff --git a/website/pages/pl/docsearch.json b/website/src/pages/pl/docsearch.json similarity index 100% rename from website/pages/pl/docsearch.json rename to website/src/pages/pl/docsearch.json diff --git a/website/pages/pl/firehose.mdx b/website/src/pages/pl/firehose.mdx similarity index 100% rename from website/pages/pl/firehose.mdx rename to website/src/pages/pl/firehose.mdx diff --git a/website/pages/pl/global.json b/website/src/pages/pl/global.json similarity index 88% rename from website/pages/pl/global.json rename to website/src/pages/pl/global.json index 3868b46a2392..f426f102b71c 100644 --- a/website/pages/pl/global.json +++ b/website/src/pages/pl/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Ups! Ta strona mogła zagubić się w kosmosie...", "notFoundSubtitle": "Sprawdź, czy został wpisany poprawny adres strony lub odwiedź naszą stronę, używając linku poniżej.", "goHome": "Wróć do strony glównej", - "video": "Wideo" + "video": "Wideo", + "sidebar": { + "index": "Jak zacząć?" + } } diff --git a/website/pages/pl/glossary.mdx b/website/src/pages/pl/glossary.mdx similarity index 100% rename from website/pages/pl/glossary.mdx rename to website/src/pages/pl/glossary.mdx diff --git a/website/pages/pl/graphcast.mdx b/website/src/pages/pl/graphcast.mdx similarity index 100% rename from website/pages/pl/graphcast.mdx rename to website/src/pages/pl/graphcast.mdx diff --git a/website/pages/pl/index.json b/website/src/pages/pl/index.json similarity index 98% rename from website/pages/pl/index.json rename to website/src/pages/pl/index.json index e7d99cdd5886..21bcf6f9c530 100644 --- a/website/pages/pl/index.json +++ b/website/src/pages/pl/index.json @@ -1,5 +1,4 @@ { - "title": "Jak zacząć?", "intro": "Dowiedz się więcej o The Graph - zdecentralizowanym protokole indeksującym dane sieci blockchain i umożliwiającym tworzenie zapytań.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/pl/managing/_meta.js b/website/src/pages/pl/managing/_meta.js similarity index 100% rename from website/pages/pl/managing/_meta.js rename to website/src/pages/pl/managing/_meta.js diff --git a/website/pages/pl/managing/deprecating-a-subgraph.mdx b/website/src/pages/pl/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/pl/managing/deprecating-a-subgraph.mdx rename to website/src/pages/pl/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/pl/managing/transferring-subgraph-ownership.mdx b/website/src/pages/pl/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/pl/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/pl/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/pl/mips-faqs.mdx b/website/src/pages/pl/mips-faqs.mdx similarity index 100% rename from website/pages/pl/mips-faqs.mdx rename to website/src/pages/pl/mips-faqs.mdx diff --git a/website/pages/pl/network/_meta.js b/website/src/pages/pl/network/_meta.js similarity index 100% rename from website/pages/pl/network/_meta.js rename to website/src/pages/pl/network/_meta.js diff --git a/website/pages/pl/network/benefits.mdx b/website/src/pages/pl/network/benefits.mdx similarity index 100% rename from website/pages/pl/network/benefits.mdx rename to website/src/pages/pl/network/benefits.mdx diff --git a/website/pages/pl/network/curating.mdx b/website/src/pages/pl/network/curating.mdx similarity index 100% rename from website/pages/pl/network/curating.mdx rename to website/src/pages/pl/network/curating.mdx diff --git a/website/pages/pl/network/delegating.mdx b/website/src/pages/pl/network/delegating.mdx similarity index 100% rename from website/pages/pl/network/delegating.mdx rename to website/src/pages/pl/network/delegating.mdx diff --git a/website/pages/pl/network/developing.mdx b/website/src/pages/pl/network/developing.mdx similarity index 100% rename from website/pages/pl/network/developing.mdx rename to website/src/pages/pl/network/developing.mdx diff --git a/website/pages/pl/network/explorer.mdx b/website/src/pages/pl/network/explorer.mdx similarity index 100% rename from website/pages/pl/network/explorer.mdx rename to website/src/pages/pl/network/explorer.mdx diff --git a/website/pages/pl/network/indexing.mdx b/website/src/pages/pl/network/indexing.mdx similarity index 100% rename from website/pages/pl/network/indexing.mdx rename to website/src/pages/pl/network/indexing.mdx diff --git a/website/pages/pl/network/overview.mdx b/website/src/pages/pl/network/overview.mdx similarity index 100% rename from website/pages/pl/network/overview.mdx rename to website/src/pages/pl/network/overview.mdx diff --git a/website/pages/pl/new-chain-integration.mdx b/website/src/pages/pl/new-chain-integration.mdx similarity index 100% rename from website/pages/pl/new-chain-integration.mdx rename to website/src/pages/pl/new-chain-integration.mdx diff --git a/website/pages/pl/operating-graph-node.mdx b/website/src/pages/pl/operating-graph-node.mdx similarity index 100% rename from website/pages/pl/operating-graph-node.mdx rename to website/src/pages/pl/operating-graph-node.mdx diff --git a/website/pages/pl/publishing/_meta.js b/website/src/pages/pl/publishing/_meta.js similarity index 100% rename from website/pages/pl/publishing/_meta.js rename to website/src/pages/pl/publishing/_meta.js diff --git a/website/pages/pl/publishing/publishing-a-subgraph.mdx b/website/src/pages/pl/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/pl/publishing/publishing-a-subgraph.mdx rename to website/src/pages/pl/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/pl/querying/_meta.js b/website/src/pages/pl/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/pl/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/pl/querying/distributed-systems.mdx b/website/src/pages/pl/querying/distributed-systems.mdx similarity index 100% rename from website/pages/pl/querying/distributed-systems.mdx rename to website/src/pages/pl/querying/distributed-systems.mdx diff --git a/website/pages/pl/querying/graphql-api.mdx b/website/src/pages/pl/querying/graphql-api.mdx similarity index 100% rename from website/pages/pl/querying/graphql-api.mdx rename to website/src/pages/pl/querying/graphql-api.mdx diff --git a/website/pages/pl/querying/managing-api-keys.mdx b/website/src/pages/pl/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/pl/querying/managing-api-keys.mdx rename to website/src/pages/pl/querying/managing-api-keys.mdx diff --git a/website/pages/pl/querying/querying-best-practices.mdx b/website/src/pages/pl/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/pl/querying/querying-best-practices.mdx rename to website/src/pages/pl/querying/querying-best-practices.mdx diff --git a/website/pages/pl/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/pl/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/pl/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/pl/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/pl/querying/querying-from-an-application.mdx b/website/src/pages/pl/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/pl/querying/querying-from-an-application.mdx rename to website/src/pages/pl/querying/querying-from-an-application.mdx diff --git a/website/pages/pl/querying/querying-the-graph.mdx b/website/src/pages/pl/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/pl/querying/querying-the-graph.mdx rename to website/src/pages/pl/querying/querying-the-graph.mdx diff --git a/website/pages/nl/querying/querying-with-python.mdx b/website/src/pages/pl/querying/querying-with-python.mdx similarity index 100% rename from website/pages/nl/querying/querying-with-python.mdx rename to website/src/pages/pl/querying/querying-with-python.mdx diff --git a/website/pages/pl/quick-start.mdx b/website/src/pages/pl/quick-start.mdx similarity index 100% rename from website/pages/pl/quick-start.mdx rename to website/src/pages/pl/quick-start.mdx diff --git a/website/pages/pl/release-notes/_meta.js b/website/src/pages/pl/release-notes/_meta.js similarity index 100% rename from website/pages/pl/release-notes/_meta.js rename to website/src/pages/pl/release-notes/_meta.js diff --git a/website/pages/pl/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/pl/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/pl/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/pl/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/pl/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/pl/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/pl/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/pl/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/pl/substreams.mdx b/website/src/pages/pl/substreams.mdx similarity index 100% rename from website/pages/pl/substreams.mdx rename to website/src/pages/pl/substreams.mdx diff --git a/website/pages/pl/sunrise.mdx b/website/src/pages/pl/sunrise.mdx similarity index 100% rename from website/pages/pl/sunrise.mdx rename to website/src/pages/pl/sunrise.mdx diff --git a/website/pages/pl/supported-network-requirements.mdx b/website/src/pages/pl/supported-network-requirements.mdx similarity index 100% rename from website/pages/pl/supported-network-requirements.mdx rename to website/src/pages/pl/supported-network-requirements.mdx diff --git a/website/pages/pl/tokenomics.mdx b/website/src/pages/pl/tokenomics.mdx similarity index 100% rename from website/pages/pl/tokenomics.mdx rename to website/src/pages/pl/tokenomics.mdx diff --git a/website/pages/pl/translations.ts b/website/src/pages/pl/translations.ts similarity index 100% rename from website/pages/pl/translations.ts rename to website/src/pages/pl/translations.ts diff --git a/website/pages/pt/about.mdx b/website/src/pages/pt/about.mdx similarity index 100% rename from website/pages/pt/about.mdx rename to website/src/pages/pt/about.mdx diff --git a/website/pages/pt/arbitrum/_meta.js b/website/src/pages/pt/arbitrum/_meta.js similarity index 100% rename from website/pages/pt/arbitrum/_meta.js rename to website/src/pages/pt/arbitrum/_meta.js diff --git a/website/pages/pt/arbitrum/arbitrum-faq.mdx b/website/src/pages/pt/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/pt/arbitrum/arbitrum-faq.mdx rename to website/src/pages/pt/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/pt/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/pt/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/pt/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/pt/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/pt/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/pt/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/pt/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/pt/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/pt/billing.mdx b/website/src/pages/pt/billing.mdx similarity index 100% rename from website/pages/pt/billing.mdx rename to website/src/pages/pt/billing.mdx diff --git a/website/pages/pt/chain-integration-overview.mdx b/website/src/pages/pt/chain-integration-overview.mdx similarity index 100% rename from website/pages/pt/chain-integration-overview.mdx rename to website/src/pages/pt/chain-integration-overview.mdx diff --git a/website/pages/pt/cookbook/_meta.js b/website/src/pages/pt/cookbook/_meta.js similarity index 100% rename from website/pages/pt/cookbook/_meta.js rename to website/src/pages/pt/cookbook/_meta.js diff --git a/website/pages/pt/cookbook/arweave.mdx b/website/src/pages/pt/cookbook/arweave.mdx similarity index 100% rename from website/pages/pt/cookbook/arweave.mdx rename to website/src/pages/pt/cookbook/arweave.mdx diff --git a/website/pages/pt/cookbook/base-testnet.mdx b/website/src/pages/pt/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/pt/cookbook/base-testnet.mdx rename to website/src/pages/pt/cookbook/base-testnet.mdx diff --git a/website/pages/pt/cookbook/cosmos.mdx b/website/src/pages/pt/cookbook/cosmos.mdx similarity index 100% rename from website/pages/pt/cookbook/cosmos.mdx rename to website/src/pages/pt/cookbook/cosmos.mdx diff --git a/website/pages/pt/cookbook/grafting.mdx b/website/src/pages/pt/cookbook/grafting.mdx similarity index 100% rename from website/pages/pt/cookbook/grafting.mdx rename to website/src/pages/pt/cookbook/grafting.mdx diff --git a/website/pages/pt/cookbook/near.mdx b/website/src/pages/pt/cookbook/near.mdx similarity index 100% rename from website/pages/pt/cookbook/near.mdx rename to website/src/pages/pt/cookbook/near.mdx diff --git a/website/pages/pt/cookbook/subgraph-debug-forking.mdx b/website/src/pages/pt/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/pt/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/pt/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/pt/cookbook/subgraph-uncrashable.mdx b/website/src/pages/pt/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/pt/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/pt/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/pt/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/pt/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/pt/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/pt/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/pt/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/pt/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/pt/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/pt/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/pt/deploying/_meta.js b/website/src/pages/pt/deploying/_meta.js similarity index 100% rename from website/pages/pt/deploying/_meta.js rename to website/src/pages/pt/deploying/_meta.js diff --git a/website/pages/pt/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/pt/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/pt/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/pt/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/pt/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/pt/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/pt/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/pt/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/pt/deploying/hosted-service.mdx b/website/src/pages/pt/deploying/hosted-service.mdx similarity index 100% rename from website/pages/pt/deploying/hosted-service.mdx rename to website/src/pages/pt/deploying/hosted-service.mdx diff --git a/website/pages/pt/deploying/subgraph-studio-faqs.mdx b/website/src/pages/pt/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/pt/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/pt/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/pt/deploying/subgraph-studio.mdx b/website/src/pages/pt/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/pt/deploying/subgraph-studio.mdx rename to website/src/pages/pt/deploying/subgraph-studio.mdx diff --git a/website/pages/pt/developing/_meta.js b/website/src/pages/pt/developing/_meta.js similarity index 100% rename from website/pages/pt/developing/_meta.js rename to website/src/pages/pt/developing/_meta.js diff --git a/website/pages/pt/developing/creating-a-subgraph.mdx b/website/src/pages/pt/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/pt/developing/creating-a-subgraph.mdx rename to website/src/pages/pt/developing/creating-a-subgraph.mdx diff --git a/website/pages/pt/developing/developer-faqs.mdx b/website/src/pages/pt/developing/developer-faqs.mdx similarity index 100% rename from website/pages/pt/developing/developer-faqs.mdx rename to website/src/pages/pt/developing/developer-faqs.mdx diff --git a/website/pages/pt/developing/graph-ts/api.mdx b/website/src/pages/pt/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/pt/developing/graph-ts/api.mdx rename to website/src/pages/pt/developing/graph-ts/api.mdx diff --git a/website/pages/pt/developing/graph-ts/common-issues.mdx b/website/src/pages/pt/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/pt/developing/graph-ts/common-issues.mdx rename to website/src/pages/pt/developing/graph-ts/common-issues.mdx diff --git a/website/pages/pt/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/pt/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/pt/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/pt/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/pt/developing/supported-networks.json b/website/src/pages/pt/developing/supported-networks.json similarity index 100% rename from website/pages/pt/developing/supported-networks.json rename to website/src/pages/pt/developing/supported-networks.json diff --git a/website/pages/pt/developing/supported-networks.mdx b/website/src/pages/pt/developing/supported-networks.mdx similarity index 100% rename from website/pages/pt/developing/supported-networks.mdx rename to website/src/pages/pt/developing/supported-networks.mdx diff --git a/website/pages/pt/developing/unit-testing-framework.mdx b/website/src/pages/pt/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/pt/developing/unit-testing-framework.mdx rename to website/src/pages/pt/developing/unit-testing-framework.mdx diff --git a/website/pages/pt/docsearch.json b/website/src/pages/pt/docsearch.json similarity index 100% rename from website/pages/pt/docsearch.json rename to website/src/pages/pt/docsearch.json diff --git a/website/pages/pt/firehose.mdx b/website/src/pages/pt/firehose.mdx similarity index 100% rename from website/pages/pt/firehose.mdx rename to website/src/pages/pt/firehose.mdx diff --git a/website/pages/pt/global.json b/website/src/pages/pt/global.json similarity index 87% rename from website/pages/pt/global.json rename to website/src/pages/pt/global.json index 725262569646..5b31ef80c25c 100644 --- a/website/pages/pt/global.json +++ b/website/src/pages/pt/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Ops! Esta página foi pro espaço...", "notFoundSubtitle": "Confira se o endereço está certo, ou clique o atalho abaixo para explorar o nosso sítio.", "goHome": "Página Inicial", - "video": "Vídeo" + "video": "Vídeo", + "sidebar": { + "index": "Como Começar" + } } diff --git a/website/pages/pt/glossary.mdx b/website/src/pages/pt/glossary.mdx similarity index 100% rename from website/pages/pt/glossary.mdx rename to website/src/pages/pt/glossary.mdx diff --git a/website/pages/pt/graphcast.mdx b/website/src/pages/pt/graphcast.mdx similarity index 100% rename from website/pages/pt/graphcast.mdx rename to website/src/pages/pt/graphcast.mdx diff --git a/website/pages/pt/index.json b/website/src/pages/pt/index.json similarity index 98% rename from website/pages/pt/index.json rename to website/src/pages/pt/index.json index c025df027868..0ad3f967d5ac 100644 --- a/website/pages/pt/index.json +++ b/website/src/pages/pt/index.json @@ -1,5 +1,4 @@ { - "title": "Como Começar", "intro": "Aprenda sobre o The Graph, um protocolo descentralizado para a indexação e consulta de dados de blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/pt/managing/_meta.js b/website/src/pages/pt/managing/_meta.js similarity index 100% rename from website/pages/pt/managing/_meta.js rename to website/src/pages/pt/managing/_meta.js diff --git a/website/pages/pt/managing/deprecating-a-subgraph.mdx b/website/src/pages/pt/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/pt/managing/deprecating-a-subgraph.mdx rename to website/src/pages/pt/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/pt/managing/transferring-subgraph-ownership.mdx b/website/src/pages/pt/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/pt/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/pt/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/pt/mips-faqs.mdx b/website/src/pages/pt/mips-faqs.mdx similarity index 100% rename from website/pages/pt/mips-faqs.mdx rename to website/src/pages/pt/mips-faqs.mdx diff --git a/website/pages/pt/network/_meta.js b/website/src/pages/pt/network/_meta.js similarity index 100% rename from website/pages/pt/network/_meta.js rename to website/src/pages/pt/network/_meta.js diff --git a/website/pages/pt/network/benefits.mdx b/website/src/pages/pt/network/benefits.mdx similarity index 100% rename from website/pages/pt/network/benefits.mdx rename to website/src/pages/pt/network/benefits.mdx diff --git a/website/pages/pt/network/curating.mdx b/website/src/pages/pt/network/curating.mdx similarity index 100% rename from website/pages/pt/network/curating.mdx rename to website/src/pages/pt/network/curating.mdx diff --git a/website/pages/pt/network/delegating.mdx b/website/src/pages/pt/network/delegating.mdx similarity index 100% rename from website/pages/pt/network/delegating.mdx rename to website/src/pages/pt/network/delegating.mdx diff --git a/website/pages/pt/network/developing.mdx b/website/src/pages/pt/network/developing.mdx similarity index 100% rename from website/pages/pt/network/developing.mdx rename to website/src/pages/pt/network/developing.mdx diff --git a/website/pages/pt/network/explorer.mdx b/website/src/pages/pt/network/explorer.mdx similarity index 100% rename from website/pages/pt/network/explorer.mdx rename to website/src/pages/pt/network/explorer.mdx diff --git a/website/pages/pt/network/indexing.mdx b/website/src/pages/pt/network/indexing.mdx similarity index 100% rename from website/pages/pt/network/indexing.mdx rename to website/src/pages/pt/network/indexing.mdx diff --git a/website/pages/pt/network/overview.mdx b/website/src/pages/pt/network/overview.mdx similarity index 100% rename from website/pages/pt/network/overview.mdx rename to website/src/pages/pt/network/overview.mdx diff --git a/website/pages/pt/new-chain-integration.mdx b/website/src/pages/pt/new-chain-integration.mdx similarity index 100% rename from website/pages/pt/new-chain-integration.mdx rename to website/src/pages/pt/new-chain-integration.mdx diff --git a/website/pages/pt/operating-graph-node.mdx b/website/src/pages/pt/operating-graph-node.mdx similarity index 100% rename from website/pages/pt/operating-graph-node.mdx rename to website/src/pages/pt/operating-graph-node.mdx diff --git a/website/pages/pt/publishing/_meta.js b/website/src/pages/pt/publishing/_meta.js similarity index 100% rename from website/pages/pt/publishing/_meta.js rename to website/src/pages/pt/publishing/_meta.js diff --git a/website/pages/pt/publishing/publishing-a-subgraph.mdx b/website/src/pages/pt/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/pt/publishing/publishing-a-subgraph.mdx rename to website/src/pages/pt/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/pt/querying/_meta.js b/website/src/pages/pt/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/pt/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/pt/querying/distributed-systems.mdx b/website/src/pages/pt/querying/distributed-systems.mdx similarity index 100% rename from website/pages/pt/querying/distributed-systems.mdx rename to website/src/pages/pt/querying/distributed-systems.mdx diff --git a/website/pages/pt/querying/graphql-api.mdx b/website/src/pages/pt/querying/graphql-api.mdx similarity index 100% rename from website/pages/pt/querying/graphql-api.mdx rename to website/src/pages/pt/querying/graphql-api.mdx diff --git a/website/pages/pt/querying/managing-api-keys.mdx b/website/src/pages/pt/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/pt/querying/managing-api-keys.mdx rename to website/src/pages/pt/querying/managing-api-keys.mdx diff --git a/website/pages/pt/querying/querying-best-practices.mdx b/website/src/pages/pt/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/pt/querying/querying-best-practices.mdx rename to website/src/pages/pt/querying/querying-best-practices.mdx diff --git a/website/pages/pt/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/pt/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/pt/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/pt/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/pt/querying/querying-from-an-application.mdx b/website/src/pages/pt/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/pt/querying/querying-from-an-application.mdx rename to website/src/pages/pt/querying/querying-from-an-application.mdx diff --git a/website/pages/pt/querying/querying-the-graph.mdx b/website/src/pages/pt/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/pt/querying/querying-the-graph.mdx rename to website/src/pages/pt/querying/querying-the-graph.mdx diff --git a/website/pages/pt/querying/querying-with-python.mdx b/website/src/pages/pt/querying/querying-with-python.mdx similarity index 100% rename from website/pages/pt/querying/querying-with-python.mdx rename to website/src/pages/pt/querying/querying-with-python.mdx diff --git a/website/pages/pt/quick-start.mdx b/website/src/pages/pt/quick-start.mdx similarity index 100% rename from website/pages/pt/quick-start.mdx rename to website/src/pages/pt/quick-start.mdx diff --git a/website/pages/pt/release-notes/_meta.js b/website/src/pages/pt/release-notes/_meta.js similarity index 100% rename from website/pages/pt/release-notes/_meta.js rename to website/src/pages/pt/release-notes/_meta.js diff --git a/website/pages/pt/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/pt/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/pt/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/pt/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/pt/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/pt/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/pt/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/pt/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/pt/substreams.mdx b/website/src/pages/pt/substreams.mdx similarity index 100% rename from website/pages/pt/substreams.mdx rename to website/src/pages/pt/substreams.mdx diff --git a/website/pages/pt/sunrise.mdx b/website/src/pages/pt/sunrise.mdx similarity index 100% rename from website/pages/pt/sunrise.mdx rename to website/src/pages/pt/sunrise.mdx diff --git a/website/pages/pt/supported-network-requirements.mdx b/website/src/pages/pt/supported-network-requirements.mdx similarity index 100% rename from website/pages/pt/supported-network-requirements.mdx rename to website/src/pages/pt/supported-network-requirements.mdx diff --git a/website/pages/pt/tokenomics.mdx b/website/src/pages/pt/tokenomics.mdx similarity index 100% rename from website/pages/pt/tokenomics.mdx rename to website/src/pages/pt/tokenomics.mdx diff --git a/website/pages/pt/translations.ts b/website/src/pages/pt/translations.ts similarity index 100% rename from website/pages/pt/translations.ts rename to website/src/pages/pt/translations.ts diff --git a/website/pages/ro/about.mdx b/website/src/pages/ro/about.mdx similarity index 100% rename from website/pages/ro/about.mdx rename to website/src/pages/ro/about.mdx diff --git a/website/pages/ro/arbitrum/_meta.js b/website/src/pages/ro/arbitrum/_meta.js similarity index 100% rename from website/pages/ro/arbitrum/_meta.js rename to website/src/pages/ro/arbitrum/_meta.js diff --git a/website/pages/ro/arbitrum/arbitrum-faq.mdx b/website/src/pages/ro/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/ro/arbitrum/arbitrum-faq.mdx rename to website/src/pages/ro/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/ro/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/ro/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/ro/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/ro/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/ro/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/ro/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/ro/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/ro/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/ro/billing.mdx b/website/src/pages/ro/billing.mdx similarity index 100% rename from website/pages/ro/billing.mdx rename to website/src/pages/ro/billing.mdx diff --git a/website/pages/ro/chain-integration-overview.mdx b/website/src/pages/ro/chain-integration-overview.mdx similarity index 100% rename from website/pages/ro/chain-integration-overview.mdx rename to website/src/pages/ro/chain-integration-overview.mdx diff --git a/website/pages/ro/cookbook/_meta.js b/website/src/pages/ro/cookbook/_meta.js similarity index 100% rename from website/pages/ro/cookbook/_meta.js rename to website/src/pages/ro/cookbook/_meta.js diff --git a/website/pages/ro/cookbook/arweave.mdx b/website/src/pages/ro/cookbook/arweave.mdx similarity index 100% rename from website/pages/ro/cookbook/arweave.mdx rename to website/src/pages/ro/cookbook/arweave.mdx diff --git a/website/pages/ro/cookbook/base-testnet.mdx b/website/src/pages/ro/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/ro/cookbook/base-testnet.mdx rename to website/src/pages/ro/cookbook/base-testnet.mdx diff --git a/website/pages/ro/cookbook/cosmos.mdx b/website/src/pages/ro/cookbook/cosmos.mdx similarity index 100% rename from website/pages/ro/cookbook/cosmos.mdx rename to website/src/pages/ro/cookbook/cosmos.mdx diff --git a/website/pages/ro/cookbook/grafting.mdx b/website/src/pages/ro/cookbook/grafting.mdx similarity index 100% rename from website/pages/ro/cookbook/grafting.mdx rename to website/src/pages/ro/cookbook/grafting.mdx diff --git a/website/pages/ro/cookbook/near.mdx b/website/src/pages/ro/cookbook/near.mdx similarity index 100% rename from website/pages/ro/cookbook/near.mdx rename to website/src/pages/ro/cookbook/near.mdx diff --git a/website/pages/ro/cookbook/subgraph-debug-forking.mdx b/website/src/pages/ro/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/ro/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/ro/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/ro/cookbook/subgraph-uncrashable.mdx b/website/src/pages/ro/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/ro/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/ro/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/ro/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/ro/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/ro/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/ro/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/ro/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/ro/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/ro/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/ro/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/ro/deploying/_meta.js b/website/src/pages/ro/deploying/_meta.js similarity index 100% rename from website/pages/ro/deploying/_meta.js rename to website/src/pages/ro/deploying/_meta.js diff --git a/website/pages/ro/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/ro/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/ro/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/ro/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/ro/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/ro/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/ro/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/ro/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/ro/deploying/hosted-service.mdx b/website/src/pages/ro/deploying/hosted-service.mdx similarity index 100% rename from website/pages/ro/deploying/hosted-service.mdx rename to website/src/pages/ro/deploying/hosted-service.mdx diff --git a/website/pages/ro/deploying/subgraph-studio-faqs.mdx b/website/src/pages/ro/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/ro/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/ro/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/ro/deploying/subgraph-studio.mdx b/website/src/pages/ro/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/ro/deploying/subgraph-studio.mdx rename to website/src/pages/ro/deploying/subgraph-studio.mdx diff --git a/website/pages/ro/developing/_meta.js b/website/src/pages/ro/developing/_meta.js similarity index 100% rename from website/pages/ro/developing/_meta.js rename to website/src/pages/ro/developing/_meta.js diff --git a/website/pages/ro/developing/creating-a-subgraph.mdx b/website/src/pages/ro/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/ro/developing/creating-a-subgraph.mdx rename to website/src/pages/ro/developing/creating-a-subgraph.mdx diff --git a/website/pages/ro/developing/developer-faqs.mdx b/website/src/pages/ro/developing/developer-faqs.mdx similarity index 100% rename from website/pages/ro/developing/developer-faqs.mdx rename to website/src/pages/ro/developing/developer-faqs.mdx diff --git a/website/pages/ro/developing/graph-ts/api.mdx b/website/src/pages/ro/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/ro/developing/graph-ts/api.mdx rename to website/src/pages/ro/developing/graph-ts/api.mdx diff --git a/website/pages/pl/developing/graph-ts/common-issues.mdx b/website/src/pages/ro/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/pl/developing/graph-ts/common-issues.mdx rename to website/src/pages/ro/developing/graph-ts/common-issues.mdx diff --git a/website/pages/ro/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/ro/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/ro/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/ro/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/ro/developing/supported-networks.json b/website/src/pages/ro/developing/supported-networks.json similarity index 100% rename from website/pages/ro/developing/supported-networks.json rename to website/src/pages/ro/developing/supported-networks.json diff --git a/website/pages/ro/developing/supported-networks.mdx b/website/src/pages/ro/developing/supported-networks.mdx similarity index 100% rename from website/pages/ro/developing/supported-networks.mdx rename to website/src/pages/ro/developing/supported-networks.mdx diff --git a/website/pages/ro/developing/unit-testing-framework.mdx b/website/src/pages/ro/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/ro/developing/unit-testing-framework.mdx rename to website/src/pages/ro/developing/unit-testing-framework.mdx diff --git a/website/pages/ro/docsearch.json b/website/src/pages/ro/docsearch.json similarity index 100% rename from website/pages/ro/docsearch.json rename to website/src/pages/ro/docsearch.json diff --git a/website/pages/ro/firehose.mdx b/website/src/pages/ro/firehose.mdx similarity index 100% rename from website/pages/ro/firehose.mdx rename to website/src/pages/ro/firehose.mdx diff --git a/website/pages/ro/global.json b/website/src/pages/ro/global.json similarity index 89% rename from website/pages/ro/global.json rename to website/src/pages/ro/global.json index 250299eb3773..2ec1a7a51a2b 100644 --- a/website/pages/ro/global.json +++ b/website/src/pages/ro/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Hopa! Această pagină a fost pierdută în spațiu...", "notFoundSubtitle": "Verifică dacă utilizezi adresa corectă sau explorează site-ul nostru făcând clic pe linkul de mai jos.", "goHome": "Mergi la pagina principală", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Începe" + } } diff --git a/website/pages/ro/glossary.mdx b/website/src/pages/ro/glossary.mdx similarity index 100% rename from website/pages/ro/glossary.mdx rename to website/src/pages/ro/glossary.mdx diff --git a/website/pages/ro/graphcast.mdx b/website/src/pages/ro/graphcast.mdx similarity index 100% rename from website/pages/ro/graphcast.mdx rename to website/src/pages/ro/graphcast.mdx diff --git a/website/pages/ro/index.json b/website/src/pages/ro/index.json similarity index 99% rename from website/pages/ro/index.json rename to website/src/pages/ro/index.json index b29126d73694..7a09e982cd34 100644 --- a/website/pages/ro/index.json +++ b/website/src/pages/ro/index.json @@ -1,5 +1,4 @@ { - "title": "Începe", "intro": "Află mai multe despre The Graph, un protocol descentralizat pentru indexarea și interogarea datelor din blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/ro/managing/_meta.js b/website/src/pages/ro/managing/_meta.js similarity index 100% rename from website/pages/ro/managing/_meta.js rename to website/src/pages/ro/managing/_meta.js diff --git a/website/pages/ro/managing/deprecating-a-subgraph.mdx b/website/src/pages/ro/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/ro/managing/deprecating-a-subgraph.mdx rename to website/src/pages/ro/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/ro/managing/transferring-subgraph-ownership.mdx b/website/src/pages/ro/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/ro/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/ro/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/ro/mips-faqs.mdx b/website/src/pages/ro/mips-faqs.mdx similarity index 100% rename from website/pages/ro/mips-faqs.mdx rename to website/src/pages/ro/mips-faqs.mdx diff --git a/website/pages/ro/network/_meta.js b/website/src/pages/ro/network/_meta.js similarity index 100% rename from website/pages/ro/network/_meta.js rename to website/src/pages/ro/network/_meta.js diff --git a/website/pages/ro/network/benefits.mdx b/website/src/pages/ro/network/benefits.mdx similarity index 100% rename from website/pages/ro/network/benefits.mdx rename to website/src/pages/ro/network/benefits.mdx diff --git a/website/pages/ro/network/curating.mdx b/website/src/pages/ro/network/curating.mdx similarity index 100% rename from website/pages/ro/network/curating.mdx rename to website/src/pages/ro/network/curating.mdx diff --git a/website/pages/ro/network/delegating.mdx b/website/src/pages/ro/network/delegating.mdx similarity index 100% rename from website/pages/ro/network/delegating.mdx rename to website/src/pages/ro/network/delegating.mdx diff --git a/website/pages/ro/network/developing.mdx b/website/src/pages/ro/network/developing.mdx similarity index 100% rename from website/pages/ro/network/developing.mdx rename to website/src/pages/ro/network/developing.mdx diff --git a/website/pages/ro/network/explorer.mdx b/website/src/pages/ro/network/explorer.mdx similarity index 100% rename from website/pages/ro/network/explorer.mdx rename to website/src/pages/ro/network/explorer.mdx diff --git a/website/pages/ro/network/indexing.mdx b/website/src/pages/ro/network/indexing.mdx similarity index 100% rename from website/pages/ro/network/indexing.mdx rename to website/src/pages/ro/network/indexing.mdx diff --git a/website/pages/ro/network/overview.mdx b/website/src/pages/ro/network/overview.mdx similarity index 100% rename from website/pages/ro/network/overview.mdx rename to website/src/pages/ro/network/overview.mdx diff --git a/website/pages/ro/new-chain-integration.mdx b/website/src/pages/ro/new-chain-integration.mdx similarity index 100% rename from website/pages/ro/new-chain-integration.mdx rename to website/src/pages/ro/new-chain-integration.mdx diff --git a/website/pages/ro/operating-graph-node.mdx b/website/src/pages/ro/operating-graph-node.mdx similarity index 100% rename from website/pages/ro/operating-graph-node.mdx rename to website/src/pages/ro/operating-graph-node.mdx diff --git a/website/pages/ro/publishing/_meta.js b/website/src/pages/ro/publishing/_meta.js similarity index 100% rename from website/pages/ro/publishing/_meta.js rename to website/src/pages/ro/publishing/_meta.js diff --git a/website/pages/ro/publishing/publishing-a-subgraph.mdx b/website/src/pages/ro/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/ro/publishing/publishing-a-subgraph.mdx rename to website/src/pages/ro/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/ro/querying/_meta.js b/website/src/pages/ro/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/ro/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/ro/querying/distributed-systems.mdx b/website/src/pages/ro/querying/distributed-systems.mdx similarity index 100% rename from website/pages/ro/querying/distributed-systems.mdx rename to website/src/pages/ro/querying/distributed-systems.mdx diff --git a/website/pages/ro/querying/graphql-api.mdx b/website/src/pages/ro/querying/graphql-api.mdx similarity index 100% rename from website/pages/ro/querying/graphql-api.mdx rename to website/src/pages/ro/querying/graphql-api.mdx diff --git a/website/pages/ro/querying/managing-api-keys.mdx b/website/src/pages/ro/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/ro/querying/managing-api-keys.mdx rename to website/src/pages/ro/querying/managing-api-keys.mdx diff --git a/website/pages/ro/querying/querying-best-practices.mdx b/website/src/pages/ro/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/ro/querying/querying-best-practices.mdx rename to website/src/pages/ro/querying/querying-best-practices.mdx diff --git a/website/pages/ro/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/ro/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/ro/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/ro/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/ro/querying/querying-from-an-application.mdx b/website/src/pages/ro/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/ro/querying/querying-from-an-application.mdx rename to website/src/pages/ro/querying/querying-from-an-application.mdx diff --git a/website/pages/ro/querying/querying-the-graph.mdx b/website/src/pages/ro/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/ro/querying/querying-the-graph.mdx rename to website/src/pages/ro/querying/querying-the-graph.mdx diff --git a/website/pages/pl/querying/querying-with-python.mdx b/website/src/pages/ro/querying/querying-with-python.mdx similarity index 100% rename from website/pages/pl/querying/querying-with-python.mdx rename to website/src/pages/ro/querying/querying-with-python.mdx diff --git a/website/pages/ro/quick-start.mdx b/website/src/pages/ro/quick-start.mdx similarity index 100% rename from website/pages/ro/quick-start.mdx rename to website/src/pages/ro/quick-start.mdx diff --git a/website/pages/ro/release-notes/_meta.js b/website/src/pages/ro/release-notes/_meta.js similarity index 100% rename from website/pages/ro/release-notes/_meta.js rename to website/src/pages/ro/release-notes/_meta.js diff --git a/website/pages/ro/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/ro/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/ro/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/ro/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/ro/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/ro/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/ro/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/ro/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/ro/substreams.mdx b/website/src/pages/ro/substreams.mdx similarity index 100% rename from website/pages/ro/substreams.mdx rename to website/src/pages/ro/substreams.mdx diff --git a/website/pages/ro/sunrise.mdx b/website/src/pages/ro/sunrise.mdx similarity index 100% rename from website/pages/ro/sunrise.mdx rename to website/src/pages/ro/sunrise.mdx diff --git a/website/pages/ro/supported-network-requirements.mdx b/website/src/pages/ro/supported-network-requirements.mdx similarity index 100% rename from website/pages/ro/supported-network-requirements.mdx rename to website/src/pages/ro/supported-network-requirements.mdx diff --git a/website/pages/ro/tokenomics.mdx b/website/src/pages/ro/tokenomics.mdx similarity index 100% rename from website/pages/ro/tokenomics.mdx rename to website/src/pages/ro/tokenomics.mdx diff --git a/website/pages/ro/translations.ts b/website/src/pages/ro/translations.ts similarity index 100% rename from website/pages/ro/translations.ts rename to website/src/pages/ro/translations.ts diff --git a/website/pages/ru/about.mdx b/website/src/pages/ru/about.mdx similarity index 100% rename from website/pages/ru/about.mdx rename to website/src/pages/ru/about.mdx diff --git a/website/pages/ru/arbitrum/_meta.js b/website/src/pages/ru/arbitrum/_meta.js similarity index 100% rename from website/pages/ru/arbitrum/_meta.js rename to website/src/pages/ru/arbitrum/_meta.js diff --git a/website/pages/ru/arbitrum/arbitrum-faq.mdx b/website/src/pages/ru/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/ru/arbitrum/arbitrum-faq.mdx rename to website/src/pages/ru/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/ru/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/ru/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/ru/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/ru/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/ru/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/ru/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/ru/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/ru/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/ru/billing.mdx b/website/src/pages/ru/billing.mdx similarity index 100% rename from website/pages/ru/billing.mdx rename to website/src/pages/ru/billing.mdx diff --git a/website/pages/ru/chain-integration-overview.mdx b/website/src/pages/ru/chain-integration-overview.mdx similarity index 100% rename from website/pages/ru/chain-integration-overview.mdx rename to website/src/pages/ru/chain-integration-overview.mdx diff --git a/website/pages/ru/cookbook/_meta.js b/website/src/pages/ru/cookbook/_meta.js similarity index 100% rename from website/pages/ru/cookbook/_meta.js rename to website/src/pages/ru/cookbook/_meta.js diff --git a/website/pages/ru/cookbook/arweave.mdx b/website/src/pages/ru/cookbook/arweave.mdx similarity index 100% rename from website/pages/ru/cookbook/arweave.mdx rename to website/src/pages/ru/cookbook/arweave.mdx diff --git a/website/pages/ru/cookbook/base-testnet.mdx b/website/src/pages/ru/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/ru/cookbook/base-testnet.mdx rename to website/src/pages/ru/cookbook/base-testnet.mdx diff --git a/website/pages/ru/cookbook/cosmos.mdx b/website/src/pages/ru/cookbook/cosmos.mdx similarity index 100% rename from website/pages/ru/cookbook/cosmos.mdx rename to website/src/pages/ru/cookbook/cosmos.mdx diff --git a/website/pages/ru/cookbook/grafting.mdx b/website/src/pages/ru/cookbook/grafting.mdx similarity index 100% rename from website/pages/ru/cookbook/grafting.mdx rename to website/src/pages/ru/cookbook/grafting.mdx diff --git a/website/pages/ru/cookbook/near.mdx b/website/src/pages/ru/cookbook/near.mdx similarity index 100% rename from website/pages/ru/cookbook/near.mdx rename to website/src/pages/ru/cookbook/near.mdx diff --git a/website/pages/ru/cookbook/subgraph-debug-forking.mdx b/website/src/pages/ru/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/ru/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/ru/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/ru/cookbook/subgraph-uncrashable.mdx b/website/src/pages/ru/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/ru/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/ru/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/ru/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/ru/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/ru/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/ru/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/ru/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/ru/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/ru/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/ru/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/ru/deploying/_meta.js b/website/src/pages/ru/deploying/_meta.js similarity index 100% rename from website/pages/ru/deploying/_meta.js rename to website/src/pages/ru/deploying/_meta.js diff --git a/website/pages/ru/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/ru/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/ru/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/ru/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/ru/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/ru/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/ru/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/ru/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/ru/deploying/hosted-service.mdx b/website/src/pages/ru/deploying/hosted-service.mdx similarity index 100% rename from website/pages/ru/deploying/hosted-service.mdx rename to website/src/pages/ru/deploying/hosted-service.mdx diff --git a/website/pages/ru/deploying/subgraph-studio-faqs.mdx b/website/src/pages/ru/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/ru/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/ru/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/ru/deploying/subgraph-studio.mdx b/website/src/pages/ru/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/ru/deploying/subgraph-studio.mdx rename to website/src/pages/ru/deploying/subgraph-studio.mdx diff --git a/website/pages/ru/developing/_meta.js b/website/src/pages/ru/developing/_meta.js similarity index 100% rename from website/pages/ru/developing/_meta.js rename to website/src/pages/ru/developing/_meta.js diff --git a/website/pages/ru/developing/creating-a-subgraph.mdx b/website/src/pages/ru/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/ru/developing/creating-a-subgraph.mdx rename to website/src/pages/ru/developing/creating-a-subgraph.mdx diff --git a/website/pages/ru/developing/developer-faqs.mdx b/website/src/pages/ru/developing/developer-faqs.mdx similarity index 100% rename from website/pages/ru/developing/developer-faqs.mdx rename to website/src/pages/ru/developing/developer-faqs.mdx diff --git a/website/pages/ru/developing/graph-ts/api.mdx b/website/src/pages/ru/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/ru/developing/graph-ts/api.mdx rename to website/src/pages/ru/developing/graph-ts/api.mdx diff --git a/website/pages/ru/developing/graph-ts/common-issues.mdx b/website/src/pages/ru/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/ru/developing/graph-ts/common-issues.mdx rename to website/src/pages/ru/developing/graph-ts/common-issues.mdx diff --git a/website/pages/ru/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/ru/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/ru/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/ru/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/ru/developing/supported-networks.json b/website/src/pages/ru/developing/supported-networks.json similarity index 100% rename from website/pages/ru/developing/supported-networks.json rename to website/src/pages/ru/developing/supported-networks.json diff --git a/website/pages/ru/developing/supported-networks.mdx b/website/src/pages/ru/developing/supported-networks.mdx similarity index 100% rename from website/pages/ru/developing/supported-networks.mdx rename to website/src/pages/ru/developing/supported-networks.mdx diff --git a/website/pages/ru/developing/unit-testing-framework.mdx b/website/src/pages/ru/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/ru/developing/unit-testing-framework.mdx rename to website/src/pages/ru/developing/unit-testing-framework.mdx diff --git a/website/pages/ru/docsearch.json b/website/src/pages/ru/docsearch.json similarity index 100% rename from website/pages/ru/docsearch.json rename to website/src/pages/ru/docsearch.json diff --git a/website/pages/ru/firehose.mdx b/website/src/pages/ru/firehose.mdx similarity index 100% rename from website/pages/ru/firehose.mdx rename to website/src/pages/ru/firehose.mdx diff --git a/website/pages/ru/global.json b/website/src/pages/ru/global.json similarity index 90% rename from website/pages/ru/global.json rename to website/src/pages/ru/global.json index 3f928c7a9108..b4a01bd64a70 100644 --- a/website/pages/ru/global.json +++ b/website/src/pages/ru/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Упс! Эту страницу потеряли в космосе...", "notFoundSubtitle": "Проверьте верно ли указан адрес или перейдите на наш сайт по ссылке ниже.", "goHome": "На главную страницу", - "video": "Видео" + "video": "Видео", + "sidebar": { + "index": "Начнем" + } } diff --git a/website/pages/ru/glossary.mdx b/website/src/pages/ru/glossary.mdx similarity index 100% rename from website/pages/ru/glossary.mdx rename to website/src/pages/ru/glossary.mdx diff --git a/website/pages/ru/graphcast.mdx b/website/src/pages/ru/graphcast.mdx similarity index 100% rename from website/pages/ru/graphcast.mdx rename to website/src/pages/ru/graphcast.mdx diff --git a/website/pages/ru/index.json b/website/src/pages/ru/index.json similarity index 99% rename from website/pages/ru/index.json rename to website/src/pages/ru/index.json index 7c3bfae69569..de47fd21da05 100644 --- a/website/pages/ru/index.json +++ b/website/src/pages/ru/index.json @@ -1,5 +1,4 @@ { - "title": "Начнем", "intro": "Начни изучение протокола The Graph как распределенного протокола для индексации и обслуживания запросов данных из блокчейнов.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/ru/managing/_meta.js b/website/src/pages/ru/managing/_meta.js similarity index 100% rename from website/pages/ru/managing/_meta.js rename to website/src/pages/ru/managing/_meta.js diff --git a/website/pages/ru/managing/deprecating-a-subgraph.mdx b/website/src/pages/ru/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/ru/managing/deprecating-a-subgraph.mdx rename to website/src/pages/ru/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/ru/managing/transferring-subgraph-ownership.mdx b/website/src/pages/ru/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/ru/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/ru/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/ru/mips-faqs.mdx b/website/src/pages/ru/mips-faqs.mdx similarity index 100% rename from website/pages/ru/mips-faqs.mdx rename to website/src/pages/ru/mips-faqs.mdx diff --git a/website/pages/ru/network/_meta.js b/website/src/pages/ru/network/_meta.js similarity index 100% rename from website/pages/ru/network/_meta.js rename to website/src/pages/ru/network/_meta.js diff --git a/website/pages/ru/network/benefits.mdx b/website/src/pages/ru/network/benefits.mdx similarity index 100% rename from website/pages/ru/network/benefits.mdx rename to website/src/pages/ru/network/benefits.mdx diff --git a/website/pages/ru/network/curating.mdx b/website/src/pages/ru/network/curating.mdx similarity index 100% rename from website/pages/ru/network/curating.mdx rename to website/src/pages/ru/network/curating.mdx diff --git a/website/pages/ru/network/delegating.mdx b/website/src/pages/ru/network/delegating.mdx similarity index 100% rename from website/pages/ru/network/delegating.mdx rename to website/src/pages/ru/network/delegating.mdx diff --git a/website/pages/ru/network/developing.mdx b/website/src/pages/ru/network/developing.mdx similarity index 100% rename from website/pages/ru/network/developing.mdx rename to website/src/pages/ru/network/developing.mdx diff --git a/website/pages/ru/network/explorer.mdx b/website/src/pages/ru/network/explorer.mdx similarity index 100% rename from website/pages/ru/network/explorer.mdx rename to website/src/pages/ru/network/explorer.mdx diff --git a/website/pages/ru/network/indexing.mdx b/website/src/pages/ru/network/indexing.mdx similarity index 100% rename from website/pages/ru/network/indexing.mdx rename to website/src/pages/ru/network/indexing.mdx diff --git a/website/pages/ru/network/overview.mdx b/website/src/pages/ru/network/overview.mdx similarity index 100% rename from website/pages/ru/network/overview.mdx rename to website/src/pages/ru/network/overview.mdx diff --git a/website/pages/ru/new-chain-integration.mdx b/website/src/pages/ru/new-chain-integration.mdx similarity index 100% rename from website/pages/ru/new-chain-integration.mdx rename to website/src/pages/ru/new-chain-integration.mdx diff --git a/website/pages/ru/operating-graph-node.mdx b/website/src/pages/ru/operating-graph-node.mdx similarity index 100% rename from website/pages/ru/operating-graph-node.mdx rename to website/src/pages/ru/operating-graph-node.mdx diff --git a/website/pages/ru/publishing/_meta.js b/website/src/pages/ru/publishing/_meta.js similarity index 100% rename from website/pages/ru/publishing/_meta.js rename to website/src/pages/ru/publishing/_meta.js diff --git a/website/pages/ru/publishing/publishing-a-subgraph.mdx b/website/src/pages/ru/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/ru/publishing/publishing-a-subgraph.mdx rename to website/src/pages/ru/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/ru/querying/_meta.js b/website/src/pages/ru/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/ru/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/ru/querying/distributed-systems.mdx b/website/src/pages/ru/querying/distributed-systems.mdx similarity index 100% rename from website/pages/ru/querying/distributed-systems.mdx rename to website/src/pages/ru/querying/distributed-systems.mdx diff --git a/website/pages/ru/querying/graphql-api.mdx b/website/src/pages/ru/querying/graphql-api.mdx similarity index 100% rename from website/pages/ru/querying/graphql-api.mdx rename to website/src/pages/ru/querying/graphql-api.mdx diff --git a/website/pages/ru/querying/managing-api-keys.mdx b/website/src/pages/ru/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/ru/querying/managing-api-keys.mdx rename to website/src/pages/ru/querying/managing-api-keys.mdx diff --git a/website/pages/ru/querying/querying-best-practices.mdx b/website/src/pages/ru/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/ru/querying/querying-best-practices.mdx rename to website/src/pages/ru/querying/querying-best-practices.mdx diff --git a/website/pages/ru/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/ru/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/ru/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/ru/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/ru/querying/querying-from-an-application.mdx b/website/src/pages/ru/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/ru/querying/querying-from-an-application.mdx rename to website/src/pages/ru/querying/querying-from-an-application.mdx diff --git a/website/pages/ru/querying/querying-the-graph.mdx b/website/src/pages/ru/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/ru/querying/querying-the-graph.mdx rename to website/src/pages/ru/querying/querying-the-graph.mdx diff --git a/website/pages/ru/querying/querying-with-python.mdx b/website/src/pages/ru/querying/querying-with-python.mdx similarity index 100% rename from website/pages/ru/querying/querying-with-python.mdx rename to website/src/pages/ru/querying/querying-with-python.mdx diff --git a/website/pages/ru/quick-start.mdx b/website/src/pages/ru/quick-start.mdx similarity index 100% rename from website/pages/ru/quick-start.mdx rename to website/src/pages/ru/quick-start.mdx diff --git a/website/pages/ru/release-notes/_meta.js b/website/src/pages/ru/release-notes/_meta.js similarity index 100% rename from website/pages/ru/release-notes/_meta.js rename to website/src/pages/ru/release-notes/_meta.js diff --git a/website/pages/ru/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/ru/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/ru/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/ru/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/ru/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/ru/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/ru/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/ru/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/ru/substreams.mdx b/website/src/pages/ru/substreams.mdx similarity index 100% rename from website/pages/ru/substreams.mdx rename to website/src/pages/ru/substreams.mdx diff --git a/website/pages/ru/sunrise.mdx b/website/src/pages/ru/sunrise.mdx similarity index 100% rename from website/pages/ru/sunrise.mdx rename to website/src/pages/ru/sunrise.mdx diff --git a/website/pages/ru/supported-network-requirements.mdx b/website/src/pages/ru/supported-network-requirements.mdx similarity index 100% rename from website/pages/ru/supported-network-requirements.mdx rename to website/src/pages/ru/supported-network-requirements.mdx diff --git a/website/pages/ru/tokenomics.mdx b/website/src/pages/ru/tokenomics.mdx similarity index 99% rename from website/pages/ru/tokenomics.mdx rename to website/src/pages/ru/tokenomics.mdx index 6a245723f89a..276eae8eb2b1 100644 --- a/website/pages/ru/tokenomics.mdx +++ b/website/src/pages/ru/tokenomics.mdx @@ -1,5 +1,6 @@ --- title: Токеномика сети The Graph +sidebarTitle: Токеномика description: Сеть The Graph стимулируется мощной токеномикой. Вот как работает GRT, нативный токен The Graph. --- diff --git a/website/pages/ru/translations.ts b/website/src/pages/ru/translations.ts similarity index 100% rename from website/pages/ru/translations.ts rename to website/src/pages/ru/translations.ts diff --git a/website/pages/sv/about.mdx b/website/src/pages/sv/about.mdx similarity index 100% rename from website/pages/sv/about.mdx rename to website/src/pages/sv/about.mdx diff --git a/website/pages/sv/arbitrum/_meta.js b/website/src/pages/sv/arbitrum/_meta.js similarity index 100% rename from website/pages/sv/arbitrum/_meta.js rename to website/src/pages/sv/arbitrum/_meta.js diff --git a/website/pages/sv/arbitrum/arbitrum-faq.mdx b/website/src/pages/sv/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/sv/arbitrum/arbitrum-faq.mdx rename to website/src/pages/sv/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/sv/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/sv/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/sv/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/sv/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/sv/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/sv/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/sv/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/sv/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/sv/billing.mdx b/website/src/pages/sv/billing.mdx similarity index 100% rename from website/pages/sv/billing.mdx rename to website/src/pages/sv/billing.mdx diff --git a/website/pages/sv/chain-integration-overview.mdx b/website/src/pages/sv/chain-integration-overview.mdx similarity index 100% rename from website/pages/sv/chain-integration-overview.mdx rename to website/src/pages/sv/chain-integration-overview.mdx diff --git a/website/pages/sv/cookbook/_meta.js b/website/src/pages/sv/cookbook/_meta.js similarity index 100% rename from website/pages/sv/cookbook/_meta.js rename to website/src/pages/sv/cookbook/_meta.js diff --git a/website/pages/sv/cookbook/arweave.mdx b/website/src/pages/sv/cookbook/arweave.mdx similarity index 100% rename from website/pages/sv/cookbook/arweave.mdx rename to website/src/pages/sv/cookbook/arweave.mdx diff --git a/website/pages/sv/cookbook/base-testnet.mdx b/website/src/pages/sv/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/sv/cookbook/base-testnet.mdx rename to website/src/pages/sv/cookbook/base-testnet.mdx diff --git a/website/pages/sv/cookbook/cosmos.mdx b/website/src/pages/sv/cookbook/cosmos.mdx similarity index 100% rename from website/pages/sv/cookbook/cosmos.mdx rename to website/src/pages/sv/cookbook/cosmos.mdx diff --git a/website/pages/sv/cookbook/grafting.mdx b/website/src/pages/sv/cookbook/grafting.mdx similarity index 100% rename from website/pages/sv/cookbook/grafting.mdx rename to website/src/pages/sv/cookbook/grafting.mdx diff --git a/website/pages/sv/cookbook/near.mdx b/website/src/pages/sv/cookbook/near.mdx similarity index 100% rename from website/pages/sv/cookbook/near.mdx rename to website/src/pages/sv/cookbook/near.mdx diff --git a/website/pages/sv/cookbook/subgraph-debug-forking.mdx b/website/src/pages/sv/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/sv/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/sv/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/sv/cookbook/subgraph-uncrashable.mdx b/website/src/pages/sv/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/sv/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/sv/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/sv/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/sv/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/sv/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/sv/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/sv/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/sv/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/sv/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/sv/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/sv/deploying/_meta.js b/website/src/pages/sv/deploying/_meta.js similarity index 100% rename from website/pages/sv/deploying/_meta.js rename to website/src/pages/sv/deploying/_meta.js diff --git a/website/pages/sv/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/sv/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/sv/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/sv/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/sv/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/sv/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/sv/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/sv/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/sv/deploying/hosted-service.mdx b/website/src/pages/sv/deploying/hosted-service.mdx similarity index 100% rename from website/pages/sv/deploying/hosted-service.mdx rename to website/src/pages/sv/deploying/hosted-service.mdx diff --git a/website/pages/sv/deploying/subgraph-studio-faqs.mdx b/website/src/pages/sv/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/sv/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/sv/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/sv/deploying/subgraph-studio.mdx b/website/src/pages/sv/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/sv/deploying/subgraph-studio.mdx rename to website/src/pages/sv/deploying/subgraph-studio.mdx diff --git a/website/pages/sv/developing/_meta.js b/website/src/pages/sv/developing/_meta.js similarity index 100% rename from website/pages/sv/developing/_meta.js rename to website/src/pages/sv/developing/_meta.js diff --git a/website/pages/sv/developing/creating-a-subgraph.mdx b/website/src/pages/sv/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/sv/developing/creating-a-subgraph.mdx rename to website/src/pages/sv/developing/creating-a-subgraph.mdx diff --git a/website/pages/sv/developing/developer-faqs.mdx b/website/src/pages/sv/developing/developer-faqs.mdx similarity index 100% rename from website/pages/sv/developing/developer-faqs.mdx rename to website/src/pages/sv/developing/developer-faqs.mdx diff --git a/website/pages/sv/developing/graph-ts/api.mdx b/website/src/pages/sv/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/sv/developing/graph-ts/api.mdx rename to website/src/pages/sv/developing/graph-ts/api.mdx diff --git a/website/pages/sv/developing/graph-ts/common-issues.mdx b/website/src/pages/sv/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/sv/developing/graph-ts/common-issues.mdx rename to website/src/pages/sv/developing/graph-ts/common-issues.mdx diff --git a/website/pages/sv/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/sv/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/sv/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/sv/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/sv/developing/supported-networks.json b/website/src/pages/sv/developing/supported-networks.json similarity index 100% rename from website/pages/sv/developing/supported-networks.json rename to website/src/pages/sv/developing/supported-networks.json diff --git a/website/pages/sv/developing/supported-networks.mdx b/website/src/pages/sv/developing/supported-networks.mdx similarity index 100% rename from website/pages/sv/developing/supported-networks.mdx rename to website/src/pages/sv/developing/supported-networks.mdx diff --git a/website/pages/sv/developing/unit-testing-framework.mdx b/website/src/pages/sv/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/sv/developing/unit-testing-framework.mdx rename to website/src/pages/sv/developing/unit-testing-framework.mdx diff --git a/website/pages/sv/docsearch.json b/website/src/pages/sv/docsearch.json similarity index 100% rename from website/pages/sv/docsearch.json rename to website/src/pages/sv/docsearch.json diff --git a/website/pages/sv/firehose.mdx b/website/src/pages/sv/firehose.mdx similarity index 100% rename from website/pages/sv/firehose.mdx rename to website/src/pages/sv/firehose.mdx diff --git a/website/pages/sv/global.json b/website/src/pages/sv/global.json similarity index 88% rename from website/pages/sv/global.json rename to website/src/pages/sv/global.json index 8a35bb090097..39159569db20 100644 --- a/website/pages/sv/global.json +++ b/website/src/pages/sv/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Hoppsan! Den här sidan försvann i rymden...", "notFoundSubtitle": "Kontrollera om du använder rätt adress eller utforska vår webbplats genom att klicka på länken nedan.", "goHome": "Gå hem", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Komma igång" + } } diff --git a/website/pages/sv/glossary.mdx b/website/src/pages/sv/glossary.mdx similarity index 100% rename from website/pages/sv/glossary.mdx rename to website/src/pages/sv/glossary.mdx diff --git a/website/pages/sv/graphcast.mdx b/website/src/pages/sv/graphcast.mdx similarity index 100% rename from website/pages/sv/graphcast.mdx rename to website/src/pages/sv/graphcast.mdx diff --git a/website/pages/sv/index.json b/website/src/pages/sv/index.json similarity index 98% rename from website/pages/sv/index.json rename to website/src/pages/sv/index.json index 47fa636b0961..793429ab0917 100644 --- a/website/pages/sv/index.json +++ b/website/src/pages/sv/index.json @@ -1,5 +1,4 @@ { - "title": "Komma igång", "intro": "Lär dig om The Graph, ett decentraliserat protokoll för indexering och sökning av data från blockkedjor.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/sv/managing/_meta.js b/website/src/pages/sv/managing/_meta.js similarity index 100% rename from website/pages/sv/managing/_meta.js rename to website/src/pages/sv/managing/_meta.js diff --git a/website/pages/sv/managing/deprecating-a-subgraph.mdx b/website/src/pages/sv/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/sv/managing/deprecating-a-subgraph.mdx rename to website/src/pages/sv/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/sv/managing/transferring-subgraph-ownership.mdx b/website/src/pages/sv/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/sv/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/sv/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/sv/mips-faqs.mdx b/website/src/pages/sv/mips-faqs.mdx similarity index 100% rename from website/pages/sv/mips-faqs.mdx rename to website/src/pages/sv/mips-faqs.mdx diff --git a/website/pages/sv/network/_meta.js b/website/src/pages/sv/network/_meta.js similarity index 100% rename from website/pages/sv/network/_meta.js rename to website/src/pages/sv/network/_meta.js diff --git a/website/pages/sv/network/benefits.mdx b/website/src/pages/sv/network/benefits.mdx similarity index 100% rename from website/pages/sv/network/benefits.mdx rename to website/src/pages/sv/network/benefits.mdx diff --git a/website/pages/sv/network/curating.mdx b/website/src/pages/sv/network/curating.mdx similarity index 100% rename from website/pages/sv/network/curating.mdx rename to website/src/pages/sv/network/curating.mdx diff --git a/website/pages/sv/network/delegating.mdx b/website/src/pages/sv/network/delegating.mdx similarity index 100% rename from website/pages/sv/network/delegating.mdx rename to website/src/pages/sv/network/delegating.mdx diff --git a/website/pages/sv/network/developing.mdx b/website/src/pages/sv/network/developing.mdx similarity index 100% rename from website/pages/sv/network/developing.mdx rename to website/src/pages/sv/network/developing.mdx diff --git a/website/pages/sv/network/explorer.mdx b/website/src/pages/sv/network/explorer.mdx similarity index 100% rename from website/pages/sv/network/explorer.mdx rename to website/src/pages/sv/network/explorer.mdx diff --git a/website/pages/sv/network/indexing.mdx b/website/src/pages/sv/network/indexing.mdx similarity index 100% rename from website/pages/sv/network/indexing.mdx rename to website/src/pages/sv/network/indexing.mdx diff --git a/website/pages/sv/network/overview.mdx b/website/src/pages/sv/network/overview.mdx similarity index 100% rename from website/pages/sv/network/overview.mdx rename to website/src/pages/sv/network/overview.mdx diff --git a/website/pages/sv/new-chain-integration.mdx b/website/src/pages/sv/new-chain-integration.mdx similarity index 100% rename from website/pages/sv/new-chain-integration.mdx rename to website/src/pages/sv/new-chain-integration.mdx diff --git a/website/pages/sv/operating-graph-node.mdx b/website/src/pages/sv/operating-graph-node.mdx similarity index 100% rename from website/pages/sv/operating-graph-node.mdx rename to website/src/pages/sv/operating-graph-node.mdx diff --git a/website/pages/sv/publishing/_meta.js b/website/src/pages/sv/publishing/_meta.js similarity index 100% rename from website/pages/sv/publishing/_meta.js rename to website/src/pages/sv/publishing/_meta.js diff --git a/website/pages/sv/publishing/publishing-a-subgraph.mdx b/website/src/pages/sv/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/sv/publishing/publishing-a-subgraph.mdx rename to website/src/pages/sv/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/sv/querying/_meta.js b/website/src/pages/sv/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/sv/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/sv/querying/distributed-systems.mdx b/website/src/pages/sv/querying/distributed-systems.mdx similarity index 100% rename from website/pages/sv/querying/distributed-systems.mdx rename to website/src/pages/sv/querying/distributed-systems.mdx diff --git a/website/pages/sv/querying/graphql-api.mdx b/website/src/pages/sv/querying/graphql-api.mdx similarity index 100% rename from website/pages/sv/querying/graphql-api.mdx rename to website/src/pages/sv/querying/graphql-api.mdx diff --git a/website/pages/sv/querying/managing-api-keys.mdx b/website/src/pages/sv/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/sv/querying/managing-api-keys.mdx rename to website/src/pages/sv/querying/managing-api-keys.mdx diff --git a/website/pages/sv/querying/querying-best-practices.mdx b/website/src/pages/sv/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/sv/querying/querying-best-practices.mdx rename to website/src/pages/sv/querying/querying-best-practices.mdx diff --git a/website/pages/sv/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/sv/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/sv/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/sv/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/sv/querying/querying-from-an-application.mdx b/website/src/pages/sv/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/sv/querying/querying-from-an-application.mdx rename to website/src/pages/sv/querying/querying-from-an-application.mdx diff --git a/website/pages/sv/querying/querying-the-graph.mdx b/website/src/pages/sv/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/sv/querying/querying-the-graph.mdx rename to website/src/pages/sv/querying/querying-the-graph.mdx diff --git a/website/pages/sv/querying/querying-with-python.mdx b/website/src/pages/sv/querying/querying-with-python.mdx similarity index 100% rename from website/pages/sv/querying/querying-with-python.mdx rename to website/src/pages/sv/querying/querying-with-python.mdx diff --git a/website/pages/sv/quick-start.mdx b/website/src/pages/sv/quick-start.mdx similarity index 100% rename from website/pages/sv/quick-start.mdx rename to website/src/pages/sv/quick-start.mdx diff --git a/website/pages/sv/release-notes/_meta.js b/website/src/pages/sv/release-notes/_meta.js similarity index 100% rename from website/pages/sv/release-notes/_meta.js rename to website/src/pages/sv/release-notes/_meta.js diff --git a/website/pages/sv/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/sv/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/sv/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/sv/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/sv/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/sv/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/sv/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/sv/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/sv/substreams.mdx b/website/src/pages/sv/substreams.mdx similarity index 100% rename from website/pages/sv/substreams.mdx rename to website/src/pages/sv/substreams.mdx diff --git a/website/pages/sv/sunrise.mdx b/website/src/pages/sv/sunrise.mdx similarity index 100% rename from website/pages/sv/sunrise.mdx rename to website/src/pages/sv/sunrise.mdx diff --git a/website/pages/sv/supported-network-requirements.mdx b/website/src/pages/sv/supported-network-requirements.mdx similarity index 100% rename from website/pages/sv/supported-network-requirements.mdx rename to website/src/pages/sv/supported-network-requirements.mdx diff --git a/website/pages/sv/tokenomics.mdx b/website/src/pages/sv/tokenomics.mdx similarity index 100% rename from website/pages/sv/tokenomics.mdx rename to website/src/pages/sv/tokenomics.mdx diff --git a/website/pages/sv/translations.ts b/website/src/pages/sv/translations.ts similarity index 100% rename from website/pages/sv/translations.ts rename to website/src/pages/sv/translations.ts diff --git a/website/pages/tr/about.mdx b/website/src/pages/tr/about.mdx similarity index 100% rename from website/pages/tr/about.mdx rename to website/src/pages/tr/about.mdx diff --git a/website/pages/tr/arbitrum/_meta.js b/website/src/pages/tr/arbitrum/_meta.js similarity index 100% rename from website/pages/tr/arbitrum/_meta.js rename to website/src/pages/tr/arbitrum/_meta.js diff --git a/website/pages/tr/arbitrum/arbitrum-faq.mdx b/website/src/pages/tr/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/tr/arbitrum/arbitrum-faq.mdx rename to website/src/pages/tr/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/tr/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/tr/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/tr/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/tr/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/tr/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/tr/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/tr/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/tr/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/tr/billing.mdx b/website/src/pages/tr/billing.mdx similarity index 100% rename from website/pages/tr/billing.mdx rename to website/src/pages/tr/billing.mdx diff --git a/website/pages/tr/chain-integration-overview.mdx b/website/src/pages/tr/chain-integration-overview.mdx similarity index 100% rename from website/pages/tr/chain-integration-overview.mdx rename to website/src/pages/tr/chain-integration-overview.mdx diff --git a/website/pages/tr/cookbook/_meta.js b/website/src/pages/tr/cookbook/_meta.js similarity index 100% rename from website/pages/tr/cookbook/_meta.js rename to website/src/pages/tr/cookbook/_meta.js diff --git a/website/pages/tr/cookbook/arweave.mdx b/website/src/pages/tr/cookbook/arweave.mdx similarity index 100% rename from website/pages/tr/cookbook/arweave.mdx rename to website/src/pages/tr/cookbook/arweave.mdx diff --git a/website/pages/tr/cookbook/base-testnet.mdx b/website/src/pages/tr/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/tr/cookbook/base-testnet.mdx rename to website/src/pages/tr/cookbook/base-testnet.mdx diff --git a/website/pages/tr/cookbook/cosmos.mdx b/website/src/pages/tr/cookbook/cosmos.mdx similarity index 100% rename from website/pages/tr/cookbook/cosmos.mdx rename to website/src/pages/tr/cookbook/cosmos.mdx diff --git a/website/pages/tr/cookbook/grafting.mdx b/website/src/pages/tr/cookbook/grafting.mdx similarity index 100% rename from website/pages/tr/cookbook/grafting.mdx rename to website/src/pages/tr/cookbook/grafting.mdx diff --git a/website/pages/tr/cookbook/near.mdx b/website/src/pages/tr/cookbook/near.mdx similarity index 100% rename from website/pages/tr/cookbook/near.mdx rename to website/src/pages/tr/cookbook/near.mdx diff --git a/website/pages/tr/cookbook/subgraph-debug-forking.mdx b/website/src/pages/tr/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/tr/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/tr/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/tr/cookbook/subgraph-uncrashable.mdx b/website/src/pages/tr/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/tr/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/tr/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/tr/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/tr/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/tr/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/tr/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/tr/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/tr/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/tr/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/tr/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/tr/deploying/_meta.js b/website/src/pages/tr/deploying/_meta.js similarity index 100% rename from website/pages/tr/deploying/_meta.js rename to website/src/pages/tr/deploying/_meta.js diff --git a/website/pages/tr/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/tr/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/tr/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/tr/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/tr/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/tr/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/tr/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/tr/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/tr/deploying/hosted-service.mdx b/website/src/pages/tr/deploying/hosted-service.mdx similarity index 100% rename from website/pages/tr/deploying/hosted-service.mdx rename to website/src/pages/tr/deploying/hosted-service.mdx diff --git a/website/pages/tr/deploying/subgraph-studio-faqs.mdx b/website/src/pages/tr/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/tr/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/tr/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/tr/deploying/subgraph-studio.mdx b/website/src/pages/tr/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/tr/deploying/subgraph-studio.mdx rename to website/src/pages/tr/deploying/subgraph-studio.mdx diff --git a/website/pages/tr/developing/_meta.js b/website/src/pages/tr/developing/_meta.js similarity index 100% rename from website/pages/tr/developing/_meta.js rename to website/src/pages/tr/developing/_meta.js diff --git a/website/pages/tr/developing/creating-a-subgraph.mdx b/website/src/pages/tr/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/tr/developing/creating-a-subgraph.mdx rename to website/src/pages/tr/developing/creating-a-subgraph.mdx diff --git a/website/pages/tr/developing/developer-faqs.mdx b/website/src/pages/tr/developing/developer-faqs.mdx similarity index 100% rename from website/pages/tr/developing/developer-faqs.mdx rename to website/src/pages/tr/developing/developer-faqs.mdx diff --git a/website/pages/tr/developing/graph-ts/api.mdx b/website/src/pages/tr/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/tr/developing/graph-ts/api.mdx rename to website/src/pages/tr/developing/graph-ts/api.mdx diff --git a/website/pages/tr/developing/graph-ts/common-issues.mdx b/website/src/pages/tr/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/tr/developing/graph-ts/common-issues.mdx rename to website/src/pages/tr/developing/graph-ts/common-issues.mdx diff --git a/website/pages/tr/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/tr/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/tr/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/tr/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/tr/developing/supported-networks.json b/website/src/pages/tr/developing/supported-networks.json similarity index 100% rename from website/pages/tr/developing/supported-networks.json rename to website/src/pages/tr/developing/supported-networks.json diff --git a/website/pages/tr/developing/supported-networks.mdx b/website/src/pages/tr/developing/supported-networks.mdx similarity index 100% rename from website/pages/tr/developing/supported-networks.mdx rename to website/src/pages/tr/developing/supported-networks.mdx diff --git a/website/pages/tr/developing/unit-testing-framework.mdx b/website/src/pages/tr/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/tr/developing/unit-testing-framework.mdx rename to website/src/pages/tr/developing/unit-testing-framework.mdx diff --git a/website/pages/tr/docsearch.json b/website/src/pages/tr/docsearch.json similarity index 100% rename from website/pages/tr/docsearch.json rename to website/src/pages/tr/docsearch.json diff --git a/website/pages/tr/firehose.mdx b/website/src/pages/tr/firehose.mdx similarity index 100% rename from website/pages/tr/firehose.mdx rename to website/src/pages/tr/firehose.mdx diff --git a/website/pages/tr/global.json b/website/src/pages/tr/global.json similarity index 88% rename from website/pages/tr/global.json rename to website/src/pages/tr/global.json index 4754a8d03971..d685eb9e75af 100644 --- a/website/pages/tr/global.json +++ b/website/src/pages/tr/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Hata! Bu sayfa kayboldu gitti...", "notFoundSubtitle": "Doğru adresi kullanıp kullanmadığınızı kontrol edin veya aşağıdaki bağlantıya tıklayarak web sitemize göz atın.", "goHome": "Anasayfaya Git", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Başlayalım" + } } diff --git a/website/pages/tr/glossary.mdx b/website/src/pages/tr/glossary.mdx similarity index 100% rename from website/pages/tr/glossary.mdx rename to website/src/pages/tr/glossary.mdx diff --git a/website/pages/tr/graphcast.mdx b/website/src/pages/tr/graphcast.mdx similarity index 100% rename from website/pages/tr/graphcast.mdx rename to website/src/pages/tr/graphcast.mdx diff --git a/website/pages/tr/index.json b/website/src/pages/tr/index.json similarity index 98% rename from website/pages/tr/index.json rename to website/src/pages/tr/index.json index 4690e573ed52..b9bacde290ed 100644 --- a/website/pages/tr/index.json +++ b/website/src/pages/tr/index.json @@ -1,5 +1,4 @@ { - "title": "Başlayalım", "intro": "Blok zincirlerinden verileri indekslemek ve sorgulamak için merkeziyetsiz bir protokol olan Graph Protokol hakkında bilgi edinin.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/tr/managing/_meta.js b/website/src/pages/tr/managing/_meta.js similarity index 100% rename from website/pages/tr/managing/_meta.js rename to website/src/pages/tr/managing/_meta.js diff --git a/website/pages/tr/managing/deprecating-a-subgraph.mdx b/website/src/pages/tr/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/tr/managing/deprecating-a-subgraph.mdx rename to website/src/pages/tr/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/tr/managing/transferring-subgraph-ownership.mdx b/website/src/pages/tr/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/tr/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/tr/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/tr/mips-faqs.mdx b/website/src/pages/tr/mips-faqs.mdx similarity index 100% rename from website/pages/tr/mips-faqs.mdx rename to website/src/pages/tr/mips-faqs.mdx diff --git a/website/pages/tr/network/_meta.js b/website/src/pages/tr/network/_meta.js similarity index 100% rename from website/pages/tr/network/_meta.js rename to website/src/pages/tr/network/_meta.js diff --git a/website/pages/tr/network/benefits.mdx b/website/src/pages/tr/network/benefits.mdx similarity index 100% rename from website/pages/tr/network/benefits.mdx rename to website/src/pages/tr/network/benefits.mdx diff --git a/website/pages/tr/network/curating.mdx b/website/src/pages/tr/network/curating.mdx similarity index 100% rename from website/pages/tr/network/curating.mdx rename to website/src/pages/tr/network/curating.mdx diff --git a/website/pages/tr/network/delegating.mdx b/website/src/pages/tr/network/delegating.mdx similarity index 100% rename from website/pages/tr/network/delegating.mdx rename to website/src/pages/tr/network/delegating.mdx diff --git a/website/pages/tr/network/developing.mdx b/website/src/pages/tr/network/developing.mdx similarity index 100% rename from website/pages/tr/network/developing.mdx rename to website/src/pages/tr/network/developing.mdx diff --git a/website/pages/tr/network/explorer.mdx b/website/src/pages/tr/network/explorer.mdx similarity index 100% rename from website/pages/tr/network/explorer.mdx rename to website/src/pages/tr/network/explorer.mdx diff --git a/website/pages/tr/network/indexing.mdx b/website/src/pages/tr/network/indexing.mdx similarity index 100% rename from website/pages/tr/network/indexing.mdx rename to website/src/pages/tr/network/indexing.mdx diff --git a/website/pages/tr/network/overview.mdx b/website/src/pages/tr/network/overview.mdx similarity index 100% rename from website/pages/tr/network/overview.mdx rename to website/src/pages/tr/network/overview.mdx diff --git a/website/pages/tr/new-chain-integration.mdx b/website/src/pages/tr/new-chain-integration.mdx similarity index 100% rename from website/pages/tr/new-chain-integration.mdx rename to website/src/pages/tr/new-chain-integration.mdx diff --git a/website/pages/tr/operating-graph-node.mdx b/website/src/pages/tr/operating-graph-node.mdx similarity index 100% rename from website/pages/tr/operating-graph-node.mdx rename to website/src/pages/tr/operating-graph-node.mdx diff --git a/website/pages/tr/publishing/_meta.js b/website/src/pages/tr/publishing/_meta.js similarity index 100% rename from website/pages/tr/publishing/_meta.js rename to website/src/pages/tr/publishing/_meta.js diff --git a/website/pages/tr/publishing/publishing-a-subgraph.mdx b/website/src/pages/tr/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/tr/publishing/publishing-a-subgraph.mdx rename to website/src/pages/tr/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/tr/querying/_meta.js b/website/src/pages/tr/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/tr/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/tr/querying/distributed-systems.mdx b/website/src/pages/tr/querying/distributed-systems.mdx similarity index 100% rename from website/pages/tr/querying/distributed-systems.mdx rename to website/src/pages/tr/querying/distributed-systems.mdx diff --git a/website/pages/tr/querying/graphql-api.mdx b/website/src/pages/tr/querying/graphql-api.mdx similarity index 100% rename from website/pages/tr/querying/graphql-api.mdx rename to website/src/pages/tr/querying/graphql-api.mdx diff --git a/website/pages/tr/querying/managing-api-keys.mdx b/website/src/pages/tr/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/tr/querying/managing-api-keys.mdx rename to website/src/pages/tr/querying/managing-api-keys.mdx diff --git a/website/pages/tr/querying/querying-best-practices.mdx b/website/src/pages/tr/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/tr/querying/querying-best-practices.mdx rename to website/src/pages/tr/querying/querying-best-practices.mdx diff --git a/website/pages/tr/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/tr/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/tr/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/tr/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/tr/querying/querying-from-an-application.mdx b/website/src/pages/tr/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/tr/querying/querying-from-an-application.mdx rename to website/src/pages/tr/querying/querying-from-an-application.mdx diff --git a/website/pages/tr/querying/querying-the-graph.mdx b/website/src/pages/tr/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/tr/querying/querying-the-graph.mdx rename to website/src/pages/tr/querying/querying-the-graph.mdx diff --git a/website/pages/tr/querying/querying-with-python.mdx b/website/src/pages/tr/querying/querying-with-python.mdx similarity index 100% rename from website/pages/tr/querying/querying-with-python.mdx rename to website/src/pages/tr/querying/querying-with-python.mdx diff --git a/website/pages/tr/quick-start.mdx b/website/src/pages/tr/quick-start.mdx similarity index 100% rename from website/pages/tr/quick-start.mdx rename to website/src/pages/tr/quick-start.mdx diff --git a/website/pages/tr/release-notes/_meta.js b/website/src/pages/tr/release-notes/_meta.js similarity index 100% rename from website/pages/tr/release-notes/_meta.js rename to website/src/pages/tr/release-notes/_meta.js diff --git a/website/pages/tr/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/tr/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/tr/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/tr/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/tr/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/tr/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/tr/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/tr/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/tr/substreams.mdx b/website/src/pages/tr/substreams.mdx similarity index 100% rename from website/pages/tr/substreams.mdx rename to website/src/pages/tr/substreams.mdx diff --git a/website/pages/tr/sunrise.mdx b/website/src/pages/tr/sunrise.mdx similarity index 100% rename from website/pages/tr/sunrise.mdx rename to website/src/pages/tr/sunrise.mdx diff --git a/website/pages/tr/supported-network-requirements.mdx b/website/src/pages/tr/supported-network-requirements.mdx similarity index 100% rename from website/pages/tr/supported-network-requirements.mdx rename to website/src/pages/tr/supported-network-requirements.mdx diff --git a/website/pages/tr/tokenomics.mdx b/website/src/pages/tr/tokenomics.mdx similarity index 100% rename from website/pages/tr/tokenomics.mdx rename to website/src/pages/tr/tokenomics.mdx diff --git a/website/pages/tr/translations.ts b/website/src/pages/tr/translations.ts similarity index 100% rename from website/pages/tr/translations.ts rename to website/src/pages/tr/translations.ts diff --git a/website/pages/uk/about.mdx b/website/src/pages/uk/about.mdx similarity index 100% rename from website/pages/uk/about.mdx rename to website/src/pages/uk/about.mdx diff --git a/website/pages/uk/arbitrum/_meta.js b/website/src/pages/uk/arbitrum/_meta.js similarity index 100% rename from website/pages/uk/arbitrum/_meta.js rename to website/src/pages/uk/arbitrum/_meta.js diff --git a/website/pages/uk/arbitrum/arbitrum-faq.mdx b/website/src/pages/uk/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/uk/arbitrum/arbitrum-faq.mdx rename to website/src/pages/uk/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/uk/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/uk/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/uk/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/uk/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/uk/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/uk/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/uk/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/uk/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/uk/billing.mdx b/website/src/pages/uk/billing.mdx similarity index 100% rename from website/pages/uk/billing.mdx rename to website/src/pages/uk/billing.mdx diff --git a/website/pages/uk/chain-integration-overview.mdx b/website/src/pages/uk/chain-integration-overview.mdx similarity index 100% rename from website/pages/uk/chain-integration-overview.mdx rename to website/src/pages/uk/chain-integration-overview.mdx diff --git a/website/pages/uk/cookbook/_meta.js b/website/src/pages/uk/cookbook/_meta.js similarity index 100% rename from website/pages/uk/cookbook/_meta.js rename to website/src/pages/uk/cookbook/_meta.js diff --git a/website/pages/uk/cookbook/arweave.mdx b/website/src/pages/uk/cookbook/arweave.mdx similarity index 100% rename from website/pages/uk/cookbook/arweave.mdx rename to website/src/pages/uk/cookbook/arweave.mdx diff --git a/website/pages/uk/cookbook/base-testnet.mdx b/website/src/pages/uk/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/uk/cookbook/base-testnet.mdx rename to website/src/pages/uk/cookbook/base-testnet.mdx diff --git a/website/pages/uk/cookbook/cosmos.mdx b/website/src/pages/uk/cookbook/cosmos.mdx similarity index 100% rename from website/pages/uk/cookbook/cosmos.mdx rename to website/src/pages/uk/cookbook/cosmos.mdx diff --git a/website/pages/uk/cookbook/grafting.mdx b/website/src/pages/uk/cookbook/grafting.mdx similarity index 100% rename from website/pages/uk/cookbook/grafting.mdx rename to website/src/pages/uk/cookbook/grafting.mdx diff --git a/website/pages/uk/cookbook/near.mdx b/website/src/pages/uk/cookbook/near.mdx similarity index 100% rename from website/pages/uk/cookbook/near.mdx rename to website/src/pages/uk/cookbook/near.mdx diff --git a/website/pages/uk/cookbook/subgraph-debug-forking.mdx b/website/src/pages/uk/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/uk/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/uk/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/uk/cookbook/subgraph-uncrashable.mdx b/website/src/pages/uk/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/uk/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/uk/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/uk/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/uk/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/uk/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/uk/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/uk/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/uk/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/uk/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/uk/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/uk/deploying/_meta.js b/website/src/pages/uk/deploying/_meta.js similarity index 100% rename from website/pages/uk/deploying/_meta.js rename to website/src/pages/uk/deploying/_meta.js diff --git a/website/pages/uk/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/uk/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/uk/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/uk/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/uk/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/uk/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/uk/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/uk/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/uk/deploying/hosted-service.mdx b/website/src/pages/uk/deploying/hosted-service.mdx similarity index 100% rename from website/pages/uk/deploying/hosted-service.mdx rename to website/src/pages/uk/deploying/hosted-service.mdx diff --git a/website/pages/uk/deploying/subgraph-studio-faqs.mdx b/website/src/pages/uk/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/uk/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/uk/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/uk/deploying/subgraph-studio.mdx b/website/src/pages/uk/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/uk/deploying/subgraph-studio.mdx rename to website/src/pages/uk/deploying/subgraph-studio.mdx diff --git a/website/pages/uk/developing/_meta.js b/website/src/pages/uk/developing/_meta.js similarity index 100% rename from website/pages/uk/developing/_meta.js rename to website/src/pages/uk/developing/_meta.js diff --git a/website/pages/uk/developing/creating-a-subgraph.mdx b/website/src/pages/uk/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/uk/developing/creating-a-subgraph.mdx rename to website/src/pages/uk/developing/creating-a-subgraph.mdx diff --git a/website/pages/uk/developing/developer-faqs.mdx b/website/src/pages/uk/developing/developer-faqs.mdx similarity index 100% rename from website/pages/uk/developing/developer-faqs.mdx rename to website/src/pages/uk/developing/developer-faqs.mdx diff --git a/website/pages/uk/developing/graph-ts/api.mdx b/website/src/pages/uk/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/uk/developing/graph-ts/api.mdx rename to website/src/pages/uk/developing/graph-ts/api.mdx diff --git a/website/pages/ro/developing/graph-ts/common-issues.mdx b/website/src/pages/uk/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/ro/developing/graph-ts/common-issues.mdx rename to website/src/pages/uk/developing/graph-ts/common-issues.mdx diff --git a/website/pages/uk/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/uk/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/uk/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/uk/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/uk/developing/supported-networks.json b/website/src/pages/uk/developing/supported-networks.json similarity index 100% rename from website/pages/uk/developing/supported-networks.json rename to website/src/pages/uk/developing/supported-networks.json diff --git a/website/pages/uk/developing/supported-networks.mdx b/website/src/pages/uk/developing/supported-networks.mdx similarity index 100% rename from website/pages/uk/developing/supported-networks.mdx rename to website/src/pages/uk/developing/supported-networks.mdx diff --git a/website/pages/uk/developing/unit-testing-framework.mdx b/website/src/pages/uk/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/uk/developing/unit-testing-framework.mdx rename to website/src/pages/uk/developing/unit-testing-framework.mdx diff --git a/website/pages/uk/docsearch.json b/website/src/pages/uk/docsearch.json similarity index 100% rename from website/pages/uk/docsearch.json rename to website/src/pages/uk/docsearch.json diff --git a/website/pages/uk/firehose.mdx b/website/src/pages/uk/firehose.mdx similarity index 100% rename from website/pages/uk/firehose.mdx rename to website/src/pages/uk/firehose.mdx diff --git a/website/pages/uk/global.json b/website/src/pages/uk/global.json similarity index 57% rename from website/pages/uk/global.json rename to website/src/pages/uk/global.json index 745d33e31826..426477c51762 100644 --- a/website/pages/uk/global.json +++ b/website/src/pages/uk/global.json @@ -10,5 +10,18 @@ "notFoundTitle": "Упс! Ця сторінка загубилася в космосі...", "notFoundSubtitle": "Перевірте, чи використовуєте ви правильну URL-адресу, або відвідайте наш вебсайт, натиснувши на посилання нижче.", "goHome": "На головну", - "video": "Відео" + "video": "Відео", + "sidebar": { + "index": "Розпочати роботу", + "network": "Graph мережа", + "subgraphs": "Підграфи", + "developing": "Розробка", + "deploying": "Запуск", + "publishing": "Публікація", + "managing": "Управління", + "querying": "Запити", + "cookbook": "Книга поетапних порад", + "releaseNotes": "Примітки до релізів та інструкції по оновленню", + "indexing": "Індексація" + } } diff --git a/website/pages/uk/glossary.mdx b/website/src/pages/uk/glossary.mdx similarity index 100% rename from website/pages/uk/glossary.mdx rename to website/src/pages/uk/glossary.mdx diff --git a/website/pages/uk/graphcast.mdx b/website/src/pages/uk/graphcast.mdx similarity index 100% rename from website/pages/uk/graphcast.mdx rename to website/src/pages/uk/graphcast.mdx diff --git a/website/pages/uk/index.json b/website/src/pages/uk/index.json similarity index 98% rename from website/pages/uk/index.json rename to website/src/pages/uk/index.json index 8de6d91ebafd..38fb4c696373 100644 --- a/website/pages/uk/index.json +++ b/website/src/pages/uk/index.json @@ -1,5 +1,4 @@ { - "title": "Розпочати роботу", "intro": "Дізнайтеся про Graph - децентралізований протокол для індексації та запитів даних з блокчейнів.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/uk/managing/_meta.js b/website/src/pages/uk/managing/_meta.js similarity index 100% rename from website/pages/uk/managing/_meta.js rename to website/src/pages/uk/managing/_meta.js diff --git a/website/pages/uk/managing/deprecating-a-subgraph.mdx b/website/src/pages/uk/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/uk/managing/deprecating-a-subgraph.mdx rename to website/src/pages/uk/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/uk/managing/transferring-subgraph-ownership.mdx b/website/src/pages/uk/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/uk/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/uk/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/uk/mips-faqs.mdx b/website/src/pages/uk/mips-faqs.mdx similarity index 100% rename from website/pages/uk/mips-faqs.mdx rename to website/src/pages/uk/mips-faqs.mdx diff --git a/website/pages/yo/network/_meta.js b/website/src/pages/uk/network/_meta.js similarity index 100% rename from website/pages/yo/network/_meta.js rename to website/src/pages/uk/network/_meta.js diff --git a/website/pages/uk/network/benefits.mdx b/website/src/pages/uk/network/benefits.mdx similarity index 99% rename from website/pages/uk/network/benefits.mdx rename to website/src/pages/uk/network/benefits.mdx index b12002a1b0ec..98bba0858980 100644 --- a/website/pages/uk/network/benefits.mdx +++ b/website/src/pages/uk/network/benefits.mdx @@ -1,5 +1,6 @@ --- title: Мережа The Graph в порівнянні з Самостійним хостингом +sidebarTitle: Переваги socialImage: https://thegraph.com/docs/img/seo/benefits.jpg --- diff --git a/website/pages/uk/network/curating.mdx b/website/src/pages/uk/network/curating.mdx similarity index 100% rename from website/pages/uk/network/curating.mdx rename to website/src/pages/uk/network/curating.mdx diff --git a/website/pages/uk/network/delegating.mdx b/website/src/pages/uk/network/delegating.mdx similarity index 100% rename from website/pages/uk/network/delegating.mdx rename to website/src/pages/uk/network/delegating.mdx diff --git a/website/pages/uk/network/developing.mdx b/website/src/pages/uk/network/developing.mdx similarity index 100% rename from website/pages/uk/network/developing.mdx rename to website/src/pages/uk/network/developing.mdx diff --git a/website/pages/uk/network/explorer.mdx b/website/src/pages/uk/network/explorer.mdx similarity index 100% rename from website/pages/uk/network/explorer.mdx rename to website/src/pages/uk/network/explorer.mdx diff --git a/website/pages/uk/network/indexing.mdx b/website/src/pages/uk/network/indexing.mdx similarity index 100% rename from website/pages/uk/network/indexing.mdx rename to website/src/pages/uk/network/indexing.mdx diff --git a/website/pages/uk/network/overview.mdx b/website/src/pages/uk/network/overview.mdx similarity index 100% rename from website/pages/uk/network/overview.mdx rename to website/src/pages/uk/network/overview.mdx diff --git a/website/pages/uk/new-chain-integration.mdx b/website/src/pages/uk/new-chain-integration.mdx similarity index 100% rename from website/pages/uk/new-chain-integration.mdx rename to website/src/pages/uk/new-chain-integration.mdx diff --git a/website/pages/uk/operating-graph-node.mdx b/website/src/pages/uk/operating-graph-node.mdx similarity index 100% rename from website/pages/uk/operating-graph-node.mdx rename to website/src/pages/uk/operating-graph-node.mdx diff --git a/website/pages/uk/publishing/_meta.js b/website/src/pages/uk/publishing/_meta.js similarity index 100% rename from website/pages/uk/publishing/_meta.js rename to website/src/pages/uk/publishing/_meta.js diff --git a/website/pages/uk/publishing/publishing-a-subgraph.mdx b/website/src/pages/uk/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/uk/publishing/publishing-a-subgraph.mdx rename to website/src/pages/uk/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/uk/querying/_meta.js b/website/src/pages/uk/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/uk/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/uk/querying/distributed-systems.mdx b/website/src/pages/uk/querying/distributed-systems.mdx similarity index 100% rename from website/pages/uk/querying/distributed-systems.mdx rename to website/src/pages/uk/querying/distributed-systems.mdx diff --git a/website/pages/uk/querying/graphql-api.mdx b/website/src/pages/uk/querying/graphql-api.mdx similarity index 100% rename from website/pages/uk/querying/graphql-api.mdx rename to website/src/pages/uk/querying/graphql-api.mdx diff --git a/website/pages/uk/querying/managing-api-keys.mdx b/website/src/pages/uk/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/uk/querying/managing-api-keys.mdx rename to website/src/pages/uk/querying/managing-api-keys.mdx diff --git a/website/pages/uk/querying/querying-best-practices.mdx b/website/src/pages/uk/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/uk/querying/querying-best-practices.mdx rename to website/src/pages/uk/querying/querying-best-practices.mdx diff --git a/website/pages/uk/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/uk/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/uk/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/uk/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/uk/querying/querying-from-an-application.mdx b/website/src/pages/uk/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/uk/querying/querying-from-an-application.mdx rename to website/src/pages/uk/querying/querying-from-an-application.mdx diff --git a/website/pages/uk/querying/querying-the-graph.mdx b/website/src/pages/uk/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/uk/querying/querying-the-graph.mdx rename to website/src/pages/uk/querying/querying-the-graph.mdx diff --git a/website/pages/ro/querying/querying-with-python.mdx b/website/src/pages/uk/querying/querying-with-python.mdx similarity index 100% rename from website/pages/ro/querying/querying-with-python.mdx rename to website/src/pages/uk/querying/querying-with-python.mdx diff --git a/website/pages/uk/quick-start.mdx b/website/src/pages/uk/quick-start.mdx similarity index 100% rename from website/pages/uk/quick-start.mdx rename to website/src/pages/uk/quick-start.mdx diff --git a/website/pages/uk/release-notes/_meta.js b/website/src/pages/uk/release-notes/_meta.js similarity index 100% rename from website/pages/uk/release-notes/_meta.js rename to website/src/pages/uk/release-notes/_meta.js diff --git a/website/pages/uk/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/uk/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/uk/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/uk/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/uk/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/uk/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/uk/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/uk/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/uk/substreams.mdx b/website/src/pages/uk/substreams.mdx similarity index 100% rename from website/pages/uk/substreams.mdx rename to website/src/pages/uk/substreams.mdx diff --git a/website/pages/uk/sunrise.mdx b/website/src/pages/uk/sunrise.mdx similarity index 100% rename from website/pages/uk/sunrise.mdx rename to website/src/pages/uk/sunrise.mdx diff --git a/website/pages/uk/supported-network-requirements.mdx b/website/src/pages/uk/supported-network-requirements.mdx similarity index 100% rename from website/pages/uk/supported-network-requirements.mdx rename to website/src/pages/uk/supported-network-requirements.mdx diff --git a/website/pages/uk/tokenomics.mdx b/website/src/pages/uk/tokenomics.mdx similarity index 100% rename from website/pages/uk/tokenomics.mdx rename to website/src/pages/uk/tokenomics.mdx diff --git a/website/pages/uk/translations.ts b/website/src/pages/uk/translations.ts similarity index 100% rename from website/pages/uk/translations.ts rename to website/src/pages/uk/translations.ts diff --git a/website/pages/ur/about.mdx b/website/src/pages/ur/about.mdx similarity index 100% rename from website/pages/ur/about.mdx rename to website/src/pages/ur/about.mdx diff --git a/website/pages/ur/arbitrum/_meta.js b/website/src/pages/ur/arbitrum/_meta.js similarity index 100% rename from website/pages/ur/arbitrum/_meta.js rename to website/src/pages/ur/arbitrum/_meta.js diff --git a/website/pages/ur/arbitrum/arbitrum-faq.mdx b/website/src/pages/ur/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/ur/arbitrum/arbitrum-faq.mdx rename to website/src/pages/ur/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/ur/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/ur/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/ur/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/ur/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/ur/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/ur/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/ur/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/ur/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/ur/billing.mdx b/website/src/pages/ur/billing.mdx similarity index 100% rename from website/pages/ur/billing.mdx rename to website/src/pages/ur/billing.mdx diff --git a/website/pages/ur/chain-integration-overview.mdx b/website/src/pages/ur/chain-integration-overview.mdx similarity index 100% rename from website/pages/ur/chain-integration-overview.mdx rename to website/src/pages/ur/chain-integration-overview.mdx diff --git a/website/pages/ur/cookbook/_meta.js b/website/src/pages/ur/cookbook/_meta.js similarity index 100% rename from website/pages/ur/cookbook/_meta.js rename to website/src/pages/ur/cookbook/_meta.js diff --git a/website/pages/ur/cookbook/arweave.mdx b/website/src/pages/ur/cookbook/arweave.mdx similarity index 100% rename from website/pages/ur/cookbook/arweave.mdx rename to website/src/pages/ur/cookbook/arweave.mdx diff --git a/website/pages/ur/cookbook/base-testnet.mdx b/website/src/pages/ur/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/ur/cookbook/base-testnet.mdx rename to website/src/pages/ur/cookbook/base-testnet.mdx diff --git a/website/pages/ur/cookbook/cosmos.mdx b/website/src/pages/ur/cookbook/cosmos.mdx similarity index 100% rename from website/pages/ur/cookbook/cosmos.mdx rename to website/src/pages/ur/cookbook/cosmos.mdx diff --git a/website/pages/ur/cookbook/grafting.mdx b/website/src/pages/ur/cookbook/grafting.mdx similarity index 100% rename from website/pages/ur/cookbook/grafting.mdx rename to website/src/pages/ur/cookbook/grafting.mdx diff --git a/website/pages/ur/cookbook/near.mdx b/website/src/pages/ur/cookbook/near.mdx similarity index 100% rename from website/pages/ur/cookbook/near.mdx rename to website/src/pages/ur/cookbook/near.mdx diff --git a/website/pages/ur/cookbook/subgraph-debug-forking.mdx b/website/src/pages/ur/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/ur/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/ur/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/ur/cookbook/subgraph-uncrashable.mdx b/website/src/pages/ur/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/ur/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/ur/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/ur/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/ur/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/ur/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/ur/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/ur/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/ur/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/ur/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/ur/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/ur/deploying/_meta.js b/website/src/pages/ur/deploying/_meta.js similarity index 100% rename from website/pages/ur/deploying/_meta.js rename to website/src/pages/ur/deploying/_meta.js diff --git a/website/pages/ur/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/ur/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/ur/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/ur/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/ur/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/ur/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/ur/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/ur/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/ur/deploying/hosted-service.mdx b/website/src/pages/ur/deploying/hosted-service.mdx similarity index 100% rename from website/pages/ur/deploying/hosted-service.mdx rename to website/src/pages/ur/deploying/hosted-service.mdx diff --git a/website/pages/ur/deploying/subgraph-studio-faqs.mdx b/website/src/pages/ur/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/ur/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/ur/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/ur/deploying/subgraph-studio.mdx b/website/src/pages/ur/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/ur/deploying/subgraph-studio.mdx rename to website/src/pages/ur/deploying/subgraph-studio.mdx diff --git a/website/pages/ur/developing/_meta.js b/website/src/pages/ur/developing/_meta.js similarity index 100% rename from website/pages/ur/developing/_meta.js rename to website/src/pages/ur/developing/_meta.js diff --git a/website/pages/ur/developing/creating-a-subgraph.mdx b/website/src/pages/ur/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/ur/developing/creating-a-subgraph.mdx rename to website/src/pages/ur/developing/creating-a-subgraph.mdx diff --git a/website/pages/ur/developing/developer-faqs.mdx b/website/src/pages/ur/developing/developer-faqs.mdx similarity index 100% rename from website/pages/ur/developing/developer-faqs.mdx rename to website/src/pages/ur/developing/developer-faqs.mdx diff --git a/website/pages/ur/developing/graph-ts/api.mdx b/website/src/pages/ur/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/ur/developing/graph-ts/api.mdx rename to website/src/pages/ur/developing/graph-ts/api.mdx diff --git a/website/pages/ur/developing/graph-ts/common-issues.mdx b/website/src/pages/ur/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/ur/developing/graph-ts/common-issues.mdx rename to website/src/pages/ur/developing/graph-ts/common-issues.mdx diff --git a/website/pages/ur/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/ur/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/ur/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/ur/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/ur/developing/supported-networks.json b/website/src/pages/ur/developing/supported-networks.json similarity index 100% rename from website/pages/ur/developing/supported-networks.json rename to website/src/pages/ur/developing/supported-networks.json diff --git a/website/pages/ur/developing/supported-networks.mdx b/website/src/pages/ur/developing/supported-networks.mdx similarity index 100% rename from website/pages/ur/developing/supported-networks.mdx rename to website/src/pages/ur/developing/supported-networks.mdx diff --git a/website/pages/ur/developing/unit-testing-framework.mdx b/website/src/pages/ur/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/ur/developing/unit-testing-framework.mdx rename to website/src/pages/ur/developing/unit-testing-framework.mdx diff --git a/website/pages/ur/docsearch.json b/website/src/pages/ur/docsearch.json similarity index 100% rename from website/pages/ur/docsearch.json rename to website/src/pages/ur/docsearch.json diff --git a/website/pages/ur/firehose.mdx b/website/src/pages/ur/firehose.mdx similarity index 100% rename from website/pages/ur/firehose.mdx rename to website/src/pages/ur/firehose.mdx diff --git a/website/pages/ur/global.json b/website/src/pages/ur/global.json similarity index 58% rename from website/pages/ur/global.json rename to website/src/pages/ur/global.json index e52053029668..849f48491b1b 100644 --- a/website/pages/ur/global.json +++ b/website/src/pages/ur/global.json @@ -10,5 +10,18 @@ "notFoundTitle": "افوہ! یہ صفحہ خلا میں کھو گیا تھا...", "notFoundSubtitle": "چیک کریں کہ آیا آپ صحیح پتہ استعمال کر رہے ہیں یا نیچے دیے گئے لنک پر کلک کر کے ہماری ویب سائٹ کو دریافت کریں.", "goHome": "گھر جاو", - "video": "ویڈیو" + "video": "ویڈیو", + "sidebar": { + "index": "شروع کریں", + "network": "گراف نیٹورک", + "subgraphs": "سبگراف", + "developing": "ترقی پذیر", + "deploying": "تعیناتی", + "publishing": "اشاعت", + "managing": "انتظام", + "querying": "استفسار کرنا", + "cookbook": "ہدایت نامہ", + "releaseNotes": "ریلیز نوٹس اور اپ گریڈ گائیڈز", + "indexing": "انڈیکسنگ" + } } diff --git a/website/pages/ur/glossary.mdx b/website/src/pages/ur/glossary.mdx similarity index 100% rename from website/pages/ur/glossary.mdx rename to website/src/pages/ur/glossary.mdx diff --git a/website/pages/ur/graphcast.mdx b/website/src/pages/ur/graphcast.mdx similarity index 100% rename from website/pages/ur/graphcast.mdx rename to website/src/pages/ur/graphcast.mdx diff --git a/website/pages/ur/index.json b/website/src/pages/ur/index.json similarity index 99% rename from website/pages/ur/index.json rename to website/src/pages/ur/index.json index e86047ba79e9..5ac55c20bdfb 100644 --- a/website/pages/ur/index.json +++ b/website/src/pages/ur/index.json @@ -1,5 +1,4 @@ { - "title": "شروع کریں", "intro": "گراف کے بارے میں جانیں، ایک ڈیسینٹرلائز پروٹوکول جو بلاک چینز سے ڈیٹا کو انڈیکس کرنے اور کیوری کرتا ہے.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/ur/managing/_meta.js b/website/src/pages/ur/managing/_meta.js similarity index 100% rename from website/pages/ur/managing/_meta.js rename to website/src/pages/ur/managing/_meta.js diff --git a/website/pages/ur/managing/deprecating-a-subgraph.mdx b/website/src/pages/ur/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/ur/managing/deprecating-a-subgraph.mdx rename to website/src/pages/ur/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/ur/managing/transferring-subgraph-ownership.mdx b/website/src/pages/ur/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/ur/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/ur/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/ur/mips-faqs.mdx b/website/src/pages/ur/mips-faqs.mdx similarity index 100% rename from website/pages/ur/mips-faqs.mdx rename to website/src/pages/ur/mips-faqs.mdx diff --git a/website/pages/zh/network/_meta.js b/website/src/pages/ur/network/_meta.js similarity index 77% rename from website/pages/zh/network/_meta.js rename to website/src/pages/ur/network/_meta.js index caa8413f6703..49858537c885 100644 --- a/website/pages/zh/network/_meta.js +++ b/website/src/pages/ur/network/_meta.js @@ -2,5 +2,4 @@ import meta from '../../en/network/_meta.js' export default { ...meta, - overview: '概述', } diff --git a/website/pages/ur/network/benefits.mdx b/website/src/pages/ur/network/benefits.mdx similarity index 99% rename from website/pages/ur/network/benefits.mdx rename to website/src/pages/ur/network/benefits.mdx index dd0d9d2b3f80..be46ee74449d 100644 --- a/website/pages/ur/network/benefits.mdx +++ b/website/src/pages/ur/network/benefits.mdx @@ -1,5 +1,6 @@ --- title: گراف نیٹ ورکنگ بمقابلہ سیلف ہوسٹنگ +sidebarTitle: فوائد socialImage: https://thegraph.com/docs/img/seo/benefits.jpg --- diff --git a/website/pages/ur/network/curating.mdx b/website/src/pages/ur/network/curating.mdx similarity index 100% rename from website/pages/ur/network/curating.mdx rename to website/src/pages/ur/network/curating.mdx diff --git a/website/pages/ur/network/delegating.mdx b/website/src/pages/ur/network/delegating.mdx similarity index 100% rename from website/pages/ur/network/delegating.mdx rename to website/src/pages/ur/network/delegating.mdx diff --git a/website/pages/ur/network/developing.mdx b/website/src/pages/ur/network/developing.mdx similarity index 100% rename from website/pages/ur/network/developing.mdx rename to website/src/pages/ur/network/developing.mdx diff --git a/website/pages/ur/network/explorer.mdx b/website/src/pages/ur/network/explorer.mdx similarity index 100% rename from website/pages/ur/network/explorer.mdx rename to website/src/pages/ur/network/explorer.mdx diff --git a/website/pages/ur/network/indexing.mdx b/website/src/pages/ur/network/indexing.mdx similarity index 100% rename from website/pages/ur/network/indexing.mdx rename to website/src/pages/ur/network/indexing.mdx diff --git a/website/pages/ur/network/overview.mdx b/website/src/pages/ur/network/overview.mdx similarity index 98% rename from website/pages/ur/network/overview.mdx rename to website/src/pages/ur/network/overview.mdx index edfb733ac1aa..ae20951793f1 100644 --- a/website/pages/ur/network/overview.mdx +++ b/website/src/pages/ur/network/overview.mdx @@ -1,5 +1,6 @@ --- title: نیٹ ورک کا جائزہ +sidebarTitle: جائزہ --- گراف نیٹ ورک بلاکچین ڈیٹا کو منظم کرنے کے لیے ایک ڈیسینٹرالائزڈ انڈیکسنگ پروٹوکول ہے۔ ایپلیکیشنز GraphQL کا استعمال اوپن APIs سے کیوری کرنے کے لیے کرتی ہیں جسے سب گراف کہتے ہیں، نیٹ ورک پر انڈیکس کردہ ڈیٹا کو بازیافت کرنے کے لیے۔ گراف کے ساتھ، ڈویلپر بغیر سرور کے ایپلیکیشنز بنا سکتے ہیں جو مکمل طور پر عوامی انفراسٹرکچر پر چلتی ہیں. diff --git a/website/pages/ur/new-chain-integration.mdx b/website/src/pages/ur/new-chain-integration.mdx similarity index 100% rename from website/pages/ur/new-chain-integration.mdx rename to website/src/pages/ur/new-chain-integration.mdx diff --git a/website/pages/ur/operating-graph-node.mdx b/website/src/pages/ur/operating-graph-node.mdx similarity index 100% rename from website/pages/ur/operating-graph-node.mdx rename to website/src/pages/ur/operating-graph-node.mdx diff --git a/website/pages/ur/publishing/_meta.js b/website/src/pages/ur/publishing/_meta.js similarity index 100% rename from website/pages/ur/publishing/_meta.js rename to website/src/pages/ur/publishing/_meta.js diff --git a/website/pages/ur/publishing/publishing-a-subgraph.mdx b/website/src/pages/ur/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/ur/publishing/publishing-a-subgraph.mdx rename to website/src/pages/ur/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/ur/querying/_meta.js b/website/src/pages/ur/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/ur/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/ur/querying/distributed-systems.mdx b/website/src/pages/ur/querying/distributed-systems.mdx similarity index 100% rename from website/pages/ur/querying/distributed-systems.mdx rename to website/src/pages/ur/querying/distributed-systems.mdx diff --git a/website/pages/ur/querying/graphql-api.mdx b/website/src/pages/ur/querying/graphql-api.mdx similarity index 100% rename from website/pages/ur/querying/graphql-api.mdx rename to website/src/pages/ur/querying/graphql-api.mdx diff --git a/website/pages/ur/querying/managing-api-keys.mdx b/website/src/pages/ur/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/ur/querying/managing-api-keys.mdx rename to website/src/pages/ur/querying/managing-api-keys.mdx diff --git a/website/pages/ur/querying/querying-best-practices.mdx b/website/src/pages/ur/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/ur/querying/querying-best-practices.mdx rename to website/src/pages/ur/querying/querying-best-practices.mdx diff --git a/website/pages/ur/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/ur/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/ur/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/ur/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/ur/querying/querying-from-an-application.mdx b/website/src/pages/ur/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/ur/querying/querying-from-an-application.mdx rename to website/src/pages/ur/querying/querying-from-an-application.mdx diff --git a/website/pages/ur/querying/querying-the-graph.mdx b/website/src/pages/ur/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/ur/querying/querying-the-graph.mdx rename to website/src/pages/ur/querying/querying-the-graph.mdx diff --git a/website/pages/ur/querying/querying-with-python.mdx b/website/src/pages/ur/querying/querying-with-python.mdx similarity index 100% rename from website/pages/ur/querying/querying-with-python.mdx rename to website/src/pages/ur/querying/querying-with-python.mdx diff --git a/website/pages/ur/quick-start.mdx b/website/src/pages/ur/quick-start.mdx similarity index 100% rename from website/pages/ur/quick-start.mdx rename to website/src/pages/ur/quick-start.mdx diff --git a/website/pages/ur/release-notes/_meta.js b/website/src/pages/ur/release-notes/_meta.js similarity index 100% rename from website/pages/ur/release-notes/_meta.js rename to website/src/pages/ur/release-notes/_meta.js diff --git a/website/pages/ur/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/ur/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/ur/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/ur/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/ur/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/ur/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/ur/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/ur/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/ur/substreams.mdx b/website/src/pages/ur/substreams.mdx similarity index 100% rename from website/pages/ur/substreams.mdx rename to website/src/pages/ur/substreams.mdx diff --git a/website/pages/ur/sunrise.mdx b/website/src/pages/ur/sunrise.mdx similarity index 100% rename from website/pages/ur/sunrise.mdx rename to website/src/pages/ur/sunrise.mdx diff --git a/website/pages/ur/supported-network-requirements.mdx b/website/src/pages/ur/supported-network-requirements.mdx similarity index 100% rename from website/pages/ur/supported-network-requirements.mdx rename to website/src/pages/ur/supported-network-requirements.mdx diff --git a/website/pages/ur/tokenomics.mdx b/website/src/pages/ur/tokenomics.mdx similarity index 100% rename from website/pages/ur/tokenomics.mdx rename to website/src/pages/ur/tokenomics.mdx diff --git a/website/pages/ur/translations.ts b/website/src/pages/ur/translations.ts similarity index 100% rename from website/pages/ur/translations.ts rename to website/src/pages/ur/translations.ts diff --git a/website/pages/vi/about.mdx b/website/src/pages/vi/about.mdx similarity index 100% rename from website/pages/vi/about.mdx rename to website/src/pages/vi/about.mdx diff --git a/website/pages/vi/arbitrum/_meta.js b/website/src/pages/vi/arbitrum/_meta.js similarity index 100% rename from website/pages/vi/arbitrum/_meta.js rename to website/src/pages/vi/arbitrum/_meta.js diff --git a/website/pages/vi/arbitrum/arbitrum-faq.mdx b/website/src/pages/vi/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/vi/arbitrum/arbitrum-faq.mdx rename to website/src/pages/vi/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/vi/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/vi/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/vi/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/vi/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/vi/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/vi/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/vi/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/vi/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/vi/billing.mdx b/website/src/pages/vi/billing.mdx similarity index 100% rename from website/pages/vi/billing.mdx rename to website/src/pages/vi/billing.mdx diff --git a/website/pages/vi/chain-integration-overview.mdx b/website/src/pages/vi/chain-integration-overview.mdx similarity index 100% rename from website/pages/vi/chain-integration-overview.mdx rename to website/src/pages/vi/chain-integration-overview.mdx diff --git a/website/pages/vi/cookbook/_meta.js b/website/src/pages/vi/cookbook/_meta.js similarity index 100% rename from website/pages/vi/cookbook/_meta.js rename to website/src/pages/vi/cookbook/_meta.js diff --git a/website/pages/vi/cookbook/arweave.mdx b/website/src/pages/vi/cookbook/arweave.mdx similarity index 100% rename from website/pages/vi/cookbook/arweave.mdx rename to website/src/pages/vi/cookbook/arweave.mdx diff --git a/website/pages/vi/cookbook/base-testnet.mdx b/website/src/pages/vi/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/vi/cookbook/base-testnet.mdx rename to website/src/pages/vi/cookbook/base-testnet.mdx diff --git a/website/pages/vi/cookbook/cosmos.mdx b/website/src/pages/vi/cookbook/cosmos.mdx similarity index 100% rename from website/pages/vi/cookbook/cosmos.mdx rename to website/src/pages/vi/cookbook/cosmos.mdx diff --git a/website/pages/vi/cookbook/grafting.mdx b/website/src/pages/vi/cookbook/grafting.mdx similarity index 100% rename from website/pages/vi/cookbook/grafting.mdx rename to website/src/pages/vi/cookbook/grafting.mdx diff --git a/website/pages/vi/cookbook/near.mdx b/website/src/pages/vi/cookbook/near.mdx similarity index 100% rename from website/pages/vi/cookbook/near.mdx rename to website/src/pages/vi/cookbook/near.mdx diff --git a/website/pages/vi/cookbook/subgraph-debug-forking.mdx b/website/src/pages/vi/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/vi/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/vi/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/vi/cookbook/subgraph-uncrashable.mdx b/website/src/pages/vi/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/vi/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/vi/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/vi/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/vi/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/vi/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/vi/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/vi/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/vi/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/vi/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/vi/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/vi/deploying/_meta.js b/website/src/pages/vi/deploying/_meta.js similarity index 100% rename from website/pages/vi/deploying/_meta.js rename to website/src/pages/vi/deploying/_meta.js diff --git a/website/pages/vi/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/vi/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/vi/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/vi/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/vi/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/vi/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/vi/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/vi/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/vi/deploying/hosted-service.mdx b/website/src/pages/vi/deploying/hosted-service.mdx similarity index 100% rename from website/pages/vi/deploying/hosted-service.mdx rename to website/src/pages/vi/deploying/hosted-service.mdx diff --git a/website/pages/vi/deploying/subgraph-studio-faqs.mdx b/website/src/pages/vi/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/vi/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/vi/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/vi/deploying/subgraph-studio.mdx b/website/src/pages/vi/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/vi/deploying/subgraph-studio.mdx rename to website/src/pages/vi/deploying/subgraph-studio.mdx diff --git a/website/pages/vi/developing/_meta.js b/website/src/pages/vi/developing/_meta.js similarity index 100% rename from website/pages/vi/developing/_meta.js rename to website/src/pages/vi/developing/_meta.js diff --git a/website/pages/vi/developing/creating-a-subgraph.mdx b/website/src/pages/vi/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/vi/developing/creating-a-subgraph.mdx rename to website/src/pages/vi/developing/creating-a-subgraph.mdx diff --git a/website/pages/vi/developing/developer-faqs.mdx b/website/src/pages/vi/developing/developer-faqs.mdx similarity index 100% rename from website/pages/vi/developing/developer-faqs.mdx rename to website/src/pages/vi/developing/developer-faqs.mdx diff --git a/website/pages/vi/developing/graph-ts/api.mdx b/website/src/pages/vi/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/vi/developing/graph-ts/api.mdx rename to website/src/pages/vi/developing/graph-ts/api.mdx diff --git a/website/pages/uk/developing/graph-ts/common-issues.mdx b/website/src/pages/vi/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/uk/developing/graph-ts/common-issues.mdx rename to website/src/pages/vi/developing/graph-ts/common-issues.mdx diff --git a/website/pages/vi/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/vi/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/vi/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/vi/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/vi/developing/supported-networks.json b/website/src/pages/vi/developing/supported-networks.json similarity index 100% rename from website/pages/vi/developing/supported-networks.json rename to website/src/pages/vi/developing/supported-networks.json diff --git a/website/pages/vi/developing/supported-networks.mdx b/website/src/pages/vi/developing/supported-networks.mdx similarity index 100% rename from website/pages/vi/developing/supported-networks.mdx rename to website/src/pages/vi/developing/supported-networks.mdx diff --git a/website/pages/vi/developing/unit-testing-framework.mdx b/website/src/pages/vi/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/vi/developing/unit-testing-framework.mdx rename to website/src/pages/vi/developing/unit-testing-framework.mdx diff --git a/website/pages/vi/docsearch.json b/website/src/pages/vi/docsearch.json similarity index 100% rename from website/pages/vi/docsearch.json rename to website/src/pages/vi/docsearch.json diff --git a/website/pages/vi/firehose.mdx b/website/src/pages/vi/firehose.mdx similarity index 100% rename from website/pages/vi/firehose.mdx rename to website/src/pages/vi/firehose.mdx diff --git a/website/pages/vi/global.json b/website/src/pages/vi/global.json similarity index 90% rename from website/pages/vi/global.json rename to website/src/pages/vi/global.json index 85a32302db5f..97acf4d6892d 100644 --- a/website/pages/vi/global.json +++ b/website/src/pages/vi/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Ối! Trang này đã bị lạc mất trong không gian...", "notFoundSubtitle": "Kiểm tra xem bạn có đang sử dụng đúng địa chỉ hay không hoặc khám phá trang web của chúng tôi bằng cách nhấp vào liên kết bên dưới.", "goHome": "Về Trang chủ", - "video": "Video" + "video": "Video", + "sidebar": { + "index": "Bắt đầu" + } } diff --git a/website/pages/vi/glossary.mdx b/website/src/pages/vi/glossary.mdx similarity index 100% rename from website/pages/vi/glossary.mdx rename to website/src/pages/vi/glossary.mdx diff --git a/website/pages/vi/graphcast.mdx b/website/src/pages/vi/graphcast.mdx similarity index 100% rename from website/pages/vi/graphcast.mdx rename to website/src/pages/vi/graphcast.mdx diff --git a/website/pages/vi/index.json b/website/src/pages/vi/index.json similarity index 99% rename from website/pages/vi/index.json rename to website/src/pages/vi/index.json index 5d69c14b124b..30981050b345 100644 --- a/website/pages/vi/index.json +++ b/website/src/pages/vi/index.json @@ -1,5 +1,4 @@ { - "title": "Bắt đầu", "intro": "Tìm hiểu về The Graph một giao thức phi tập trung để lập chỉ mục và truy vấn dữ liệu từ các blockchain.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/vi/managing/_meta.js b/website/src/pages/vi/managing/_meta.js similarity index 100% rename from website/pages/vi/managing/_meta.js rename to website/src/pages/vi/managing/_meta.js diff --git a/website/pages/vi/managing/deprecating-a-subgraph.mdx b/website/src/pages/vi/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/vi/managing/deprecating-a-subgraph.mdx rename to website/src/pages/vi/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/vi/managing/transferring-subgraph-ownership.mdx b/website/src/pages/vi/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/vi/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/vi/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/vi/mips-faqs.mdx b/website/src/pages/vi/mips-faqs.mdx similarity index 100% rename from website/pages/vi/mips-faqs.mdx rename to website/src/pages/vi/mips-faqs.mdx diff --git a/website/pages/vi/network/_meta.js b/website/src/pages/vi/network/_meta.js similarity index 73% rename from website/pages/vi/network/_meta.js rename to website/src/pages/vi/network/_meta.js index cb884e6b9169..49858537c885 100644 --- a/website/pages/vi/network/_meta.js +++ b/website/src/pages/vi/network/_meta.js @@ -2,5 +2,4 @@ import meta from '../../en/network/_meta.js' export default { ...meta, - overview: 'Tổng quan', } diff --git a/website/pages/vi/network/benefits.mdx b/website/src/pages/vi/network/benefits.mdx similarity index 100% rename from website/pages/vi/network/benefits.mdx rename to website/src/pages/vi/network/benefits.mdx diff --git a/website/pages/vi/network/curating.mdx b/website/src/pages/vi/network/curating.mdx similarity index 100% rename from website/pages/vi/network/curating.mdx rename to website/src/pages/vi/network/curating.mdx diff --git a/website/pages/vi/network/delegating.mdx b/website/src/pages/vi/network/delegating.mdx similarity index 100% rename from website/pages/vi/network/delegating.mdx rename to website/src/pages/vi/network/delegating.mdx diff --git a/website/pages/vi/network/developing.mdx b/website/src/pages/vi/network/developing.mdx similarity index 100% rename from website/pages/vi/network/developing.mdx rename to website/src/pages/vi/network/developing.mdx diff --git a/website/pages/vi/network/explorer.mdx b/website/src/pages/vi/network/explorer.mdx similarity index 100% rename from website/pages/vi/network/explorer.mdx rename to website/src/pages/vi/network/explorer.mdx diff --git a/website/pages/vi/network/indexing.mdx b/website/src/pages/vi/network/indexing.mdx similarity index 100% rename from website/pages/vi/network/indexing.mdx rename to website/src/pages/vi/network/indexing.mdx diff --git a/website/pages/vi/network/overview.mdx b/website/src/pages/vi/network/overview.mdx similarity index 97% rename from website/pages/vi/network/overview.mdx rename to website/src/pages/vi/network/overview.mdx index bcf11c552377..2c247b8b0dc9 100644 --- a/website/pages/vi/network/overview.mdx +++ b/website/src/pages/vi/network/overview.mdx @@ -1,5 +1,6 @@ --- title: Network Overview +sidebarTitle: Tổng quan --- Mạng The Graph là một giao thức lập chỉ mục phi tập trung để tổ chức dữ liệu blockchain. Các ứng dụng sử dụng GraphQL để truy vấn các API mở được gọi là subgraph, để truy xuất dữ liệu được lập chỉ mục trên mạng. Với The Graph, các nhà phát triển có thể xây dựng các ứng dụng không máy chủ chạy hoàn toàn trên cơ sở hạ tầng công cộng. diff --git a/website/pages/vi/new-chain-integration.mdx b/website/src/pages/vi/new-chain-integration.mdx similarity index 100% rename from website/pages/vi/new-chain-integration.mdx rename to website/src/pages/vi/new-chain-integration.mdx diff --git a/website/pages/vi/operating-graph-node.mdx b/website/src/pages/vi/operating-graph-node.mdx similarity index 100% rename from website/pages/vi/operating-graph-node.mdx rename to website/src/pages/vi/operating-graph-node.mdx diff --git a/website/pages/vi/publishing/_meta.js b/website/src/pages/vi/publishing/_meta.js similarity index 100% rename from website/pages/vi/publishing/_meta.js rename to website/src/pages/vi/publishing/_meta.js diff --git a/website/pages/vi/publishing/publishing-a-subgraph.mdx b/website/src/pages/vi/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/vi/publishing/publishing-a-subgraph.mdx rename to website/src/pages/vi/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/vi/querying/_meta.js b/website/src/pages/vi/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/vi/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/vi/querying/distributed-systems.mdx b/website/src/pages/vi/querying/distributed-systems.mdx similarity index 100% rename from website/pages/vi/querying/distributed-systems.mdx rename to website/src/pages/vi/querying/distributed-systems.mdx diff --git a/website/pages/vi/querying/graphql-api.mdx b/website/src/pages/vi/querying/graphql-api.mdx similarity index 100% rename from website/pages/vi/querying/graphql-api.mdx rename to website/src/pages/vi/querying/graphql-api.mdx diff --git a/website/pages/vi/querying/managing-api-keys.mdx b/website/src/pages/vi/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/vi/querying/managing-api-keys.mdx rename to website/src/pages/vi/querying/managing-api-keys.mdx diff --git a/website/pages/vi/querying/querying-best-practices.mdx b/website/src/pages/vi/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/vi/querying/querying-best-practices.mdx rename to website/src/pages/vi/querying/querying-best-practices.mdx diff --git a/website/pages/vi/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/vi/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/vi/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/vi/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/vi/querying/querying-from-an-application.mdx b/website/src/pages/vi/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/vi/querying/querying-from-an-application.mdx rename to website/src/pages/vi/querying/querying-from-an-application.mdx diff --git a/website/pages/vi/querying/querying-the-graph.mdx b/website/src/pages/vi/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/vi/querying/querying-the-graph.mdx rename to website/src/pages/vi/querying/querying-the-graph.mdx diff --git a/website/pages/uk/querying/querying-with-python.mdx b/website/src/pages/vi/querying/querying-with-python.mdx similarity index 100% rename from website/pages/uk/querying/querying-with-python.mdx rename to website/src/pages/vi/querying/querying-with-python.mdx diff --git a/website/pages/vi/quick-start.mdx b/website/src/pages/vi/quick-start.mdx similarity index 100% rename from website/pages/vi/quick-start.mdx rename to website/src/pages/vi/quick-start.mdx diff --git a/website/pages/vi/release-notes/_meta.js b/website/src/pages/vi/release-notes/_meta.js similarity index 100% rename from website/pages/vi/release-notes/_meta.js rename to website/src/pages/vi/release-notes/_meta.js diff --git a/website/pages/vi/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/vi/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/vi/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/vi/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/vi/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/vi/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/vi/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/vi/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/vi/substreams.mdx b/website/src/pages/vi/substreams.mdx similarity index 100% rename from website/pages/vi/substreams.mdx rename to website/src/pages/vi/substreams.mdx diff --git a/website/pages/vi/sunrise.mdx b/website/src/pages/vi/sunrise.mdx similarity index 100% rename from website/pages/vi/sunrise.mdx rename to website/src/pages/vi/sunrise.mdx diff --git a/website/pages/vi/supported-network-requirements.mdx b/website/src/pages/vi/supported-network-requirements.mdx similarity index 100% rename from website/pages/vi/supported-network-requirements.mdx rename to website/src/pages/vi/supported-network-requirements.mdx diff --git a/website/pages/vi/tokenomics.mdx b/website/src/pages/vi/tokenomics.mdx similarity index 100% rename from website/pages/vi/tokenomics.mdx rename to website/src/pages/vi/tokenomics.mdx diff --git a/website/pages/vi/translations.ts b/website/src/pages/vi/translations.ts similarity index 100% rename from website/pages/vi/translations.ts rename to website/src/pages/vi/translations.ts diff --git a/website/pages/yo/about.mdx b/website/src/pages/yo/about.mdx similarity index 100% rename from website/pages/yo/about.mdx rename to website/src/pages/yo/about.mdx diff --git a/website/pages/yo/arbitrum/_meta.js b/website/src/pages/yo/arbitrum/_meta.js similarity index 100% rename from website/pages/yo/arbitrum/_meta.js rename to website/src/pages/yo/arbitrum/_meta.js diff --git a/website/pages/yo/arbitrum/arbitrum-faq.mdx b/website/src/pages/yo/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/yo/arbitrum/arbitrum-faq.mdx rename to website/src/pages/yo/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/yo/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/yo/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/yo/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/yo/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/yo/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/yo/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/yo/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/yo/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/yo/billing.mdx b/website/src/pages/yo/billing.mdx similarity index 100% rename from website/pages/yo/billing.mdx rename to website/src/pages/yo/billing.mdx diff --git a/website/pages/yo/chain-integration-overview.mdx b/website/src/pages/yo/chain-integration-overview.mdx similarity index 100% rename from website/pages/yo/chain-integration-overview.mdx rename to website/src/pages/yo/chain-integration-overview.mdx diff --git a/website/pages/yo/cookbook/_meta.js b/website/src/pages/yo/cookbook/_meta.js similarity index 100% rename from website/pages/yo/cookbook/_meta.js rename to website/src/pages/yo/cookbook/_meta.js diff --git a/website/pages/yo/cookbook/arweave.mdx b/website/src/pages/yo/cookbook/arweave.mdx similarity index 100% rename from website/pages/yo/cookbook/arweave.mdx rename to website/src/pages/yo/cookbook/arweave.mdx diff --git a/website/pages/yo/cookbook/base-testnet.mdx b/website/src/pages/yo/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/yo/cookbook/base-testnet.mdx rename to website/src/pages/yo/cookbook/base-testnet.mdx diff --git a/website/pages/yo/cookbook/cosmos.mdx b/website/src/pages/yo/cookbook/cosmos.mdx similarity index 100% rename from website/pages/yo/cookbook/cosmos.mdx rename to website/src/pages/yo/cookbook/cosmos.mdx diff --git a/website/pages/yo/cookbook/grafting.mdx b/website/src/pages/yo/cookbook/grafting.mdx similarity index 100% rename from website/pages/yo/cookbook/grafting.mdx rename to website/src/pages/yo/cookbook/grafting.mdx diff --git a/website/pages/yo/cookbook/near.mdx b/website/src/pages/yo/cookbook/near.mdx similarity index 100% rename from website/pages/yo/cookbook/near.mdx rename to website/src/pages/yo/cookbook/near.mdx diff --git a/website/pages/yo/cookbook/subgraph-debug-forking.mdx b/website/src/pages/yo/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/yo/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/yo/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/yo/cookbook/subgraph-uncrashable.mdx b/website/src/pages/yo/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/yo/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/yo/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/yo/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/yo/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/yo/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/yo/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/yo/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/yo/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/yo/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/yo/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/yo/deploying/_meta.js b/website/src/pages/yo/deploying/_meta.js similarity index 100% rename from website/pages/yo/deploying/_meta.js rename to website/src/pages/yo/deploying/_meta.js diff --git a/website/pages/yo/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/yo/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/yo/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/yo/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/yo/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/yo/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/yo/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/yo/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/yo/deploying/hosted-service.mdx b/website/src/pages/yo/deploying/hosted-service.mdx similarity index 100% rename from website/pages/yo/deploying/hosted-service.mdx rename to website/src/pages/yo/deploying/hosted-service.mdx diff --git a/website/pages/yo/deploying/subgraph-studio-faqs.mdx b/website/src/pages/yo/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/yo/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/yo/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/yo/deploying/subgraph-studio.mdx b/website/src/pages/yo/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/yo/deploying/subgraph-studio.mdx rename to website/src/pages/yo/deploying/subgraph-studio.mdx diff --git a/website/pages/yo/developing/_meta.js b/website/src/pages/yo/developing/_meta.js similarity index 100% rename from website/pages/yo/developing/_meta.js rename to website/src/pages/yo/developing/_meta.js diff --git a/website/pages/yo/developing/creating-a-subgraph.mdx b/website/src/pages/yo/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/yo/developing/creating-a-subgraph.mdx rename to website/src/pages/yo/developing/creating-a-subgraph.mdx diff --git a/website/pages/yo/developing/developer-faqs.mdx b/website/src/pages/yo/developing/developer-faqs.mdx similarity index 100% rename from website/pages/yo/developing/developer-faqs.mdx rename to website/src/pages/yo/developing/developer-faqs.mdx diff --git a/website/pages/yo/developing/graph-ts/api.mdx b/website/src/pages/yo/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/yo/developing/graph-ts/api.mdx rename to website/src/pages/yo/developing/graph-ts/api.mdx diff --git a/website/pages/vi/developing/graph-ts/common-issues.mdx b/website/src/pages/yo/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/vi/developing/graph-ts/common-issues.mdx rename to website/src/pages/yo/developing/graph-ts/common-issues.mdx diff --git a/website/pages/yo/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/yo/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/yo/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/yo/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/yo/developing/supported-networks.json b/website/src/pages/yo/developing/supported-networks.json similarity index 100% rename from website/pages/yo/developing/supported-networks.json rename to website/src/pages/yo/developing/supported-networks.json diff --git a/website/pages/yo/developing/supported-networks.mdx b/website/src/pages/yo/developing/supported-networks.mdx similarity index 100% rename from website/pages/yo/developing/supported-networks.mdx rename to website/src/pages/yo/developing/supported-networks.mdx diff --git a/website/pages/yo/developing/unit-testing-framework.mdx b/website/src/pages/yo/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/yo/developing/unit-testing-framework.mdx rename to website/src/pages/yo/developing/unit-testing-framework.mdx diff --git a/website/pages/yo/docsearch.json b/website/src/pages/yo/docsearch.json similarity index 100% rename from website/pages/yo/docsearch.json rename to website/src/pages/yo/docsearch.json diff --git a/website/pages/yo/firehose.mdx b/website/src/pages/yo/firehose.mdx similarity index 100% rename from website/pages/yo/firehose.mdx rename to website/src/pages/yo/firehose.mdx diff --git a/website/pages/yo/global.json b/website/src/pages/yo/global.json similarity index 88% rename from website/pages/yo/global.json rename to website/src/pages/yo/global.json index 32766db6c057..f53f29840583 100644 --- a/website/pages/yo/global.json +++ b/website/src/pages/yo/global.json @@ -10,5 +10,8 @@ "notFoundTitle": "Ops! Oju-iwe yii ti sọnu ni aaye...", "notFoundSubtitle": "Ṣayẹwo boya o nlo adirẹsi ti o tọ tabi ṣawari oju opo wẹẹbu wa nipa titẹ si ọna asopọ ni isalẹ.", "goHome": "Lọ si ile", - "video": "Fidio" + "video": "Fidio", + "sidebar": { + "index": "Get Started" + } } diff --git a/website/pages/yo/glossary.mdx b/website/src/pages/yo/glossary.mdx similarity index 100% rename from website/pages/yo/glossary.mdx rename to website/src/pages/yo/glossary.mdx diff --git a/website/pages/yo/graphcast.mdx b/website/src/pages/yo/graphcast.mdx similarity index 100% rename from website/pages/yo/graphcast.mdx rename to website/src/pages/yo/graphcast.mdx diff --git a/website/pages/yo/index.json b/website/src/pages/yo/index.json similarity index 98% rename from website/pages/yo/index.json rename to website/src/pages/yo/index.json index 7ca98feb4487..cd44e91c9137 100644 --- a/website/pages/yo/index.json +++ b/website/src/pages/yo/index.json @@ -1,5 +1,4 @@ { - "title": "Get Started", "intro": "Kọ ẹkọ nipa Aworan naa, ilana isọdasilẹ fun titọka ati ibeere data lati awọn blockchains.", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/yo/managing/_meta.js b/website/src/pages/yo/managing/_meta.js similarity index 100% rename from website/pages/yo/managing/_meta.js rename to website/src/pages/yo/managing/_meta.js diff --git a/website/pages/yo/managing/deprecating-a-subgraph.mdx b/website/src/pages/yo/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/yo/managing/deprecating-a-subgraph.mdx rename to website/src/pages/yo/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/yo/managing/transferring-subgraph-ownership.mdx b/website/src/pages/yo/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/yo/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/yo/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/yo/mips-faqs.mdx b/website/src/pages/yo/mips-faqs.mdx similarity index 100% rename from website/pages/yo/mips-faqs.mdx rename to website/src/pages/yo/mips-faqs.mdx diff --git a/website/pages/uk/network/_meta.js b/website/src/pages/yo/network/_meta.js similarity index 70% rename from website/pages/uk/network/_meta.js rename to website/src/pages/yo/network/_meta.js index 19d6fd4679e4..49858537c885 100644 --- a/website/pages/uk/network/_meta.js +++ b/website/src/pages/yo/network/_meta.js @@ -2,5 +2,4 @@ import meta from '../../en/network/_meta.js' export default { ...meta, - benefits: 'Переваги', } diff --git a/website/pages/yo/network/benefits.mdx b/website/src/pages/yo/network/benefits.mdx similarity index 100% rename from website/pages/yo/network/benefits.mdx rename to website/src/pages/yo/network/benefits.mdx diff --git a/website/pages/yo/network/curating.mdx b/website/src/pages/yo/network/curating.mdx similarity index 100% rename from website/pages/yo/network/curating.mdx rename to website/src/pages/yo/network/curating.mdx diff --git a/website/pages/yo/network/delegating.mdx b/website/src/pages/yo/network/delegating.mdx similarity index 100% rename from website/pages/yo/network/delegating.mdx rename to website/src/pages/yo/network/delegating.mdx diff --git a/website/pages/yo/network/developing.mdx b/website/src/pages/yo/network/developing.mdx similarity index 100% rename from website/pages/yo/network/developing.mdx rename to website/src/pages/yo/network/developing.mdx diff --git a/website/pages/yo/network/explorer.mdx b/website/src/pages/yo/network/explorer.mdx similarity index 100% rename from website/pages/yo/network/explorer.mdx rename to website/src/pages/yo/network/explorer.mdx diff --git a/website/pages/yo/network/indexing.mdx b/website/src/pages/yo/network/indexing.mdx similarity index 100% rename from website/pages/yo/network/indexing.mdx rename to website/src/pages/yo/network/indexing.mdx diff --git a/website/pages/yo/network/overview.mdx b/website/src/pages/yo/network/overview.mdx similarity index 100% rename from website/pages/yo/network/overview.mdx rename to website/src/pages/yo/network/overview.mdx diff --git a/website/pages/yo/new-chain-integration.mdx b/website/src/pages/yo/new-chain-integration.mdx similarity index 100% rename from website/pages/yo/new-chain-integration.mdx rename to website/src/pages/yo/new-chain-integration.mdx diff --git a/website/pages/yo/operating-graph-node.mdx b/website/src/pages/yo/operating-graph-node.mdx similarity index 100% rename from website/pages/yo/operating-graph-node.mdx rename to website/src/pages/yo/operating-graph-node.mdx diff --git a/website/pages/yo/publishing/_meta.js b/website/src/pages/yo/publishing/_meta.js similarity index 100% rename from website/pages/yo/publishing/_meta.js rename to website/src/pages/yo/publishing/_meta.js diff --git a/website/pages/yo/publishing/publishing-a-subgraph.mdx b/website/src/pages/yo/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/yo/publishing/publishing-a-subgraph.mdx rename to website/src/pages/yo/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/yo/querying/_meta.js b/website/src/pages/yo/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/yo/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/yo/querying/distributed-systems.mdx b/website/src/pages/yo/querying/distributed-systems.mdx similarity index 100% rename from website/pages/yo/querying/distributed-systems.mdx rename to website/src/pages/yo/querying/distributed-systems.mdx diff --git a/website/pages/yo/querying/graphql-api.mdx b/website/src/pages/yo/querying/graphql-api.mdx similarity index 100% rename from website/pages/yo/querying/graphql-api.mdx rename to website/src/pages/yo/querying/graphql-api.mdx diff --git a/website/pages/yo/querying/managing-api-keys.mdx b/website/src/pages/yo/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/yo/querying/managing-api-keys.mdx rename to website/src/pages/yo/querying/managing-api-keys.mdx diff --git a/website/pages/yo/querying/querying-best-practices.mdx b/website/src/pages/yo/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/yo/querying/querying-best-practices.mdx rename to website/src/pages/yo/querying/querying-best-practices.mdx diff --git a/website/pages/yo/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/yo/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/yo/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/yo/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/yo/querying/querying-from-an-application.mdx b/website/src/pages/yo/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/yo/querying/querying-from-an-application.mdx rename to website/src/pages/yo/querying/querying-from-an-application.mdx diff --git a/website/pages/yo/querying/querying-the-graph.mdx b/website/src/pages/yo/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/yo/querying/querying-the-graph.mdx rename to website/src/pages/yo/querying/querying-the-graph.mdx diff --git a/website/pages/vi/querying/querying-with-python.mdx b/website/src/pages/yo/querying/querying-with-python.mdx similarity index 100% rename from website/pages/vi/querying/querying-with-python.mdx rename to website/src/pages/yo/querying/querying-with-python.mdx diff --git a/website/pages/yo/quick-start.mdx b/website/src/pages/yo/quick-start.mdx similarity index 100% rename from website/pages/yo/quick-start.mdx rename to website/src/pages/yo/quick-start.mdx diff --git a/website/pages/yo/release-notes/_meta.js b/website/src/pages/yo/release-notes/_meta.js similarity index 100% rename from website/pages/yo/release-notes/_meta.js rename to website/src/pages/yo/release-notes/_meta.js diff --git a/website/pages/yo/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/yo/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/yo/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/yo/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/yo/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/yo/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/yo/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/yo/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/yo/substreams.mdx b/website/src/pages/yo/substreams.mdx similarity index 100% rename from website/pages/yo/substreams.mdx rename to website/src/pages/yo/substreams.mdx diff --git a/website/pages/yo/sunrise.mdx b/website/src/pages/yo/sunrise.mdx similarity index 100% rename from website/pages/yo/sunrise.mdx rename to website/src/pages/yo/sunrise.mdx diff --git a/website/pages/yo/supported-network-requirements.mdx b/website/src/pages/yo/supported-network-requirements.mdx similarity index 100% rename from website/pages/yo/supported-network-requirements.mdx rename to website/src/pages/yo/supported-network-requirements.mdx diff --git a/website/pages/yo/tokenomics.mdx b/website/src/pages/yo/tokenomics.mdx similarity index 100% rename from website/pages/yo/tokenomics.mdx rename to website/src/pages/yo/tokenomics.mdx diff --git a/website/pages/yo/translations.ts b/website/src/pages/yo/translations.ts similarity index 100% rename from website/pages/yo/translations.ts rename to website/src/pages/yo/translations.ts diff --git a/website/pages/zh/about.mdx b/website/src/pages/zh/about.mdx similarity index 100% rename from website/pages/zh/about.mdx rename to website/src/pages/zh/about.mdx diff --git a/website/pages/zh/arbitrum/_meta.js b/website/src/pages/zh/arbitrum/_meta.js similarity index 100% rename from website/pages/zh/arbitrum/_meta.js rename to website/src/pages/zh/arbitrum/_meta.js diff --git a/website/pages/zh/arbitrum/arbitrum-faq.mdx b/website/src/pages/zh/arbitrum/arbitrum-faq.mdx similarity index 100% rename from website/pages/zh/arbitrum/arbitrum-faq.mdx rename to website/src/pages/zh/arbitrum/arbitrum-faq.mdx diff --git a/website/pages/zh/arbitrum/l2-transfer-tools-faq.mdx b/website/src/pages/zh/arbitrum/l2-transfer-tools-faq.mdx similarity index 100% rename from website/pages/zh/arbitrum/l2-transfer-tools-faq.mdx rename to website/src/pages/zh/arbitrum/l2-transfer-tools-faq.mdx diff --git a/website/pages/zh/arbitrum/l2-transfer-tools-guide.mdx b/website/src/pages/zh/arbitrum/l2-transfer-tools-guide.mdx similarity index 100% rename from website/pages/zh/arbitrum/l2-transfer-tools-guide.mdx rename to website/src/pages/zh/arbitrum/l2-transfer-tools-guide.mdx diff --git a/website/pages/zh/billing.mdx b/website/src/pages/zh/billing.mdx similarity index 100% rename from website/pages/zh/billing.mdx rename to website/src/pages/zh/billing.mdx diff --git a/website/pages/zh/chain-integration-overview.mdx b/website/src/pages/zh/chain-integration-overview.mdx similarity index 100% rename from website/pages/zh/chain-integration-overview.mdx rename to website/src/pages/zh/chain-integration-overview.mdx diff --git a/website/pages/zh/cookbook/_meta.js b/website/src/pages/zh/cookbook/_meta.js similarity index 100% rename from website/pages/zh/cookbook/_meta.js rename to website/src/pages/zh/cookbook/_meta.js diff --git a/website/pages/zh/cookbook/arweave.mdx b/website/src/pages/zh/cookbook/arweave.mdx similarity index 100% rename from website/pages/zh/cookbook/arweave.mdx rename to website/src/pages/zh/cookbook/arweave.mdx diff --git a/website/pages/zh/cookbook/base-testnet.mdx b/website/src/pages/zh/cookbook/base-testnet.mdx similarity index 100% rename from website/pages/zh/cookbook/base-testnet.mdx rename to website/src/pages/zh/cookbook/base-testnet.mdx diff --git a/website/pages/zh/cookbook/cosmos.mdx b/website/src/pages/zh/cookbook/cosmos.mdx similarity index 100% rename from website/pages/zh/cookbook/cosmos.mdx rename to website/src/pages/zh/cookbook/cosmos.mdx diff --git a/website/pages/zh/cookbook/grafting.mdx b/website/src/pages/zh/cookbook/grafting.mdx similarity index 100% rename from website/pages/zh/cookbook/grafting.mdx rename to website/src/pages/zh/cookbook/grafting.mdx diff --git a/website/pages/zh/cookbook/near.mdx b/website/src/pages/zh/cookbook/near.mdx similarity index 100% rename from website/pages/zh/cookbook/near.mdx rename to website/src/pages/zh/cookbook/near.mdx diff --git a/website/pages/zh/cookbook/subgraph-debug-forking.mdx b/website/src/pages/zh/cookbook/subgraph-debug-forking.mdx similarity index 100% rename from website/pages/zh/cookbook/subgraph-debug-forking.mdx rename to website/src/pages/zh/cookbook/subgraph-debug-forking.mdx diff --git a/website/pages/zh/cookbook/subgraph-uncrashable.mdx b/website/src/pages/zh/cookbook/subgraph-uncrashable.mdx similarity index 100% rename from website/pages/zh/cookbook/subgraph-uncrashable.mdx rename to website/src/pages/zh/cookbook/subgraph-uncrashable.mdx diff --git a/website/pages/zh/cookbook/substreams-powered-subgraphs.mdx b/website/src/pages/zh/cookbook/substreams-powered-subgraphs.mdx similarity index 100% rename from website/pages/zh/cookbook/substreams-powered-subgraphs.mdx rename to website/src/pages/zh/cookbook/substreams-powered-subgraphs.mdx diff --git a/website/pages/zh/cookbook/upgrading-a-subgraph.mdx b/website/src/pages/zh/cookbook/upgrading-a-subgraph.mdx similarity index 100% rename from website/pages/zh/cookbook/upgrading-a-subgraph.mdx rename to website/src/pages/zh/cookbook/upgrading-a-subgraph.mdx diff --git a/website/pages/zh/deploying/_meta.js b/website/src/pages/zh/deploying/_meta.js similarity index 100% rename from website/pages/zh/deploying/_meta.js rename to website/src/pages/zh/deploying/_meta.js diff --git a/website/pages/zh/deploying/deploying-a-subgraph-to-hosted.mdx b/website/src/pages/zh/deploying/deploying-a-subgraph-to-hosted.mdx similarity index 100% rename from website/pages/zh/deploying/deploying-a-subgraph-to-hosted.mdx rename to website/src/pages/zh/deploying/deploying-a-subgraph-to-hosted.mdx diff --git a/website/pages/zh/deploying/deploying-a-subgraph-to-studio.mdx b/website/src/pages/zh/deploying/deploying-a-subgraph-to-studio.mdx similarity index 100% rename from website/pages/zh/deploying/deploying-a-subgraph-to-studio.mdx rename to website/src/pages/zh/deploying/deploying-a-subgraph-to-studio.mdx diff --git a/website/pages/zh/deploying/hosted-service.mdx b/website/src/pages/zh/deploying/hosted-service.mdx similarity index 100% rename from website/pages/zh/deploying/hosted-service.mdx rename to website/src/pages/zh/deploying/hosted-service.mdx diff --git a/website/pages/zh/deploying/subgraph-studio-faqs.mdx b/website/src/pages/zh/deploying/subgraph-studio-faqs.mdx similarity index 100% rename from website/pages/zh/deploying/subgraph-studio-faqs.mdx rename to website/src/pages/zh/deploying/subgraph-studio-faqs.mdx diff --git a/website/pages/zh/deploying/subgraph-studio.mdx b/website/src/pages/zh/deploying/subgraph-studio.mdx similarity index 100% rename from website/pages/zh/deploying/subgraph-studio.mdx rename to website/src/pages/zh/deploying/subgraph-studio.mdx diff --git a/website/pages/zh/developing/_meta.js b/website/src/pages/zh/developing/_meta.js similarity index 100% rename from website/pages/zh/developing/_meta.js rename to website/src/pages/zh/developing/_meta.js diff --git a/website/pages/zh/developing/creating-a-subgraph.mdx b/website/src/pages/zh/developing/creating-a-subgraph.mdx similarity index 100% rename from website/pages/zh/developing/creating-a-subgraph.mdx rename to website/src/pages/zh/developing/creating-a-subgraph.mdx diff --git a/website/pages/zh/developing/developer-faqs.mdx b/website/src/pages/zh/developing/developer-faqs.mdx similarity index 100% rename from website/pages/zh/developing/developer-faqs.mdx rename to website/src/pages/zh/developing/developer-faqs.mdx diff --git a/website/pages/zh/developing/graph-ts/api.mdx b/website/src/pages/zh/developing/graph-ts/api.mdx similarity index 100% rename from website/pages/zh/developing/graph-ts/api.mdx rename to website/src/pages/zh/developing/graph-ts/api.mdx diff --git a/website/pages/zh/developing/graph-ts/common-issues.mdx b/website/src/pages/zh/developing/graph-ts/common-issues.mdx similarity index 100% rename from website/pages/zh/developing/graph-ts/common-issues.mdx rename to website/src/pages/zh/developing/graph-ts/common-issues.mdx diff --git a/website/pages/zh/developing/substreams-powered-subgraphs-faq.mdx b/website/src/pages/zh/developing/substreams-powered-subgraphs-faq.mdx similarity index 100% rename from website/pages/zh/developing/substreams-powered-subgraphs-faq.mdx rename to website/src/pages/zh/developing/substreams-powered-subgraphs-faq.mdx diff --git a/website/pages/zh/developing/supported-networks.json b/website/src/pages/zh/developing/supported-networks.json similarity index 100% rename from website/pages/zh/developing/supported-networks.json rename to website/src/pages/zh/developing/supported-networks.json diff --git a/website/pages/zh/developing/supported-networks.mdx b/website/src/pages/zh/developing/supported-networks.mdx similarity index 100% rename from website/pages/zh/developing/supported-networks.mdx rename to website/src/pages/zh/developing/supported-networks.mdx diff --git a/website/pages/zh/developing/unit-testing-framework.mdx b/website/src/pages/zh/developing/unit-testing-framework.mdx similarity index 100% rename from website/pages/zh/developing/unit-testing-framework.mdx rename to website/src/pages/zh/developing/unit-testing-framework.mdx diff --git a/website/pages/zh/docsearch.json b/website/src/pages/zh/docsearch.json similarity index 100% rename from website/pages/zh/docsearch.json rename to website/src/pages/zh/docsearch.json diff --git a/website/pages/zh/firehose.mdx b/website/src/pages/zh/firehose.mdx similarity index 100% rename from website/pages/zh/firehose.mdx rename to website/src/pages/zh/firehose.mdx diff --git a/website/pages/zh/global.json b/website/src/pages/zh/global.json similarity index 53% rename from website/pages/zh/global.json rename to website/src/pages/zh/global.json index b0f32f6b5806..f5d13753b82e 100644 --- a/website/pages/zh/global.json +++ b/website/src/pages/zh/global.json @@ -10,5 +10,18 @@ "notFoundTitle": "哦! 这个页面丢失了...", "notFoundSubtitle": "检查您是否使用正确地址或通过单击以下链接浏览网站。", "goHome": "主页", - "video": "视频" + "video": "视频", + "sidebar": { + "index": "开始", + "network": "Graph网络", + "subgraphs": "子图", + "developing": "开发", + "deploying": "部署", + "publishing": "发布", + "managing": "管理", + "querying": "查询", + "cookbook": "导览", + "releaseNotes": "发布说明&更新向导", + "indexing": "索引" + } } diff --git a/website/pages/zh/glossary.mdx b/website/src/pages/zh/glossary.mdx similarity index 100% rename from website/pages/zh/glossary.mdx rename to website/src/pages/zh/glossary.mdx diff --git a/website/pages/zh/graphcast.mdx b/website/src/pages/zh/graphcast.mdx similarity index 100% rename from website/pages/zh/graphcast.mdx rename to website/src/pages/zh/graphcast.mdx diff --git a/website/pages/zh/index.json b/website/src/pages/zh/index.json similarity index 99% rename from website/pages/zh/index.json rename to website/src/pages/zh/index.json index 4228b57be8d5..cae632e64c7c 100644 --- a/website/pages/zh/index.json +++ b/website/src/pages/zh/index.json @@ -1,5 +1,4 @@ { - "title": "开始", "intro": "了解Graph,一个用于索引和查询区块链数据的去中心化的协议。", "shortcuts": { "aboutTheGraph": { diff --git a/website/pages/zh/managing/_meta.js b/website/src/pages/zh/managing/_meta.js similarity index 100% rename from website/pages/zh/managing/_meta.js rename to website/src/pages/zh/managing/_meta.js diff --git a/website/pages/zh/managing/deprecating-a-subgraph.mdx b/website/src/pages/zh/managing/deprecating-a-subgraph.mdx similarity index 100% rename from website/pages/zh/managing/deprecating-a-subgraph.mdx rename to website/src/pages/zh/managing/deprecating-a-subgraph.mdx diff --git a/website/pages/zh/managing/transferring-subgraph-ownership.mdx b/website/src/pages/zh/managing/transferring-subgraph-ownership.mdx similarity index 100% rename from website/pages/zh/managing/transferring-subgraph-ownership.mdx rename to website/src/pages/zh/managing/transferring-subgraph-ownership.mdx diff --git a/website/pages/zh/mips-faqs.mdx b/website/src/pages/zh/mips-faqs.mdx similarity index 100% rename from website/pages/zh/mips-faqs.mdx rename to website/src/pages/zh/mips-faqs.mdx diff --git a/website/pages/ur/network/_meta.js b/website/src/pages/zh/network/_meta.js similarity index 59% rename from website/pages/ur/network/_meta.js rename to website/src/pages/zh/network/_meta.js index f737cf9d3c01..49858537c885 100644 --- a/website/pages/ur/network/_meta.js +++ b/website/src/pages/zh/network/_meta.js @@ -2,6 +2,4 @@ import meta from '../../en/network/_meta.js' export default { ...meta, - overview: 'جائزہ', - benefits: 'فوائد', } diff --git a/website/pages/zh/network/benefits.mdx b/website/src/pages/zh/network/benefits.mdx similarity index 100% rename from website/pages/zh/network/benefits.mdx rename to website/src/pages/zh/network/benefits.mdx diff --git a/website/pages/zh/network/curating.mdx b/website/src/pages/zh/network/curating.mdx similarity index 100% rename from website/pages/zh/network/curating.mdx rename to website/src/pages/zh/network/curating.mdx diff --git a/website/pages/zh/network/delegating.mdx b/website/src/pages/zh/network/delegating.mdx similarity index 100% rename from website/pages/zh/network/delegating.mdx rename to website/src/pages/zh/network/delegating.mdx diff --git a/website/pages/zh/network/developing.mdx b/website/src/pages/zh/network/developing.mdx similarity index 100% rename from website/pages/zh/network/developing.mdx rename to website/src/pages/zh/network/developing.mdx diff --git a/website/pages/zh/network/explorer.mdx b/website/src/pages/zh/network/explorer.mdx similarity index 100% rename from website/pages/zh/network/explorer.mdx rename to website/src/pages/zh/network/explorer.mdx diff --git a/website/pages/zh/network/indexing.mdx b/website/src/pages/zh/network/indexing.mdx similarity index 100% rename from website/pages/zh/network/indexing.mdx rename to website/src/pages/zh/network/indexing.mdx diff --git a/website/pages/zh/network/overview.mdx b/website/src/pages/zh/network/overview.mdx similarity index 97% rename from website/pages/zh/network/overview.mdx rename to website/src/pages/zh/network/overview.mdx index c77426b38408..1c094f265cb7 100644 --- a/website/pages/zh/network/overview.mdx +++ b/website/src/pages/zh/network/overview.mdx @@ -1,5 +1,6 @@ --- title: 网络概述 +sidebarTitle: 概述 --- Graph 网络是一个去中心化的索引协议,用于组织区块链数据。 应用程序使用 GraphQL 查询称为子图的开放 API,以检索网络上的索引数据。 通过Graph,开发者可以建立完全在公共基础设施上运行的无服务器应用程序。 diff --git a/website/pages/zh/new-chain-integration.mdx b/website/src/pages/zh/new-chain-integration.mdx similarity index 100% rename from website/pages/zh/new-chain-integration.mdx rename to website/src/pages/zh/new-chain-integration.mdx diff --git a/website/pages/zh/operating-graph-node.mdx b/website/src/pages/zh/operating-graph-node.mdx similarity index 100% rename from website/pages/zh/operating-graph-node.mdx rename to website/src/pages/zh/operating-graph-node.mdx diff --git a/website/pages/zh/publishing/_meta.js b/website/src/pages/zh/publishing/_meta.js similarity index 100% rename from website/pages/zh/publishing/_meta.js rename to website/src/pages/zh/publishing/_meta.js diff --git a/website/pages/zh/publishing/publishing-a-subgraph.mdx b/website/src/pages/zh/publishing/publishing-a-subgraph.mdx similarity index 100% rename from website/pages/zh/publishing/publishing-a-subgraph.mdx rename to website/src/pages/zh/publishing/publishing-a-subgraph.mdx diff --git a/website/src/pages/zh/querying/_meta.js b/website/src/pages/zh/querying/_meta.js new file mode 100644 index 000000000000..e52da8f399fb --- /dev/null +++ b/website/src/pages/zh/querying/_meta.js @@ -0,0 +1,5 @@ +import meta from '../../en/querying/_meta.js' + +export default { + ...meta, +} diff --git a/website/pages/zh/querying/distributed-systems.mdx b/website/src/pages/zh/querying/distributed-systems.mdx similarity index 100% rename from website/pages/zh/querying/distributed-systems.mdx rename to website/src/pages/zh/querying/distributed-systems.mdx diff --git a/website/pages/zh/querying/graphql-api.mdx b/website/src/pages/zh/querying/graphql-api.mdx similarity index 100% rename from website/pages/zh/querying/graphql-api.mdx rename to website/src/pages/zh/querying/graphql-api.mdx diff --git a/website/pages/zh/querying/managing-api-keys.mdx b/website/src/pages/zh/querying/managing-api-keys.mdx similarity index 100% rename from website/pages/zh/querying/managing-api-keys.mdx rename to website/src/pages/zh/querying/managing-api-keys.mdx diff --git a/website/pages/zh/querying/querying-best-practices.mdx b/website/src/pages/zh/querying/querying-best-practices.mdx similarity index 100% rename from website/pages/zh/querying/querying-best-practices.mdx rename to website/src/pages/zh/querying/querying-best-practices.mdx diff --git a/website/pages/zh/querying/querying-by-subgraph-id-vs-deployment-id.mdx b/website/src/pages/zh/querying/querying-by-subgraph-id-vs-deployment-id.mdx similarity index 100% rename from website/pages/zh/querying/querying-by-subgraph-id-vs-deployment-id.mdx rename to website/src/pages/zh/querying/querying-by-subgraph-id-vs-deployment-id.mdx diff --git a/website/pages/zh/querying/querying-from-an-application.mdx b/website/src/pages/zh/querying/querying-from-an-application.mdx similarity index 100% rename from website/pages/zh/querying/querying-from-an-application.mdx rename to website/src/pages/zh/querying/querying-from-an-application.mdx diff --git a/website/pages/zh/querying/querying-the-graph.mdx b/website/src/pages/zh/querying/querying-the-graph.mdx similarity index 100% rename from website/pages/zh/querying/querying-the-graph.mdx rename to website/src/pages/zh/querying/querying-the-graph.mdx diff --git a/website/pages/zh/querying/querying-with-python.mdx b/website/src/pages/zh/querying/querying-with-python.mdx similarity index 100% rename from website/pages/zh/querying/querying-with-python.mdx rename to website/src/pages/zh/querying/querying-with-python.mdx diff --git a/website/pages/zh/quick-start.mdx b/website/src/pages/zh/quick-start.mdx similarity index 100% rename from website/pages/zh/quick-start.mdx rename to website/src/pages/zh/quick-start.mdx diff --git a/website/pages/zh/release-notes/_meta.js b/website/src/pages/zh/release-notes/_meta.js similarity index 100% rename from website/pages/zh/release-notes/_meta.js rename to website/src/pages/zh/release-notes/_meta.js diff --git a/website/pages/zh/release-notes/assemblyscript-migration-guide.mdx b/website/src/pages/zh/release-notes/assemblyscript-migration-guide.mdx similarity index 100% rename from website/pages/zh/release-notes/assemblyscript-migration-guide.mdx rename to website/src/pages/zh/release-notes/assemblyscript-migration-guide.mdx diff --git a/website/pages/zh/release-notes/graphql-validations-migration-guide.mdx b/website/src/pages/zh/release-notes/graphql-validations-migration-guide.mdx similarity index 100% rename from website/pages/zh/release-notes/graphql-validations-migration-guide.mdx rename to website/src/pages/zh/release-notes/graphql-validations-migration-guide.mdx diff --git a/website/pages/zh/substreams.mdx b/website/src/pages/zh/substreams.mdx similarity index 100% rename from website/pages/zh/substreams.mdx rename to website/src/pages/zh/substreams.mdx diff --git a/website/pages/zh/sunrise.mdx b/website/src/pages/zh/sunrise.mdx similarity index 100% rename from website/pages/zh/sunrise.mdx rename to website/src/pages/zh/sunrise.mdx diff --git a/website/pages/zh/supported-network-requirements.mdx b/website/src/pages/zh/supported-network-requirements.mdx similarity index 100% rename from website/pages/zh/supported-network-requirements.mdx rename to website/src/pages/zh/supported-network-requirements.mdx diff --git a/website/pages/zh/tokenomics.mdx b/website/src/pages/zh/tokenomics.mdx similarity index 100% rename from website/pages/zh/tokenomics.mdx rename to website/src/pages/zh/tokenomics.mdx diff --git a/website/pages/zh/translations.ts b/website/src/pages/zh/translations.ts similarity index 100% rename from website/pages/zh/translations.ts rename to website/src/pages/zh/translations.ts diff --git a/website/src/remarkReplaceImages.ts b/website/src/remarkReplaceImages.ts deleted file mode 100644 index 6868a092c700..000000000000 --- a/website/src/remarkReplaceImages.ts +++ /dev/null @@ -1,32 +0,0 @@ -import type { Root } from 'mdast' -import type { Plugin } from 'unified' -import { visit } from 'unist-util-visit' - -export const remarkReplaceImages: Plugin<[{ assetsBasePath: string }], Root> = ({ assetsBasePath }) => { - if (!assetsBasePath) throw new Error('remarkReplaceImages: assetsBasePath is required') - - return (tree, _file) => { - visit( - tree, - [ - { type: 'mdxJsxTextElement', name: 'img' }, - { type: 'mdxJsxFlowElement', name: 'img' }, - ], - (node: any) => { - const attrs = node.attributes as { name: string; value: string }[] - const srcAttr = attrs.find((attr) => attr.name === 'src')! - if (srcAttr.value.includes('.gitbook/assets/')) { - srcAttr.value = srcAttr.value.replace( - /.*\.gitbook\/assets\//, - `https://raw.githubusercontent.com/${assetsBasePath}.gitbook/assets/`, - ) - } - }, - ) - visit(tree, 'image', (node) => { - if (node.url.includes('../assets/')) { - node.url = node.url.replace(/.*\.\.\/assets\//, `https://raw.githubusercontent.com/${assetsBasePath}assets/`) - } - }) - } -} diff --git a/website/src/remarkReplaceLinks.ts b/website/src/remarkReplaceLinks.ts deleted file mode 100644 index 1fb8cc1d3731..000000000000 --- a/website/src/remarkReplaceLinks.ts +++ /dev/null @@ -1,30 +0,0 @@ -import path from 'path' - -import type { Root } from 'mdast' -import type { Plugin } from 'unified' -import { visit } from 'unist-util-visit' - -export const remarkReplaceLinks: Plugin<[{ foundPath: string; basePath: string }], Root> = ({ - foundPath, - basePath, -}) => { - if (!foundPath) throw new Error('remarkReplaceLinks: foundPath is required') - if (!basePath) throw new Error('remarkReplaceLinks: basePath is required') - - return (tree, _file) => { - // Rewrite relative links to ensure they work - visit(tree, 'link', (node) => { - // Skip external links and same-page anchor links - if (/^(https?:)?\/\//.test(node.url) || node.url.startsWith('#')) { - return - } - if (node.url.startsWith('/')) { - // Relative to the base path, e.g. (foo)[/bar] - node.url = node.url.replace('/', basePath) - } else { - // Relative to the current path, e.g. (foo)[bar] or (foo)[./bar] or (foo)[../bar] - node.url = path.join(basePath + path.dirname(foundPath), node.url) - } - }) - } -} diff --git a/website/src/remarkTransformRemoteGitHub.js b/website/src/remarkTransformRemoteGitHub.js new file mode 100644 index 000000000000..c9c555d5060c --- /dev/null +++ b/website/src/remarkTransformRemoteGitHub.js @@ -0,0 +1,67 @@ +import path from 'path' + +import { EXIT, visit } from 'unist-util-visit' + +const GITHUB_DATA = { + 'graph-ts': { + user: 'graphprotocol', + repo: 'graph-tooling', + branch: 'main', + docsPath: 'packages/ts/', + basePath: '/developing/graph-ts/', + }, + 'graph-client': { + user: 'graphprotocol', + repo: 'graph-client', + branch: 'main', + docsPath: 'docs/', + basePath: '/querying/graph-client/', + }, +} + +const GO_BACK_REPEATED_REGEX = /(\.\.\/)+/ + +const EXTERNAL_LINK_REGEX = /^(https?:)?\/\// + +export const remarkTransformRemoteGitHub = () => (tree, file) => { + // Rewrite relative links to ensure they work + const filePath = path.relative(process.cwd(), file.history[0]) + const [fileName, directory] = filePath.split('/').reverse() + + const data = GITHUB_DATA[directory] + + if (!data) { + return + } + + const { user, repo, branch, basePath, docsPath } = data + + visit(tree, 'link', (node) => { + if (node.url.startsWith('../')) { + node.url = node.url.replace(GO_BACK_REPEATED_REGEX, `https://github.com/${user}/${repo}/tree/${branch}/`) + } + // Skip external links and same-page anchor links + if (EXTERNAL_LINK_REGEX.test(node.url) || node.url.startsWith('#')) { + return + } + if (node.url.startsWith('/')) { + // Relative to the base path, e.g. (foo)[/bar] + node.url = node.url.replace('/', basePath) + } else { + // Relative to the current path, e.g. (foo)[bar] or (foo)[./bar] or (foo)[../bar] + node.url = path.join(basePath + path.dirname(fileName), node.url) + } + }) + + visit(tree, { type: 'heading', depth: 1 }, (node) => { + // Replace h1 with YAML frontmatter + node.type = 'yaml' + node.value = `title: "${node.children[0].value}" +remoteFilePath: https://github.com/${user}/${repo}/tree/${branch}/${docsPath}${fileName}` + delete node.depth + delete node.children + delete node.position + + return EXIT // stop traversing in case there are other h1 nodes + }) +} diff --git a/website/src/replaceGitBookContent.ts b/website/src/replaceGitBookContent.ts deleted file mode 100644 index 5b82244379c4..000000000000 --- a/website/src/replaceGitBookContent.ts +++ /dev/null @@ -1,19 +0,0 @@ -export function replaceGitBookContent({ content }: { content: string }): string { - return ( - content - // replace {% embed ... %} with