mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 21:36:31 +00:00
Add netlify script and remove hardcoded languages dropdown in header
This commit is contained in:
parent
2399e88f9f
commit
50334719f0
16
script/netlify
Executable file
16
script/netlify
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd website
|
||||
npm install
|
||||
npm run write-translations
|
||||
|
||||
wget -q https://downloads.crowdin.com/cli/v2/crowdin-cli.zip
|
||||
|
||||
unzip crowdin-cli.zip -d crowdin-cli
|
||||
|
||||
cp crowdin-cli/**/crowdin-cli.jar .
|
||||
|
||||
java -jar crowdin-cli.jar --config ../crowdin.yaml upload sources --auto-update -b master
|
||||
java -jar crowdin-cli.jar --config ../crowdin.yaml download -b master
|
||||
|
||||
npm run build
|
@ -44,7 +44,6 @@ const siteConfig = {
|
||||
{doc: 'development_index', label: 'Backend'},
|
||||
{doc: 'misc', label: 'Misc'},
|
||||
{ blog: true, label: 'Blog' },
|
||||
{ languages: true },
|
||||
],
|
||||
|
||||
// If you have users set above, you add it here:
|
||||
|
Loading…
x
Reference in New Issue
Block a user