Skip to content

Commit 259be5e

Browse files
fix: output TypeDoc to tmp/docs/ by default
Running `pnpm run docs` without arguments previously overwrote the `docs/` directory, which contains project documentation like `migration.md`. Now it outputs to `tmp/docs/` by default, making it safe to run manually. The `generate-gh-pages.sh` script passes `--out` explicitly, so CI/deployment workflows are unaffected. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0da5d3f commit 259be5e

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Temporary files
2+
tmp/
3+
14
# Logs
25
logs
36
*.log

typedoc.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ console.log(
2121
publicPackages.map(p => p.manifest.name)
2222
);
2323

24+
/** @type {Partial<import("typedoc").TypeDocOptions>} */
2425
export default {
2526
name: 'MCP TypeScript SDK',
2627
entryPointStrategy: 'packages',
@@ -35,5 +36,6 @@ export default {
3536
},
3637
headings: {
3738
readme: false
38-
}
39+
},
40+
out: 'tmp/docs/',
3941
};

0 commit comments

Comments
 (0)