docs(v2): fix migration command for earlier versions (#3251)

This commit is contained in:
Teik Jun 2020-08-11 21:18:50 +08:00 committed by GitHub
parent fda1590b0d
commit f1c715d4f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -673,10 +673,10 @@ To use the migration command, follow these steps:
``` ```
// migration command format // migration command format
npx docusaurus-migrate migrate <v1 website directory> <desired v2 website directory> npx @docusaurus/migrate migrate <v1 website directory> <desired v2 website directory>
// example // example
npx docusaurus-migrate migrate ./v1-website ./v2-website npx @docusaurus/migrate migrate ./v1-website ./v2-website
``` ```
3. To view your new website locally, go into your v2 website's directory and start your development server. 3. To view your new website locally, go into your v2 website's directory and start your development server.

View file

@ -673,10 +673,10 @@ To use the migration command, follow these steps:
``` ```
// migration command format // migration command format
npx docusaurus-migrate migrate <v1 website directory> <desired v2 website directory> npx @docusaurus/migrate migrate <v1 website directory> <desired v2 website directory>
// example // example
npx docusaurus-migrate migrate ./v1-website ./v2-website npx @docusaurus/migrate migrate ./v1-website ./v2-website
``` ```
3. To view your new website locally, go into your v2 website's directory and start your development server. 3. To view your new website locally, go into your v2 website's directory and start your development server.