daux.io/docs/01_Features/Multilanguage.md

32 lignes
991 B
Markdown
Brut Lien permanent Vue normale Historique

2015-12-12 00:22:43 +01:00
You can handle multiple languages in your documentation, each with it's own navigation.
Add this to your config.json :
```json
{
"languages": { "en": "English", "de": "German" }
2015-12-12 00:22:43 +01:00
}
```
You will the need separate directories for each language in `docs/` folder.
```
├── docs/
│ ├── _index.md
│ ├── en
│ │ ├── 00_Getting_Started.md
│ │ ├── 01_Examples
│ │ │ ├── 01_CommonMark_compliant.md
2015-12-12 00:22:43 +01:00
│ │ │ ├── 05_Code_Highlighting.md
│ │ ├── 05_More_Examples
│ │ │ ├── Hello_World.md
│ │ │ ├── 05_Code_Highlighting.md
│ ├── de
│ │ ├── 00_Getting_Started.md
│ │ ├── 01_Examples
│ │ │ ├── 01_CommonMark_compliant.md
2015-12-12 00:22:43 +01:00
│ │ │ ├── 05_Code_Highlighting.md
│ │ ├── 05_More_Examples
│ │ │ ├── Hello_World.md
│ │ │ ├── 05_Code_Highlighting.md
```