mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-28 07:09:50 +00:00
The plugin default outDir was 'docs' while every template and example
tsconfig aliased collections/* -> ./.source/*, so a fresh fork could not
resolve `import { docs } from 'collections/server'` without manually
passing createMDX({ outDir }). Standardize on .docs everywhere:
- packages/mdx/src/core.ts: _Defaults.outDir 'docs' -> '.docs'
- 31 template/example tsconfig: collections/* -> ./.docs/*
- align generated-dir .gitignore entries to .docs
- changeset (patch)
Co-authored-by: Hanzo Dev <[email protected]>
26 lines
237 B
Plaintext
26 lines
237 B
Plaintext
# deps
|
|
/node_modules
|
|
|
|
# generated content
|
|
.docs
|
|
|
|
# test & build
|
|
/coverage
|
|
/.next/
|
|
/out/
|
|
/build
|
|
*.tsbuildinfo
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
/.pnp
|
|
.pnp.js
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# others
|
|
.env*.local
|
|
.vercel
|
|
next-env.d.ts |