Skip to content
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Example Fern docs projects. Each top-level folder is a self-contained example wi
| Example | Description | Live demo |
| --- | --- | --- |
| [`docs-starter`](./docs-starter) | Minimal starter project | [docs-starter.docs.buildwithfern.com](https://docs-starter.docs.buildwithfern.com) |
| [`graphql`](./graphql) | GraphQL API Reference from a `.graphql` schema | [graphql.docs.buildwithfern.com](https://graphql.docs.buildwithfern.com) |
| [`i18n`](./i18n) | Multi-language docs with English + Japanese translations | [i18n.docs.buildwithfern.com](https://i18n.docs.buildwithfern.com) |
| [`multi-source`](./multi-source) | Multi-source docs — six independent projects publishing to one domain with global theme, nested sub-paths, and shared branding | [multi-source.docs.buildwithfern.com](https://multi-source.docs.buildwithfern.com) |
| [`versioning`](./docs-versioned) | Versioned site with a version dropdown and a shared page | [versioning.docs.buildwithfern.com](https://versioning.docs.buildwithfern.com) |
Expand Down
68 changes: 68 additions & 0 deletions graphql/fern/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# yaml-language-server: $schema=https://schema.buildwithfern.dev/docs-yml.json

instances:
- url: graphql.docs.buildwithfern.com

title: GraphQL Docs Example

layout:
searchbar-placement: header
page-width: full
tabs-placement: header

tabs:
home:
display-name: Docs
icon: home
API Reference:
display-name: API Reference
icon: puzzle

navigation:
- tab: home
layout:
- section: Get started
contents:
- page: Welcome
path: docs/pages/welcome.mdx
icon: fa-duotone fa-house
- tab: API Reference
layout:
- section: Overview
contents:
- page: API reference
path: docs/pages/api-reference-overview.mdx
icon: fa-duotone fa-book
- api: Plant Store GraphQL API

navbar-links:
- type: minimal
text: Fork this repo
url: https://github.com/fern-api/docs-examples
- type: filled
text: Dashboard
url: https://dashboard.buildwithfern.com
- type: github
value: https://github.com/fern-api/fern

colors:
accent-primary:
dark: "#70E155"
light: "#008700"
background:
dark: "#111113"
light: "#FFFFFF"

theme:
page-actions: toolbar
footer-nav: minimal

logo:
dark: docs/assets/logo-dark.svg
light: docs/assets/logo.svg
height: 20
href: https://buildwithfern.com

favicon: docs/assets/favicon.svg

css: styles.css
8 changes: 8 additions & 0 deletions graphql/fern/docs/assets/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions graphql/fern/docs/assets/fern-logo-primary.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions graphql/fern/docs/assets/fern-logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions graphql/fern/docs/assets/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading