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
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
project: [docs-starter, versioning]
project: [docs-starter, i18n, versioning]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
project: [docs-starter, versioning]
project: [docs-starter, i18n, versioning]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
project: [docs-starter, versioning]
project: [docs-starter, i18n, versioning]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
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) |
| [`i18n`](./i18n) | Multi-language docs with English + Japanese translations | [i18n.docs.buildwithfern.com](https://i18n.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) |

## Use an example
Expand Down
2 changes: 1 addition & 1 deletion docs-starter/fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "fern-docs-examples",
"version": "4.35.0"
"version": "4.97.0"
}
22 changes: 22 additions & 0 deletions i18n/fern/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# yaml-language-server: $schema=https://schema.buildwithfern.dev/docs-yml.json

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

title: Fern Docs i18n Example

logo:
light: images/logo-light.svg
dark: images/logo-dark.svg
height: 32

translations:
- lang: en
- lang: fr
- lang: ja

navigation:
- page: Introduction
path: pages/introduction.mdx
- page: Getting Started
path: pages/getting-started.mdx
4 changes: 4 additions & 0 deletions i18n/fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"organization": "fern-docs-examples",
"version": "4.97.0"
}
9 changes: 9 additions & 0 deletions i18n/fern/images/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