mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 09:43:10 +00:00
* chore: update @svgr/webpack to version 6 * svgr changelog https://github.com/gregberge/svgr/releases * SVGO 2 changelog https://github.com/svg/svgo/releases/tag/v2.0.0 * depend on maintained svgo version * although svgr 6 is in alpha, it fixes a few issues with webpack 5 (https://github.com/gregberge/svgr/commit/1a8cc98) and React (https://github.com/gregberge/svgr/commit/3700aba) * see also https://github.com/facebook/docusaurus/pull/5703 * Fix config * fix e2e test * Fix again * Update to stable Co-authored-by: Josh-Cena <sidachen2003@gmail.com> |
||
|---|---|---|
| .. | ||
| bin | ||
| src | ||
| templates | ||
| README.md | ||
| package.json | ||
| tsconfig.json | ||
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