mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +02:00
docs: improve alt messages (#8047)
This commit is contained in:
parent
1f1f898d73
commit
36db64ed1d
22 changed files with 76 additions and 72 deletions
|
@ -563,7 +563,7 @@ module.exports = {
|
|||
};
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
:::caution
|
||||
|
||||
|
|
|
@ -66,4 +66,4 @@ An embedded expression is optionally preceded by a flag in the form `[a-z]+=` (a
|
|||
|
||||
If the expression is an array, it's formatted by `` `\n- ${array.join('\n- ')}\n` `` (note it automatically gets a leading line end). Each member is formatted by itself and the bullet is not formatted. So you would see the above message printed as:
|
||||
|
||||

|
||||

|
||||
|
|
|
@ -66,7 +66,7 @@ For a more exhaustive list of what it takes for your site to be a PWA, refer to
|
|||
|
||||
If your browser supports it, you should be able to install a Docusaurus site as an app.
|
||||
|
||||

|
||||

|
||||
|
||||
:::note
|
||||
|
||||
|
@ -298,6 +298,6 @@ The `@theme/PwaReloadPopup` component is rendered when a new service worker is w
|
|||
|
||||
The default theme includes an implementation for the reload popup and uses [Infima Alerts](https://infima.dev/docs/components/alert).
|
||||
|
||||

|
||||

|
||||
|
||||
Your component can render `null`, but this is not recommended: users won't have a way to get up-to-date content.
|
||||
|
|
|
@ -15,7 +15,7 @@ slug: /
|
|||
|
||||
🧐 Docusaurus is a **static-site generator**. It builds a **single-page application** with fast client-side navigation, leveraging the full power of **React** to make your site interactive. It provides out-of-the-box **documentation features** but can be used to create **any kind of site** (personal website, product, blog, marketing landing pages, etc).
|
||||
|
||||

|
||||

|
||||
|
||||
## Fast Track ⏱️ {#fast-track}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue