Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Beta tag for graphql #19358

Merged
merged 3 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/content/concepts/graphql-rpc.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: GraphQL for the Sui RPC
title: GraphQL for Sui RPC (Beta)
beta: devnet, testnet, mainnet
---

This section explains some of the common concepts when working with GraphQL, such as altering behavior using HTTP headers, re-using query snippets with variables and fragments, consuming paginated queries, and understanding and working within the limits enforced by the service.
Expand Down
3 changes: 2 additions & 1 deletion docs/content/guides/developer/advanced/graphql-migration.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Migrating to GraphQL
title: Migrating to GraphQL (Beta)
beta: testnet, devnet, mainnet
---

{@include: ../../../snippets/migrate-to-graphql.mdx}
Expand Down
4 changes: 3 additions & 1 deletion docs/content/references/sui-graphql.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: GraphQL for Sui RPC
title: GraphQL for Sui RPC (Beta)
sidebar_label: GraphQL (Beta)
description: GraphQL is a public service for the Sui RPC that enables you to efficiently interact with the Sui network.
beta: devnet, testnet, mainnet
---

GraphQL for the Sui RPC is a public service that enables interacting with the Sui [network](https://sui.io/networkinfo).
Expand Down
2 changes: 1 addition & 1 deletion docs/content/sidebars/concepts.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const concepts = [
id: 'concepts/app-devs',
},
items: [
'concepts/graphql-rpc',
{
type: 'category',
label: 'Object Model',
Expand Down Expand Up @@ -99,6 +98,7 @@ const concepts = [
'concepts/transactions/gas-smashing',
],
},
'concepts/graphql-rpc',
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/content/sidebars/guides.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ const guides = [
},
items: ['guides/developer/advanced/min-gas-fees'],
},*/
'guides/developer/advanced/graphql-migration',
'guides/developer/advanced/move-2024-migration',
'guides/developer/advanced/custom-indexer',
'guides/developer/advanced/randomness-onchain',
'guides/developer/advanced/graphql-migration',
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/content/sidebars/references.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const references = [
items: [
{
type: 'category',
label: 'GraphQL',
label: 'GraphQL (Beta)',
link: {
type: 'doc',
id: 'references/sui-graphql',
Expand Down
3 changes: 3 additions & 0 deletions docs/site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import path from "path";
import math from "remark-math";
import katex from "rehype-katex";

const betatag = require("./src/plugins/betatag");

require("dotenv").config();

/** @type {import('@docusaurus/types').Config} */
Expand Down Expand Up @@ -120,6 +122,7 @@ const config = {
require("@docusaurus/remark-plugin-npm2yarn"),
{ sync: true, converters: ["yarn", "pnpm"] },
],
betatag,
],
rehypePlugins: [katex],
},
Expand Down
Loading
Loading