Update navigation guide

This commit is contained in:
Frank Li 2017-08-15 14:13:30 -07:00 committed by GitHub
parent 5f09602440
commit 15358cad71

View file

@ -113,3 +113,14 @@ headerLinks: [
{ doc: 'bar', label: 'Bar' }, { doc: 'bar', label: 'Bar' },
], ],
``` ```
## Languages drop down position in nav bar
If translations is enabled on your site, the language drop down will appear to the right of your links (and to the left of the search bar, if search is enabled). If you want to put the language selection drop down between links in the header, add a languages entry in the `headerLinks` config array:
```
headerLinks: [
{ doc: 'foo', label: 'Foo' },
{ languages: true },
{ doc: 'bar', label: 'Bar' },
],
```