mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 10:22:30 +02:00
feat(create): allow specifying a git clone strategy (#6610)
* feat(create): allow specifying a git clone strategy * Update index.ts
This commit is contained in:
parent
6996ed2f2f
commit
b16b394eb6
3 changed files with 70 additions and 19 deletions
|
@ -35,7 +35,7 @@ npx create-docusaurus@latest website classic
|
|||
|
||||
If you do not specify `name` or `template`, it will prompt you for them. We recommend the `classic` template so that you can get started quickly, and it contains features found in Docusaurus 1. The `classic` template contains `@docusaurus/preset-classic` which includes standard documentation, a blog, custom pages, and a CSS framework (with dark mode support). You can get up and running extremely quickly with the classic template and customize things later on when you have gained more familiarity with Docusaurus.
|
||||
|
||||
The `template` also accepts a git repo URL or a local file path, with the latter evaluated relative to the current working directory. The repo/folder content will be copied to the site directory.
|
||||
The `template` also accepts a git repo URL or a local file path, with the latter evaluated relative to the current working directory. The repo/folder content will be copied to the site directory. If it's a git repository, you can also specify a cloning strategy. Run `npx create-docusaurus@latest --help` for more information.
|
||||
|
||||
:::info FB-Only
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue