Skip to content

Commit 621052a

Browse files
committed
Add fern docs
1 parent 5d05e26 commit 621052a

18 files changed

Lines changed: 45812 additions & 0 deletions

.github/workflows/publish-docs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish Docs
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
run:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- run: npm install -g fern-api
15+
- run: fern check
16+
- env:
17+
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
18+
run: fern generate --docs --force

.github/workflows/sync-openapi.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Sync OpenAPI
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
schedule:
9+
- cron: '0 3 * * *'
10+
11+
jobs:
12+
update-from-source:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: fern-api/sync-openapi@v2
17+
with:
18+
branch: main
19+
auto_merge: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
77
lerna-debug.log*
8+
.DS_Store
89

910
# Diagnostic reports (https://nodejs.org/api/report.html)
1011
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

fern/assets/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

fern/assets/logo-dark.svg

Lines changed: 1 addition & 0 deletions
Loading

fern/assets/logo-light.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)