mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 04:27:04 +02:00
fix(v2): deprecate docs homePageId in favor of frontmatter "slug: /" (#3228)
* homePageId => deprecated * docs prettier
This commit is contained in:
parent
0079f0e8d1
commit
0a33a52301
25 changed files with 109 additions and 79 deletions
|
@ -39,12 +39,12 @@ import TabItem from '@theme/TabItem';
|
|||
// *.md file
|
||||
import Chapter1 from './_chapter1.md';
|
||||
|
||||
<Chapter1 />
|
||||
<Chapter1 />;
|
||||
|
||||
// *.mdx file
|
||||
import Chapter2 from './_chapter2.mdx';
|
||||
|
||||
<Chapter2 />
|
||||
<Chapter2 />;
|
||||
```
|
||||
|
||||
import Chapter1 from './\_chapter2.mdx';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue