mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 10:52:35 +02:00
chore: upgrade Prettier + regenerate lock file (#5611)
* Bump deps * Run prettier * Format docs * Minor refactor * Collapse objects * Fix type * Update lock file
This commit is contained in:
parent
4dbc458a22
commit
3f1f8255a2
70 changed files with 1534 additions and 1517 deletions
|
@ -220,7 +220,6 @@ This option works best to get started, or for casual, irregular authors.
|
|||
|
||||
Prefer usage of the `authors` FrontMatter, but the legacy `author_*` FrontMatter remains supported:
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```yml title="my-blog-post.md"
|
||||
---
|
||||
author: Joel Marcey
|
||||
|
@ -229,7 +228,6 @@ author_url: https://github.com/JoelMarcey
|
|||
author_image_url: https://github.com/JoelMarcey.png
|
||||
---
|
||||
```
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
:::
|
||||
|
||||
|
@ -293,7 +291,6 @@ The `authors` system is very flexible and can suit more advanced use-case:
|
|||
|
||||
You can use global authors most of the time, and still use inline authors:
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```yml title="my-blog-post.md"
|
||||
---
|
||||
authors:
|
||||
|
@ -305,7 +302,6 @@ authors:
|
|||
image_url: https://github.com/inlineAuthor
|
||||
---
|
||||
```
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
</details>
|
||||
|
||||
|
@ -314,7 +310,6 @@ authors:
|
|||
|
||||
You can customize the global author's data on per-blog-post basis:
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
```yml title="my-blog-post.md"
|
||||
---
|
||||
authors:
|
||||
|
@ -324,7 +319,6 @@ authors:
|
|||
name: Sébastien Lorber's new name
|
||||
---
|
||||
```
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
</details>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue