1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-23 17:26:44 +02:00

Add language picker menu (#411)

The picker is a drop-down menu using the same design as the theme
picker in the top-left.

There doesn’t seem to be an easy way to pass in a list of languages
and descriptions, so for now we’ll have to expand the menu by hand as
we add new languages. A comment has been added to `publish.yml` to
remind us of this.
This commit is contained in:
Martin Geisler
2023-02-15 15:10:16 +01:00
committed by GitHub
parent 8e4bf245d3
commit 3b7123d21a
4 changed files with 44 additions and 1 deletions

View File

@ -18,6 +18,7 @@ concurrency:
env:
CARGO_TERM_COLOR: always
# Update the language picker in index.hbs to link new languages.
LANGUAGES: da pt-BR
jobs: