Skip to content

Commit

Permalink
feat: update website build
Browse files Browse the repository at this point in the history
  • Loading branch information
yamiteru committed Apr 21, 2024
1 parent 670d9d7 commit bb41257
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ jobs:
- name: TSDoc Action
uses: erikyo/tsdoc-action@v1
with:
source_dir: ./src/*
entryPoints: ./src/index.ts
output_dir: ./website
basePath: ./
options: typedoc.json

- name: Setup Pages
uses: actions/configure-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"build:tsup": "tsup",
"build:stats": "bun run scripts/stats.ts",
"build:imports": "bun run scripts/imports.ts",
"build:website": "typedoc --basePath ./ --entryPoints src/index.ts --out website",
"build:website": "typedoc --basePath ./ --options typedoc.json",
"test": "vitest run --typecheck",
"test:coverage": "vitest run --coverage",
"check": "bunx @biomejs/biome check --apply ./"
Expand Down
5 changes: 5 additions & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": ["src/index.ts"],
"out": "website"
}

0 comments on commit bb41257

Please sign in to comment.