docusaurus/packages/docusaurus-init
Sébastien Lorber 553f914639
feat: TypeScript presets/plugins should expose Options typing (#5456)
* each TS plugin should export option types + preset export option / themeConfig types + remove TS typechecking for the bootstrap theme

* each TS plugin should export option types + preset export option / themeConfig types + remove TS typechecking for the bootstrap theme

* fix remaining TS errors

* fix remaining TS errors

* TS fix

* Add JSDoc type annotations to init templates and TS docs

* missing title char
2021-09-01 12:14:40 +02:00
..
bin feat: new init template classic-typescript (#5233) 2021-08-06 19:11:36 +02:00
src refactor(init): share common files between templates (#5315) 2021-08-10 16:26:59 +02:00
templates feat: TypeScript presets/plugins should expose Options typing (#5456) 2021-09-01 12:14:40 +02:00
package.json chore: prepare v2.0.0-beta.5 release (#5427) 2021-08-26 17:33:31 +02:00
README.md feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396) 2021-08-26 12:21:58 +02:00
tsconfig.json feat: new init template classic-typescript (#5233) 2021-08-06 19:11:36 +02:00

@docusaurus/init

Create Docusaurus apps easily.

Usage

Please see the installation documentation.

For maintainers

For Docusaurus maintainers, templates can be tested with:

cd `git rev-parse --show-toplevel` # Back to repo root
rm -rf test-website
yarn docusaurus-init init test-website classic
cd test-website
yarn start

Note: test-website is not part of the workspace and use packages from npm.

Use the following to test the templates against local packages:

cd `git rev-parse --show-toplevel` # Back to repo root
rm -rf test-website-in-workspace
yarn docusaurus-init init test-website-in-workspace classic
cd test-website-in-workspace
yarn start