Skip to content

Commit c4e9c07

Browse files
committed
Merge branch 'main' into any-thread-responses
2 parents 0feee7e + 27c2cd4 commit c4e9c07

612 files changed

Lines changed: 7528 additions & 7980 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
**IMPORTANT:** Due to work on the docs.flutter.dev infrastructure, **all open pull requests will be closed April 26.**
2+
3+
If your PR needs to be merged by April 26, please say that in your PR.
4+
5+
Otherwise, please [file an issue](https://github.com/flutter/website/issues/new/choose) about the needed change, and (if you submit a PR) be prepared to recreate the PR May 10 or later.
6+
7+
---
8+
19
_Description of what this PR is changing or adding, and why:_
210

311
_Issues fixed by this PR (if any):_
412

513
## Presubmit checklist
614
- [ ] This PR doesn’t contain automatically generated corrections (Grammarly or similar).
715
- [ ] This PR follows the [Google Developer Documentation Style Guidelines](https://developers.google.com/style) — for example, it doesn’t use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person).
8-
- [ ] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/master/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer.
16+
- [ ] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer.

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
branch: stable
3434
experimental: false
3535
steps:
36-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
36+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
3737
with:
3838
submodules: recursive
3939
- name: Test
@@ -48,7 +48,7 @@ jobs:
4848
&& github.ref == 'refs/heads/main'
4949
&& github.repository == 'flutter/website'
5050
steps:
51-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
51+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
5252
with:
5353
submodules: recursive
5454
- name: Build site and check links
@@ -58,7 +58,7 @@ jobs:
5858
with:
5959
node-version: ${{ env.NODE_VERSION }}
6060
- name: Install Firebase CLI
61-
run: npm install -g firebase-tools@11.16.0
61+
run: npm install -g firebase-tools@11.27.0
6262
- name: Deploy to Firebase hosting
6363
run: make deploy
6464
env:

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
32+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
3333

3434
# Initializes the CodeQL tools for scanning.
3535
- name: Initialize CodeQL
36-
uses: github/codeql-action/init@a34ca99b4610d924e04c68db79e503e1f79f9f02
36+
uses: github/codeql-action/init@b2c19fb9a2a485599ccf4ed5d65527d94bc57226
3737
with:
3838
languages: ${{ matrix.language }}
3939
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -44,7 +44,7 @@ jobs:
4444
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4545
# If this step fails, then you should remove it and run the build manually (see below)
4646
- name: Autobuild
47-
uses: github/codeql-action/autobuild@a34ca99b4610d924e04c68db79e503e1f79f9f02
47+
uses: github/codeql-action/autobuild@b2c19fb9a2a485599ccf4ed5d65527d94bc57226
4848

4949
# ℹ️ Command-line programs to run using the OS shell.
5050
# 📚 https://git.io/JvXDl
@@ -58,4 +58,4 @@ jobs:
5858
# make release
5959

6060
- name: Perform CodeQL Analysis
61-
uses: github/codeql-action/analyze@a34ca99b4610d924e04c68db79e503e1f79f9f02
61+
uses: github/codeql-action/analyze@b2c19fb9a2a485599ccf4ed5d65527d94bc57226

.github/workflows/link-check.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/scorecards-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222

2323
steps:
2424
- name: "Checkout code"
25-
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
25+
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
2626
with:
2727
persist-credentials: false
2828

2929
- name: "Run analysis"
30-
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86
30+
uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af
3131
with:
3232
results_file: results.sarif
3333
results_format: sarif
@@ -50,6 +50,6 @@ jobs:
5050

5151
# Upload the results to GitHub's code scanning dashboard.
5252
- name: "Upload to code-scanning"
53-
uses: github/codeql-action/upload-sarif@a34ca99b4610d924e04c68db79e503e1f79f9f02
53+
uses: github/codeql-action/upload-sarif@b2c19fb9a2a485599ccf4ed5d65527d94bc57226
5454
with:
5555
sarif_file: results.sarif

.github/workflows/stage.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Check links and stage
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
# Declare default permissions as read only.
9+
permissions: read-all
10+
11+
jobs:
12+
stage:
13+
permissions:
14+
checks: write
15+
pull-requests: write
16+
runs-on: ubuntu-latest
17+
if: ${{ github.ref != 'refs/heads/main' }}
18+
steps:
19+
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
20+
with:
21+
submodules: recursive
22+
- name: Build site and check links
23+
run: make build BUILD_CONFIGS=_config.yml,_config_stage.yml
24+
- name: Stage site on Firebase
25+
if: ${{
26+
github.event.pull_request.head.repo.full_name == github.repository &&
27+
github.event.pull_request.user.login != 'dependabot[bot]' }}
28+
uses: FirebaseExtended/action-hosting-deploy@4d0d0023f1d92b9b7d16dda64b3d7abd2c98974b
29+
with:
30+
repoToken: ${{ secrets.GITHUB_TOKEN }}
31+
firebaseServiceAccount: ${{ secrets.SERVICE_KEY }}
32+
expires: 14d
33+
projectId: flutter-docs-prod

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ node_modules
1818
.packages
1919
pubspec.lock
2020
tmp/
21-
_config_stage.yml

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ or the [flutter.dev website][doc-issues].
3636
Other ways you can contribute:
3737

3838
* [Ask HOW-TO questions that can be answered with specific solutions][so]
39-
* [Live chat with Flutter engineers and users][gitter]
39+
* [Live chat with Flutter engineers and users][chat]
4040
* [Discuss Flutter, best practices, app design, and more on our
4141
mailing list][mailinglist]
4242
* [Report bugs and request features][issues]
@@ -61,5 +61,5 @@ Happy Fluttering!
6161
[doc-PRs]: https://github.com/flutter/website/pulls
6262
[so]: https://stackoverflow.com/tags/flutter
6363
[mailinglist]: https://groups.google.com/d/forum/flutter-dev
64-
[gitter]: https://gitter.im/flutter/flutter
64+
[chat]: https://github.com/flutter/flutter/wiki/Chat
6565
[reddit]: https://www.reddit.com/r/FlutterDev

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.2-0-slim-bullseye@sha256:8fa9d24fc80b48ba9dd2223b4e8c8ffaa2fbc4d5f63e5f8028e5d047a3aa7b55 AS base
1+
FROM ruby:3.2-2-slim-bullseye@sha256:d8e5caa21b5ebc425828af1eb43a678afceaca80681cac26b457063a18488e10 AS base
22

33
ENV TZ=US/Pacific
44
RUN apt-get update && apt-get install -yq --no-install-recommends \
@@ -67,7 +67,7 @@ RUN apt-get update -q && apt-get install -yq --no-install-recommends \
6767
&& rm -rf /var/lib/apt/lists/*
6868

6969
# Install global Firebase CLI
70-
RUN npm install -g firebase-tools@11.16.0
70+
RUN npm install -g firebase-tools@11.27.0
7171

7272

7373

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org'
22

33
gem 'jekyll', '4.3.2'
4-
gem 'jekyll-sass-converter', '~> 2.2.0'
4+
gem 'jekyll-sass-converter', '~> 3.0.0'
55
gem 'webrick'
66

77
# Used for custom _plugins

0 commit comments

Comments
 (0)