create-svelte-docsmith
v0.3.0
Published
Scaffold a documentation site powered by Svelte DocSmith.
Downloads
763
Maintainers
Readme
create-svelte-docsmith
Scaffold a documentation site powered by Svelte DocSmith.
npm create svelte-docsmith@latest my-docspnpm create svelte-docsmith my-docsyarn create svelte-docsmith my-docsYou can also run it without a name and answer the prompts:
npm create svelte-docsmith@latestIt asks a short set of questions (all with sensible defaults):
- Directory — where to create the project (skipped if you passed a name).
- Site title — used in the header and
site-config.ts. - Theme — a built-in preset, or the default.
- Install dependencies? — runs your package manager for you.
- Initialize a git repository?
Then it writes a ready-to-run SvelteKit + Tailwind v4 project wired with
DocSmith: the markdown pipeline, the Vite plugin, the style contract, a
DocsShell layout, a 404 page, and two sample doc pages.
cd my-docs
npm run devAdd markdown files under src/routes/docs/ and they appear in the sidebar,
styled, highlighted, and searchable.
License
MIT
