Add Fern docs platform: scaffolding, CI/CD, ecosystem diagram, and new pages #23
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Validates Fern docs configuration and checks for broken internal links on PRs. | |
| # Runs without a FERN_TOKEN — suitable for untrusted forks. | |
| name: Fern Docs Validate | |
| on: | |
| pull_request: | |
| types: [synchronize] | |
| paths: | |
| - 'docs/**' | |
| - 'fern/**' | |
| - 'package.json' | |
| - '.github/workflows/*fern*.yml' | |
| jobs: | |
| validate: | |
| name: Validate docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: fern check | |
| run: npm run docs:check | |
| - name: Check broken links | |
| run: npx fern docs broken-links |