Skip to content

Commit f234d26

Browse files
guidezplparlough
andauthored
Clean up links to docs website (flutter#177792)
- remove link without use (PowerShell version minimum not reached, this is not mentionned anywhere in Windows installation / troubleshooting documentation) - clean up API docs root - clean up app template links, add `Learn Flutter` link - update get started links - replace `flutter.dev/docs` with `docs.flutter.dev` - fix embedder descriptions - fix broken API `docs.flutter.io` links - http → https - remove `/install` from `/get-started` links - fix Android Studio link ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [ ] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview [Tree Hygiene]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md [Features we expect every widget to implement]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md [Data Driven Fixes]: https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md --------- Co-authored-by: Parker Lougheed <parlough@gmail.com>
1 parent c567dc3 commit f234d26

File tree

50 files changed

+74
-83
lines changed

Some content is hidden

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

50 files changed

+74
-83
lines changed

.github/ISSUE_TEMPLATE/01_activation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body:
2222
value: |
2323
Before filling the form fields, please consider the following:
2424
- Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
25-
- Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
25+
- Read the [guide to filing a bug](https://docs.flutter.dev/resources/bug-reports)
2626
- type: textarea
2727
attributes:
2828
label: Steps to reproduce

.github/ISSUE_TEMPLATE/02_bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body:
1919
value: |
2020
Before filling the form fields, please consider the following:
2121
- Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
22-
- Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
22+
- Read the [guide to filing a bug](https://docs.flutter.dev/resources/bug-reports)
2323
- type: textarea
2424
attributes:
2525
label: Steps to reproduce

.github/ISSUE_TEMPLATE/03_feature_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
value: |
1818
Before filling the form fields, please consider the following:
1919
- Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
20-
- Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
20+
- Read the [guide to filing a bug](https://docs.flutter.dev/resources/bug-reports)
2121
- type: textarea
2222
attributes:
2323
label: Use case

.github/ISSUE_TEMPLATE/08_first_party_packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ body:
1818
value: |
1919
Before filling the form fields, please consider the following:
2020
- Ensure that you have searched the [existing package issues](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3Apackage)
21-
- Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
21+
- Read the [guide to filing a bug](https://docs.flutter.dev/resources/bug-reports)
2222
- type: dropdown
2323
id: packages
2424
attributes:

.github/ISSUE_TEMPLATE/10_google3_bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ body:
2121
value: |
2222
Before filling the form fields, please consider the following:
2323
- Ensure that you have searched the [existing issues](https://github.com/flutter/flutter/issues)
24-
- Read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports)
24+
- Read the [guide to filing a bug](https://docs.flutter.dev/resources/bug-reports)
2525
- type: markdown
2626
attributes:
2727
value: |

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ open source.
2222

2323
## Documentation
2424

25-
* [Install Flutter](https://flutter.dev/get-started/)
26-
* [Flutter documentation](https://docs.flutter.dev/)
25+
* [Install Flutter](https://docs.flutter.dev/get-started)
26+
* [Flutter documentation](https://docs.flutter.dev)
2727
* [Development wiki](./docs/README.md)
2828
* [Contributing to Flutter](https://github.com/flutter/flutter/blob/main/CONTRIBUTING.md)
2929

bin/internal/shared.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function shared::execute() {
237237
>&2 echo "Error: The Flutter directory is not a clone of the GitHub project."
238238
>&2 echo " The flutter tool requires Git in order to operate properly;"
239239
>&2 echo " to install Flutter, see the instructions at:"
240-
>&2 echo " https://flutter.dev/get-started"
240+
>&2 echo " https://docs.flutter.dev/get-started"
241241
exit 1
242242
fi
243243

bin/internal/update_dart_sdk.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ $psMajorVersionRequired = 5
3030
$psMajorVersionLocal = $PSVersionTable.PSVersion.Major
3131
if ($psMajorVersionLocal -lt $psMajorVersionRequired) {
3232
Write-Host "Flutter requires PowerShell $psMajorVersionRequired.0 or newer."
33-
Write-Host "See https://flutter.dev/docs/get-started/install/windows for more."
3433
Write-Host "Current version is $psMajorVersionLocal."
3534
# Use exit code 2 to signal that shared.bat should exit immediately instead of retrying.
3635
exit 2

dev/bots/analyze.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ class _DeprecationMessagesVisitor extends RecursiveAstVisitor<void> {
776776
_addErrorWithLineInfo(
777777
versionLiteral,
778778
error:
779-
'Deprecation notice does not accurately indicate a beta branch version number; please see https://flutter.dev/docs/development/tools/sdk/releases to find the latest beta build version number.',
779+
'Deprecation notice does not accurately indicate a beta branch version number; please see https://docs.flutter.dev/install/archive to find the latest beta build version number.',
780780
);
781781
return;
782782
}

dev/bots/test/analyze-test-input/root/packages/foo/deprecation.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ void test8() { }
4949

5050
@Deprecated(
5151
'Version number test (should fail). '
52-
'This feature was deprecated after v1.20.0.' // ERROR: Deprecation notice does not accurately indicate a beta branch version number; please see https://flutter.dev/docs/development/tools/sdk/releases to find the latest beta build version number.
52+
'This feature was deprecated after v1.20.0.' // ERROR: Deprecation notice does not accurately indicate a beta branch version number; please see https://docs.flutter.dev/install/archive to find the latest beta build version number.
5353
)
5454
void test9() { }
5555

5656
@Deprecated(
5757
'Version number test (should fail). '
58-
'This feature was deprecated after v1.21.0.' // ERROR: Deprecation notice does not accurately indicate a beta branch version number; please see https://flutter.dev/docs/development/tools/sdk/releases to find the latest beta build version number.
58+
'This feature was deprecated after v1.21.0.' // ERROR: Deprecation notice does not accurately indicate a beta branch version number; please see https://docs.flutter.dev/install/archive to find the latest beta build version number.
5959
)
6060
void test10() { }
6161

0 commit comments

Comments
 (0)