mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-28 08:27:03 +02:00
chore(v2): update examples to use alpha73 (#4631)
* regenerate examples on alpha73 * fix init template typo + add missing files
This commit is contained in:
parent
4d49945775
commit
c8cf48a355
39 changed files with 1968 additions and 2905 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue