Skip to content

Commit

Permalink
docs: use typedoc config
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Feb 26, 2024
1 parent 37005ca commit 036d78c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"bench": "yarn build:bench && node dist/bench/index.cjs",
"build": "yarn clean:dist && rollup -c",
"build:bench": "rollup -c rollup.config.bench.js",
"build:docs": "yarn clean:docs && mkdir -p tmp && cp README.md tmp/ && sed -i.bak '/badge.svg/d' tmp/README.md && typedoc --excludePrivate --readme tmp/README.md src/index.ts",
"build:docs": "yarn clean:docs && mkdir -p tmp && cp README.md tmp/ && sed -i.bak '/badge.svg/d' tmp/README.md && typedoc",
"clean": "yarn clean:artifacts && yarn clean:dist && yarn clean:docs && yarn clean:deps",
"clean:artifacts": "rm -rf docs tmp package.tgz",
"clean:deps": "rm -rf node_modules",
Expand Down
9 changes: 9 additions & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": ["src/index.ts"],
"excludePrivate": true,
"readme": "tmp/README.md",
"compilerOptions": {
"skipLibCheck": true
}
}

0 comments on commit 036d78c

Please sign in to comment.