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

33 lignes
994 B
Markdown
Brut 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
{
2020-04-25 14:44:43 +02:00
"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.
2020-04-25 14:44:43 +02:00
2015-12-12 00:22:43 +01:00
```
├── 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
```