mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-11-10 03:19:38 +00:00
Migrate to Docusaurus V2 🐱🐉 (#412)
* Migrate to Docusaurus V2 * Add redirects Only covers most recent version * Add omitted scripts folder * Include working yarn.lock
This commit is contained in:
1
script/bootstrap
Executable file → Normal file
1
script/bootstrap
Executable file → Normal file
@@ -2,5 +2,4 @@ set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
cd website
|
||||
yarn
|
||||
|
||||
15
script/netlify
Executable file → Normal file
15
script/netlify
Executable file → Normal file
@@ -1,16 +1,3 @@
|
||||
#!/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
|
||||
yarn build
|
||||
|
||||
1
script/server
Executable file → Normal file
1
script/server
Executable file → Normal file
@@ -4,5 +4,4 @@ set -e
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
cd website
|
||||
yarn start
|
||||
|
||||
0
script/setup
Executable file → Normal file
0
script/setup
Executable file → Normal file
Reference in New Issue
Block a user