Skip to content

Commit

Permalink
docs(fix-bad-example-for-lang-switcher-external-link-feature): closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrabug committed May 17, 2024
1 parent 0ff14c9 commit 8b6b092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/setup/setting-up-material.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ plugins:

## Adding a special item in the language switcher

If you want to add a special item in the automatically generated language switcher pointing to a fixed link, use the special `null` locale.
If you want to add a special item in the automatically generated language switcher pointing to a fixed link, use the special `"null"` (quotes intended) locale.

``` yaml
plugins:
Expand All @@ -38,7 +38,7 @@ plugins:
- locale: fr
name: Français
build: true
- locale: null
- locale: "null"
name: Help translating
build: false
fixed_link: https://spaceship-prompt.sh/contribute/?h=trans#Translating
Expand Down

0 comments on commit 8b6b092

Please sign in to comment.