misc(v2): reorder migration guide

This commit is contained in:
Yangshun Tay 2019-10-12 14:07:59 -07:00
parent 510a44e824
commit 37bccf5668
2 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@
- Code Blocks - Code Blocks
- Change default theme from Night Owl to Palenight - Change default theme from Night Owl to Palenight
- Slight tweaks to playground/preview components - Slight tweaks to playground/preview components
- Add `scripts` and `stylesheets` field to docusaurus.config. - Add `scripts` and `stylesheets` field to `docusaurus.config.js`
- More documentation... - More documentation...
## 2.0.0-alpha.25 ## 2.0.0-alpha.25

View file

@ -329,11 +329,11 @@ module.exports = {
The following fields are all deprecated, you may remove from your configuration file. The following fields are all deprecated, you may remove from your configuration file.
- `blogSidebarTitle` - `blogSidebarTitle`
- `cleanUrl` - `cleanUrl` - Clean URL is used by default now.
- `defaultVersionShown` - `defaultVersionShown` - Versioning is not ported yet. You'd be unable to migration to Docusaurus 2 if you are using versioning. Stay tuned.
- `disableHeaderTitle` - `disableHeaderTitle`
- `disableTitleTagline` - `disableTitleTagline`
- `docsSideNavCollapsible` - `docsSideNavCollapsible` - This is turned on by default now.
- `facebookAppId` - `facebookAppId`
- `facebookComments` - `facebookComments`
- `facebookPixelId` - `facebookPixelId`
@ -341,12 +341,12 @@ The following fields are all deprecated, you may remove from your configuration
- `highlight` - We now use [Prism](https://prismjs.com/) instead of [highlight.js](https://highlightjs.org/). - `highlight` - We now use [Prism](https://prismjs.com/) instead of [highlight.js](https://highlightjs.org/).
- `markdownOptions` - We use MDX in v2 instead of Remarkable. Your markdown options have to be converted to Remark/Rehype plugins. - `markdownOptions` - We use MDX in v2 instead of Remarkable. Your markdown options have to be converted to Remark/Rehype plugins.
- `markdownPlugins` - We use MDX in v2 instead of Remarkable. Your markdown plugins have to be converted to Remark/Rehype plugins. - `markdownPlugins` - We use MDX in v2 instead of Remarkable. Your markdown plugins have to be converted to Remark/Rehype plugins.
- `manifest`
- `noIndex`
- `onPageNav` - This is turned on by default now.
- `separateCss` - It can imported in the same manner as `custom.css` mentioned above. - `separateCss` - It can imported in the same manner as `custom.css` mentioned above.
- `scrollToTop` - `scrollToTop`
- `scrollToTopOptions` - `scrollToTopOptions`
- `manifest`
- `noIndex`
- `onPageNav`
- `translationRecruitingLink` - `translationRecruitingLink`
- `twitter` - `twitter`
- `twitterUsername` - `twitterUsername`