docusaurus/packages/create-docusaurus
ozaki 0eb7b64aac
feat(docs, blog): add support for tags.yml, predefined list of tags (#10137)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: slorber <slorber@users.noreply.github.com>
2024-05-31 17:32:08 +02:00
..
bin feat(create-docusaurus): ask user for preferred language when no language CLI option provided (#9442) 2024-02-15 13:05:05 +01:00
src feat(create-docusaurus): ask user for preferred language when no language CLI option provided (#9442) 2024-02-15 13:05:05 +01:00
templates feat(docs, blog): add support for tags.yml, predefined list of tags (#10137) 2024-05-31 17:32:08 +02:00
.npmignore misc: make copyUntypedFiles work for watch mode (#7445) 2022-05-18 19:18:32 +08:00
package.json chore: release Docusaurus 3.3.0 + 3.3.1 + 3.3.2 (#10101) 2024-05-03 17:14:41 +02:00
README.md feat(create-docusaurus): ask user for preferred language when no language CLI option provided (#9442) 2024-02-15 13:05:05 +01:00
tsconfig.build.json refactor: extract base TS client config + upgrade TS + refactor TS setup (#10065) 2024-04-19 21:03:32 +02:00
tsconfig.json refactor: extract base TS client config + upgrade TS + refactor TS setup (#10065) 2024-04-19 21:03:32 +02:00

create-docusaurus

Create Docusaurus apps easily with simplified commands:

npm init docusaurus
yarn create docusaurus
npx create-docusaurus@latest

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 --javascript
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 --javascript
cd test-website-in-workspace
yarn build
yarn start

For the TypeScript template:

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