Skip to content

Commit

Permalink
Make redirect from root go to the english translation. Add documentat…
Browse files Browse the repository at this point in the history
…ion about the language switcher
  • Loading branch information
hamishwillee committed May 1, 2017
1 parent 00c2826 commit 4697650
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ This guide describes how to work inside the PX4 system architecture. It enables

This guide is maintained using GitBook. A local copy can be installed by following the [official instructions](https://toolchain.gitbook.com/setup.html). Before calling `gitbook serve` make sure to have all the plugins installed.

## Translations

We have recently started adding translated versions of this guide! You can access these by clicking the language-switcher icon:

![Gitbook Language Selector](assets/gitbook/gitbook_language_selector.png)

> **Tip** If you would like to contribute to our translations, there is information on how to [get started here](https://github.com/PX4/px4_user_guide#translation).

## License

The PX4 Development Guide is available under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license. See our [Github Repository](https://github.com/PX4/Devguide) for more details.
Binary file added assets/gitbook/gitbook_language_selector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 7 additions & 3 deletions book.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"github",
"language-picker",
"custom-favicon",
"bulk-redirect"
"bulk-redirect",
"redirect-root@git+https://github.com/hamishwillee/gitbook-plugin-redirect-root.git"
],
"pluginsConfig":
{
Expand All @@ -32,8 +33,11 @@
"bulk-redirect": {
"basepath": "/",
"redirectsFile": "redirects.json"
}

},

"redirect-root": {
"url":"https://dev.px4.io/en/"
}

}
}
9 changes: 9 additions & 0 deletions en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ This guide describes how to work inside the PX4 system architecture. It enables

This guide is maintained using GitBook. A local copy can be installed by following the [official instructions](https://toolchain.gitbook.com/setup.html). Before calling `gitbook serve` make sure to have all the plugins installed.

## Translations

We have recently started adding translated versions of this guide! You can access these by clicking the language-switcher icon:

![Gitbook Language Selector](../assets/gitbook/gitbook_language_selector.png)

> **Tip** If you would like to contribute to our translations, there is information on how to [get started here](https://github.com/PX4/px4_user_guide#translation).

## License

The PX4 Development Guide is available under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license. See our [Github Repository](https://github.com/PX4/Devguide) for more details.

0 comments on commit 4697650

Please sign in to comment.