forked from home-assistant/home-assistant.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'home-assistant:current' into current
- Loading branch information
Showing
3,418 changed files
with
228,504 additions
and
56,276 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,40 @@ | ||
{ | ||
"name": "home-assistant.io", | ||
"build": { | ||
"dockerfile": "../Dockerfile", | ||
"dockerfile": "./Dockerfile", | ||
"context": "..", | ||
"args": { | ||
"VARIANT": "2.6", | ||
"NODE_VERSION": "12.1", | ||
"VARIANT": "3.1", | ||
"NODE_VERSION": "20" | ||
} | ||
}, | ||
"appPort": [4000], | ||
"postCreateCommand": "bundle install && npm install", | ||
"containerEnv": {"DEVCONTAINER": "true"}, | ||
"extensions": [ | ||
"davidanson.vscode-markdownlint", | ||
"editorconfig.editorconfig", | ||
"mrmlnc.vscode-scss", | ||
"rebornix.Ruby", | ||
"streetsidesoftware.code-spell-checker", | ||
"yzhang.markdown-all-in-one" | ||
], | ||
"settings": { | ||
"editor.rulers": [80, 100, 120], | ||
"editor.renderWhitespace": "boundary", | ||
"errorLens.gutterIconsEnabled": true, | ||
"errorLens.addAnnotationTextPrefixes": false, | ||
"errorLens.enabledDiagnosticLevels": ["error", "warning"], | ||
"terminal.integrated.shell.linux": "/usr/bin/zsh", | ||
"onCreateCommand": "bundle install && npm install", | ||
"containerEnv": { | ||
"DEVCONTAINER": "true", | ||
"BUNDLE_PATH": "vendor/bundle" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"davidanson.vscode-markdownlint", | ||
"editorconfig.editorconfig", | ||
"GitHub.vscode-pull-request-github", | ||
"mrmlnc.vscode-scss", | ||
"Shopify.ruby-lsp", | ||
"streetsidesoftware.code-spell-checker", | ||
"taichi.vscode-textlint", | ||
"yzhang.markdown-all-in-one" | ||
], | ||
"settings": { | ||
"editor.renderWhitespace": "boundary", | ||
"editor.rulers": [80, 100, 120], | ||
"gitlens.showWelcomeOnInstall": false, | ||
"gitlens.showWhatsNewAfterUpgrades": false, | ||
"terminal.integrated.shell.linux": "/usr/bin/zsh", | ||
"workbench.startupEditor": "none", | ||
"rubyLsp.rubyVersionManager": "none" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,18 @@ on: | |
|
||
jobs: | ||
lock: | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dessant/[email protected] | ||
- uses: dessant/[email protected] | ||
if: ${{ github.repository_owner == 'home-assistant' }} | ||
with: | ||
github-token: ${{ github.token }} | ||
issue-lock-inactive-days: "30" | ||
issue-exclude-created-before: "2020-10-01T00:00:00Z" | ||
issue-inactive-days: "30" | ||
exclude-issue-created-before: "2020-10-01T00:00:00Z" | ||
issue-lock-reason: "" | ||
pr-lock-inactive-days: "1" | ||
pr-exclude-created-before: "2020-11-01T00:00:00Z" | ||
pr-inactive-days: "1" | ||
exclude-pr-created-before: "2020-11-01T00:00:00Z" | ||
pr-lock-reason: "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,13 @@ on: | |
|
||
jobs: | ||
stale: | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
- uses: actions/[email protected] | ||
if: ${{ github.repository_owner == 'home-assistant' }} | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
days-before-stale: 60 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,18 +8,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/checkout@v2.3.4 | ||
- name: Setting up Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v2.4.0 | ||
uses: actions/checkout@v4.1.7 | ||
- name: Setting up Node.js | ||
uses: actions/setup-node@v4.0.2 | ||
with: | ||
node-version: 12.x | ||
- name: Setup NPM cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.npm | ||
key: npm-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
npm- | ||
node-version: 20 | ||
cache: "npm" | ||
- name: Install dependencies | ||
run: npm install | ||
env: | ||
|
@@ -31,57 +25,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setting up Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 12.x | ||
- name: Setup NPM cache | ||
uses: actions/[email protected] | ||
uses: actions/[email protected] | ||
- name: Setting up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.npm | ||
key: npm-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
npm- | ||
node-version: 20 | ||
cache: "npm" | ||
- name: Install dependencies | ||
run: npm install | ||
env: | ||
CI: true | ||
- name: Run textlint | ||
run: npm run textlint | ||
build: | ||
name: Jekyll build | ||
runs-on: ubuntu-18.04 | ||
needs: [markdown-lint] | ||
steps: | ||
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setting up Ruby 2.6 | ||
uses: ruby/[email protected] | ||
with: | ||
ruby-version: 2.6 | ||
- name: Setup Ruby Gems cache | ||
uses: actions/[email protected] | ||
with: | ||
path: vendor/bundle | ||
key: gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: | | ||
gems- | ||
- name: Installing dependencies | ||
run: | | ||
gem install bundler -v 2.0.1 | ||
bundle config path vendor/bundle | ||
bundle install --jobs 4 --retry 3 | ||
- name: Setting up Jekyll cache | ||
uses: actions/[email protected] | ||
with: | ||
path: source/.jekyll-cache | ||
key: | ||
jekyll-${{ hashFiles('**/Gemfile.lock') }}-${{ | ||
hashFiles('**/_config.yml') }} | ||
restore-keys: | | ||
jekyll-${{ hashFiles('**/Gemfile.lock') }}- | ||
jekyll- | ||
- name: Building site | ||
run: | | ||
bundle exec rake generate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
12.1 | ||
18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,38 @@ | ||
var remarkrc = { | ||
settings: { | ||
bullet: '-', | ||
commonmark: true, | ||
emphasis: '_', | ||
fence: '`', | ||
incrementListMarker: true, | ||
listItemIndent: 1, | ||
strong: '*' | ||
}, | ||
plugins: [ | ||
["frontmatter"], | ||
["lint-fenced-code-flag"], | ||
["lint-no-shell-dollars"] | ||
] | ||
settings: { | ||
bullet: "-", | ||
commonmark: true, | ||
emphasis: "_", | ||
fence: "`", | ||
incrementListMarker: true, | ||
listItemIndent: 1, | ||
strong: "*", | ||
}, | ||
plugins: [ | ||
["frontmatter"], | ||
["lint-fenced-code-flag"], | ||
["lint-no-shell-dollars"], | ||
["remark-lint-heading-increment"], | ||
["remark-lint-heading-style", "atx"], | ||
["remark-lint-unordered-list-marker-style", "-"], | ||
["remark-lint-ordered-list-marker-style", "."], | ||
["remark-lint-ordered-list-marker-value"], | ||
[ | ||
"remark-lint-prohibited-strings", | ||
[ | ||
{ no: "[Hh]ome [Aa]ss?s?istant", yes: "Home Assistant" }, | ||
{ no: "[Ww]eb[Ss]ocket", yes: "WebSocket" }, | ||
{ no: "Github", yes: "GitHub" }, | ||
{ | ||
no: "https://www.home-assistant.io/", | ||
yes: "/", | ||
ignoreNextTo: ['"', '"'], | ||
}, | ||
{ no: "Speech-[Tt]o-Text", yes: "Speech-to-text" }, | ||
{ no: "Text-[Tt]o-Speech", yes: "Text-to-speech" }, | ||
], | ||
], | ||
], | ||
}; | ||
|
||
module.exports = remarkrc; | ||
module.exports = remarkrc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.6.2 | ||
3.1.4 |
Oops, something went wrong.