chore: v3.0.0-rc.0 release (#9418)

This commit is contained in:
Sébastien Lorber 2023-10-20 11:24:29 +02:00 committed by GitHub
parent 4e150d2b82
commit 7ee2f75ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
140 changed files with 1598 additions and 677 deletions

View file

@ -1,31 +0,0 @@
---
slug: /api/misc/@docusaurus/eslint-plugin/prefer-docusaurus-heading
---
# prefer-docusaurus-heading
Ensures that the `@theme/Heading` theme component provided by Docusaurus [`theme-classic`](../../themes/theme-classic.mdx) is used instead of `<hn>` tags for headings.
## Rule Details {#details}
Examples of **incorrect** code for this rule:
```html
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
```
Examples of **correct** code for this rule:
```javascript
import Heading from '@theme/Heading'
<Heading as='h1'>This is heading 1</Heading>
<Heading as='h2'>This is heading 2</Heading>
<Heading as='h3'>This is heading 3</Heading>
```