mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
docs(v2): Add migration info doc regarding docs folder location (#3962)
This commit is contained in:
parent
141d062c3b
commit
e5610a475d
1 changed files with 19 additions and 11 deletions
|
@ -33,22 +33,30 @@ Your Docusaurus 1 site should have the following structure:
|
|||
|
||||
## Docusaurus 2 structure
|
||||
|
||||
After the migration, your Docusaurus 2 site should look like:
|
||||
After the migration, your Docusaurus 2 site could look like:
|
||||
|
||||
```sh
|
||||
website
|
||||
├── blog
|
||||
├── docs
|
||||
├── src
|
||||
│ ├── components
|
||||
│ ├── css
|
||||
│ └── pages
|
||||
├── static
|
||||
├── package.json
|
||||
├── sidebars.json
|
||||
├── docusaurus.config.js
|
||||
└── website
|
||||
├── blog
|
||||
├── src
|
||||
│ ├── components
|
||||
│ ├── css
|
||||
│ └── pages
|
||||
├── static
|
||||
├── package.json
|
||||
├── sidebars.json
|
||||
├── docusaurus.config.js
|
||||
```
|
||||
|
||||
:::info
|
||||
|
||||
This migration does not change the `/docs` folder location, but Docusaurus v2 sites generally have the `/docs` folder inside `/website`
|
||||
|
||||
You are free to put the `/docs` folder anywhere you want after having migrated to v2.
|
||||
|
||||
:::
|
||||
|
||||
## Migration process
|
||||
|
||||
There are multiple things to migrate to obtain a fully functional Docusaurus 2 website:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue