diff --git a/package.json b/package.json index 1ca214b59..842638ece 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "build:types": "tsc -p tsconfig.npm.json && cpy 'src/**/*.d.ts' dist", "bench": "nanobench benchmarks/*.js", "type": "tsc", - "doc": "rimraf docs/api && typedoc --plugin typedoc-plugin-markdown", + "doc": "rimraf docs/api/md && typedoc --plugin typedoc-plugin-markdown --out docs/api/md", + "doc:publish": "rimraf docs/api/html && typedoc --out docs/api/html", "protobuf": "node ./scripts/build-messages.js", "db:generate:project": "drizzle-kit generate:sqlite --schema src/schema/project.js --out drizzle/project", "db:generate:client": "drizzle-kit generate:sqlite --schema src/schema/client.js --out drizzle/client", diff --git a/typedoc.json b/typedoc.json index b96597777..33eb3ba1b 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,7 +1,6 @@ { - "entryPoints": ["src/**/*.js", "src/**/*.ts"], + "entryPoints": ["src/index.js"], "exclude": ["src/generated/*"], - "out": "docs/api", "cleanOutputDir": false, "readme": "none", "name": "API",