From 036d78c3359b8dc9d2b21e5f09f73ccf2c6c6796 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 12 Feb 2024 13:05:29 -0600 Subject: [PATCH] docs: use typedoc config --- package.json | 2 +- typedoc.json | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 typedoc.json diff --git a/package.json b/package.json index 50425a19..9a3e7e4a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/typedoc.json b/typedoc.json new file mode 100644 index 00000000..d37b7205 --- /dev/null +++ b/typedoc.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://typedoc.org/schema.json", + "entryPoints": ["src/index.ts"], + "excludePrivate": true, + "readme": "tmp/README.md", + "compilerOptions": { + "skipLibCheck": true + } +}