Repository navigation
Add i18n and l10n #460
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
| name: Documentation | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "src/**" | |
| - "webview/**" | |
| - "typedoc.json" | |
| - ".github/workflows/docs.yml" | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "src/**" | |
| - "webview/**" | |
| - "typedoc.json" | |
| - ".github/workflows/docs.yml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| docs: | |
| name: Generate Documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| cache: "npm" | |
| - name: Install system dependencies for keytar | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libsecret-1-dev | |
| - name: Install dependencies | |
| run: npm install --ignore-engines | |
| - name: Generate TypeDoc documentation | |
| run: npm run docs | |
| - name: Check documentation coverage | |
| run: npm run docs:coverage |