mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 02:42:41 +02:00
fix(theme): make warning a first-class admonition, and deprecate caution admonition (#9308)
This commit is contained in:
parent
58be496da2
commit
f5ae537d3e
339 changed files with 666 additions and 515 deletions
|
@ -365,7 +365,7 @@ website/i18n/[locale]/docusaurus-plugin-content-blog/authors.yml
|
|||
|
||||
An author, either declared through front matter or through the authors map, needs to have a name or an avatar, or both. If all authors of a post don't have names, Docusaurus will display their avatars compactly. See [this test post](/tests/blog/2022/01/20/image-only-authors) for the effect.
|
||||
|
||||
:::caution Feed generation
|
||||
:::warning Feed generation
|
||||
|
||||
[RSS feeds](#feed) require the author's email to be set for the author to appear in the feed.
|
||||
|
||||
|
@ -609,7 +609,7 @@ module.exports = {
|
|||
};
|
||||
```
|
||||
|
||||
:::caution
|
||||
:::warning
|
||||
|
||||
Don't forget to delete the existing homepage at `./src/pages/index.js` or else there will be two files mapping to the same route!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue