Skip to content

Commit e802e5d

Browse files
committed
Add docs
1 parent 3d2d395 commit e802e5d

File tree

6 files changed

+310
-2
lines changed

6 files changed

+310
-2
lines changed

.github/workflows/publish.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
permissions:
14-
contents: read
14+
contents: write
1515
id-token: write
1616
steps:
1717
- uses: actions/checkout@v4
@@ -25,6 +25,12 @@ jobs:
2525
- run: npm run build
2626
- run: npm run test
2727
- run: npm pkg delete devDependencies scripts packageManager
28+
- name: Deploy Docs
29+
uses: peaceiris/actions-gh-pages@v4
30+
with:
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
32+
publish_dir: docs
33+
publish_branch: gh-pages
2834
- run: npm publish --access public --provenance
2935
env:
3036
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
coverage/
22
node_modules/
33
.vscode/
4+
docs/

.npmignore

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
.ncurc
55
.vscode/
66
coverage/
7+
docs/
78
eslint.config.js
89
test/
910
tsconfig.json
11+
typedoc.config.js

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@
3636
"@types/node": "22.9.1",
3737
"c8": "10.1.2",
3838
"eslint": "9.15.0",
39+
"typedoc": "0.26.11",
3940
"typescript": "5.6.3"
4041
},
41-
"packageManager": "pnpm@9.13.2",
42+
"packageManager": "pnpm@9.14.2",
4243
"pnpm": {
4344
"overrides": {
4445
"@eslint/plugin-kit": "^0.2.3",

0 commit comments

Comments
 (0)