docusaurus/packages/create-docusaurus
Sébastien Lorber 613d938cfc
chore: prepare v2.0.0-beta.21 release (#7513)
* add beta 21 version

* v2.0.0-beta.21

* typo
2022-05-27 18:29:11 +02:00
..
bin refactor: fix more type-aware linting errors (#7479) 2022-05-24 19:19:24 +08:00
src fix(create-docusaurus): potential security issue with command injection (#7507) 2022-05-27 10:41:15 +02:00
templates chore: prepare v2.0.0-beta.21 release (#7513) 2022-05-27 18:29:11 +02:00
.npmignore misc: make copyUntypedFiles work for watch mode (#7445) 2022-05-18 19:18:32 +08:00
package.json chore: prepare v2.0.0-beta.21 release (#7513) 2022-05-27 18:29:11 +02:00
README.md feat: npm init docusaurus, yarn create docusaurus (#5635) 2021-10-07 16:06:42 +02:00
tsconfig.build.json refactor: make each tsconfig explicitly declare module and include/exclude (#7443) 2022-05-18 12:48:28 +08:00
tsconfig.json refactor: make entire project typecheck with root tsconfig (#7466) 2022-05-23 12:54:25 +08:00

create-docusaurus

Create Docusaurus apps easily with simplified commands:

npm init docusaurus
yarn create docusaurus

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 create-docusaurus 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 create-docusaurus test-website-in-workspace classic
cd test-website-in-workspace
yarn start