Skip to content

Commit 452f1cc

Browse files
docs: embed GraphQL API Reference live example in iframe (#5612)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Devin Logan <devinannlogan@gmail.com>
1 parent 45b7749 commit 452f1cc

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

fern/products/docs/pages/api-references/generate-graphql-ref.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ description: Use Fern Docs to generate GraphQL API Reference documentation from
55

66
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.
77

8-
<Tip>
9-
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).
10-
</Tip>
8+
<Frame caption="See the [live example site](https://graphql.docs.buildwithfern.com/api-reference/plant-store-graph-ql-api/plant-store/queries/getPlant) or browse the [source on GitHub](https://github.com/fern-api/docs-examples/tree/main/graphql).">
9+
<iframe
10+
src="https://graphql.docs.buildwithfern.com/api-reference/plant-store-graph-ql-api/plant-store/queries/getPlant?embedded=true"
11+
style="width: 100%; height: 500px; border: none; border-radius: 8px;"
12+
title="GraphQL API Reference example"
13+
/>
14+
</Frame>
1115

1216
## Configuration
1317

0 commit comments

Comments
 (0)