chore(v2): update examples to use alpha73 (#4631)

* regenerate examples on alpha73

* fix init template typo + add missing files
This commit is contained in:
Sébastien Lorber 2021-04-16 14:08:23 +02:00 committed by GitHub
parent 4d49945775
commit c8cf48a355
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 1968 additions and 2905 deletions

View file

@ -32,4 +32,4 @@ npx docusaurus start
Your site starts at `http://localhost:3000`.
Open `docs/getting-started.md` and edit some lines: the site **reloads automatically** and display your changes.
Open `docs/intro.md` and edit some lines: the site **reloads automatically** and display your changes.

View file

@ -4,7 +4,7 @@ sidebar_position: 2
# Translate your site
Let's translate `docs/getting-started.md` to French.
Let's translate `docs/intro.md` to French.
## Configure i18n
@ -21,15 +21,15 @@ module.exports = {
## Translate a doc
Copy the `docs/getting-started.md` file to the `i18n/fr` folder:
Copy the `docs/intro.md` file to the `i18n/fr` folder:
```bash
mkdir -p i18n/fr/docusaurus-plugin-content-docs/current/
cp docs/getting-started.md i18n/fr/docusaurus-plugin-content-docs/current/getting-started.md
cp docs/intro.md i18n/fr/docusaurus-plugin-content-docs/current/intro.md
```
Translate `i18n/fr/docusaurus-plugin-content-docs/current/getting-started.md` in French.
Translate `i18n/fr/docusaurus-plugin-content-docs/current/intro.md` in French.
## Start your localized site