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
47 changes: 47 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Docs

on:
push:
branches: [main]
tags: ["v*.*.*"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
deploy:
name: Deploy TypeDoc to Pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm

- run: npm ci

- run: npm run build

- run: npm run docs

- uses: actions/configure-pages@v5

- uses: actions/upload-pages-artifact@v3
with:
path: api-docs/

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules/
dist/
api-docs/
*.tsbuildinfo
coverage/
.vitest/
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ Runnable examples in the [`examples/`](examples/) directory:

## Documentation

- 📖 [API Reference](https://opendecree.github.io/decree-typescript) -- full TypeDoc API reference
- [Quick Start](docs/quickstart.md) -- install, first get/set, typed gets, error handling
- [Configuration](docs/configuration.md) -- all client options, auth, TLS, retry, timeouts
- [Watching](docs/watching.md) -- ConfigWatcher, WatchedField, EventEmitter, async iteration
Expand Down
Loading
Loading