diff --git a/fern/products/docs/docs.yml b/fern/products/docs/docs.yml index 41cd6ddac..6be16a3f4 100644 --- a/fern/products/docs/docs.yml +++ b/fern/products/docs/docs.yml @@ -316,7 +316,6 @@ navigation: - page: GraphQL Reference path: ./pages/api-references/generate-graphql-ref.mdx slug: generate-graphql-ref - hidden: true - page: Library Reference path: ./pages/api-references/library-docs.mdx slug: library-reference diff --git a/fern/products/docs/pages/api-references/generate-graphql-ref.mdx b/fern/products/docs/pages/api-references/generate-graphql-ref.mdx index 672216071..0edf5ff93 100644 --- a/fern/products/docs/pages/api-references/generate-graphql-ref.mdx +++ b/fern/products/docs/pages/api-references/generate-graphql-ref.mdx @@ -1,13 +1,14 @@ --- title: Generate GraphQL Reference description: Use Fern Docs to generate GraphQL API Reference documentation from a GraphQL schema. -availability: pre-release --- -GraphQL API Reference is not actively maintained. [Contact us](https://buildwithfern.com/book-demo) if you have questions. - Fern generates API Reference documentation from a [GraphQL schema](https://graphql.org/learn/schema/). Add your schema file to your Fern project and Fern renders queries, mutations, subscriptions, and types as an interactive reference. + + See a [live example](https://graphql.docs.buildwithfern.com) or browse the [source on GitHub](https://github.com/fern-api/docs-examples/tree/main/graphql). + + ## Configuration diff --git a/fern/products/docs/pages/api-references/overview.mdx b/fern/products/docs/pages/api-references/overview.mdx index 47eac2a26..652a439ff 100644 --- a/fern/products/docs/pages/api-references/overview.mdx +++ b/fern/products/docs/pages/api-references/overview.mdx @@ -23,6 +23,9 @@ Fern generates interactive API Reference documentation from an [OpenAPI specific OpenRPC specification + + GraphQL schema + Python or C++ source code diff --git a/fern/translations/zh/products/docs/pages/api-references/generate-graphql-ref.mdx b/fern/translations/zh/products/docs/pages/api-references/generate-graphql-ref.mdx index a4940746d..49670298b 100644 --- a/fern/translations/zh/products/docs/pages/api-references/generate-graphql-ref.mdx +++ b/fern/translations/zh/products/docs/pages/api-references/generate-graphql-ref.mdx @@ -2,13 +2,14 @@ title: 生成 GraphQL 参考文档 description: 使用 Fern Docs 从 GraphQL schema 生成 GraphQL API 参考文档。 sidebar-title: 生成 GraphQL 参考 -availability: pre-release --- -GraphQL API 参考文档没有积极维护。如果您有疑问,[请联系我们](https://buildwithfern.com/book-demo)。 - Fern 从 [GraphQL schema](https://graphql.org/learn/schema/) 生成 API 参考文档。将您的 schema 文件添加到 Fern 项目中,Fern 会将查询、变更、订阅和类型渲染为交互式参考文档。 + + 查看[在线示例](https://graphql.docs.buildwithfern.com)或浏览 [GitHub 源代码](https://github.com/fern-api/docs-examples/tree/main/graphql)。 + + ## 配置 diff --git a/fern/translations/zh/products/docs/pages/api-references/overview.mdx b/fern/translations/zh/products/docs/pages/api-references/overview.mdx index c11c29e7a..5131e6d28 100644 --- a/fern/translations/zh/products/docs/pages/api-references/overview.mdx +++ b/fern/translations/zh/products/docs/pages/api-references/overview.mdx @@ -23,6 +23,9 @@ Fern 从 [OpenAPI 规范](/learn/api-definitions/openapi/overview) 或其他 API OpenRPC 规范 + + GraphQL schema + Python 或 C++ 源代码