Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ignore] Updates links and references for repo rename #5492

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Fixes <Replace with issue link>
<details>
<summary>Contribution guidelines:</summary><br>

- See our [contributor guide](https://github.com/dart-lang/site-www/blob/main/CONTRIBUTING.md) for general expectations for PRs.
- See our [contributor guide](https://github.com/dart-lang/website/blob/main/CONTRIBUTING.md) for general expectations for PRs.
- Larger or significant changes should be discussed in an issue before creating a PR.
- Code changes should generally follow the [Dart style guide](https://dart.dev/effective-dart) and use `dart format`.
- Updates to [code excerpts](https://github.com/dart-lang/site-shared/blob/main/doc/code-excerpts.md) indicated by `<?code-excerpt` need to be updated in their source `.dart` file as well.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.repository == 'dart-lang/site-www'
if: github.repository == 'dart-lang/website'
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/no-response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
noResponse:
runs-on: ubuntu-latest
if: ${{ github.repository == 'dart-lang/site-www' }}
if: ${{ github.repository == 'dart-lang/website' }}
steps:
- uses: godofredoc/no-response@0ce2dc0e63e1c7d2b87752ceed091f6d32c9df09
with:
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ More info:
[GitHub pull request]: https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
[Google Developer Documentation Style Guide]: https://developers.google.com/style/
[in the site-shared repo]: https://github.com/dart-lang/site-shared/blob/main/doc
[issue tracker]: https://github.com/dart-lang/site-www/issues
[issue tracker]: https://github.com/dart-lang/website/issues
[on Flutter's Discord server]: https://github.com/flutter/flutter/wiki/Chat
[Report issues]: https://github.com/dart-lang/site-www/issues/new/choose
[Report issues]: https://github.com/dart-lang/website/issues/new/choose
[semantic line breaks]: https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks
[sign the CLA]: https://developers.google.com/open-source/cla/individual
[www]: https://dart.dev
Expand Down Expand Up @@ -82,8 +82,8 @@ you can instead run `dart run dart_site refresh-excerpts`
from the root directory of the repository to update the Markdown files.

[GitHub Actions]: https://docs.github.com/actions/learn-github-actions/understanding-github-actions
[`/src/language/variables.md`]: https://github.com/dart-lang/site-www/blob/main/src/language/variables.md
[`/examples/misc/lib/language_tour/variables.dart`]: https://github.com/dart-lang/site-www/blob/main/examples/misc/lib/language_tour/variables.dart
[`/src/language/variables.md`]: https://github.com/dart-lang/website/blob/main/src/language/variables.md
[`/examples/misc/lib/language_tour/variables.dart`]: https://github.com/dart-lang/website/blob/main/examples/misc/lib/language_tour/variables.dart

## A word about conduct

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ check out the [Contributing guidelines](CONTRIBUTING.md).

## Getting started

Start by looking for an [issue](https://github.com/dart-lang/site-www/issues)
Start by looking for an [issue](https://github.com/dart-lang/website/issues)
that catches your interest, or create an issue with your proposed change.
Consider adding a comment to let everyone know that you're working on it, and
feel free to ask any questions you have on the same issue.
Expand Down Expand Up @@ -99,7 +99,7 @@ _choose one_ of the following submodule-cloning techniques:
using the `--recurse-submodules` option:

```terminal
git clone --recurse-submodules https://github.com/dart-lang/site-www.git
git clone --recurse-submodules https://github.com/dart-lang/website.git
```

2. If you've already cloned the repo without its submodule,
Expand Down Expand Up @@ -258,11 +258,11 @@ you can build a full version and upload it to Firebase.
so that reviewers know if any further changes have been made.


[Build Status SVG]: https://github.com/dart-lang/site-www/workflows/build/badge.svg
[OpenSSF Scorecard SVG]: https://api.securityscorecards.dev/projects/github.com/dart-lang/site-www/badge
[Scorecard Results]: https://deps.dev/project/github/dart-lang%2Fsite-www
[Build Status SVG]: https://github.com/dart-lang/website/workflows/build/badge.svg
[OpenSSF Scorecard SVG]: https://api.securityscorecards.dev/projects/github.com/dart-lang/website/badge
[Scorecard Results]: https://securityscorecards.dev/viewer/?platform=github.com&org=dart-lang&repo=website
[cloning]: https://docs.github.com/repositories/creating-and-managing-repositories/cloning-a-repository
[Eleventy]: https://www.11ty.dev/
[Firebase]: https://firebase.google.com/
[forking]: https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo
[Repo on GitHub Actions]: https://github.com/dart-lang/site-www/actions?query=workflow%3Abuild+branch%3Amain
[Repo on GitHub Actions]: https://github.com/dart-lang/website/actions?query=workflow%3Abuild+branch%3Amain
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The example code in this folder is organized following the conventions
documented in the [Examples][] page of the [site-shared docs][]. Consult that
page for general information about project file organization, testing, [CI][],
and more. Site-www specific information is given below.
and more. `dart-lang/website` specific information is given below.

## How do I run the analyzer on an example?

Expand Down
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
{ "source": "/guides/language/library-tour", "destination": "/libraries", "type": 301 },
{ "source": "/guides/language/sound-dart", "destination": "/language/type-system", "type": 301 },
{ "source": "/guides/language/sound-faq", "destination": "/language/type-system", "type": 301 },
{ "source": "/guides/language/specifications/DartLangSpec-v2.2.pdf", "destination": "https://github.com/dart-lang/site-www/blob/a7f170389e210adc2aef810cc9a6fdbfa78059a5/src/guides/language/specifications/DartLangSpec-v2.2.pdf", "type": 301 },
{ "source": "/guides/language/specifications/DartLangSpec-v2.2.pdf", "destination": "https://github.com/dart-lang/website/blob/a7f170389e210adc2aef810cc9a6fdbfa78059a5/src/guides/language/specifications/DartLangSpec-v2.2.pdf", "type": 301 },
{ "source": "/guides/language/type-system", "destination": "/language/type-system", "type": 301 },
{ "source": "/guides/libraries", "destination": "/libraries", "type": 301 },
{ "source": "/guides/libraries/create-library-packages", "destination": "/guides/libraries/create-packages", "type": 301 },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/dart-lang/site-www.git"
"url": "https://github.com/dart-lang/website.git"
},
"scripts": {
"serve": "PRODUCTION=false eleventy --serve",
Expand Down
4 changes: 2 additions & 2 deletions src/_data/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >-
Dart is a client-optimized language for developing fast apps on any platform.
url: https://dart.dev
repo:
this: https://github.com/dart-lang/site-www
this: https://github.com/dart-lang/website
shared: https://github.com/dart-lang/site-shared
branch: main

Expand All @@ -25,7 +25,7 @@ gh-dart:
org: https://github.com/dart-lang
sdk: https://github.com/dart-lang/sdk
lang: https://github.com/dart-lang/language
site: https://github.com/dart-lang/site-www
site: https://github.com/dart-lang/website
android-dev: https://developer.android.com
apple-dev: https://developer.apple.com

Expand Down
2 changes: 1 addition & 1 deletion src/content/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2>Page not found</h2>
Click your browser's Back button or
return to the <a href="/">homepage</a>. <br />
If you think the URL should work, please
<a href="https://github.com/dart-lang/site-www/issues/new?title=Bad%20URL&body=URL%3A%20%0AExpected%20page%3A%20"
<a href="https://github.com/dart-lang/website/issues/new?title=Bad%20URL&body=URL%3A%20%0AExpected%20page%3A%20"
target="_blank" rel="noopener">create an issue.</a>
</p>
</div>
4 changes: 2 additions & 2 deletions src/content/articles/libraries/creating-streams.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ This code creates a stream to return,
and then feeds data into it based on timer events,
which are neither futures nor stream events.

[stream_controller_bad.dart]: https://github.com/dart-lang/site-www/blob/main/examples/misc/lib/articles/creating-streams/stream_controller_bad.dart
[stream_controller_bad.dart]: https://github.com/dart-lang/website/blob/main/examples/misc/lib/articles/creating-streams/stream_controller_bad.dart

<?code-excerpt "misc/lib/articles/creating-streams/stream_controller_bad.dart (flawed stream)"?>
```dart tag=bad
Expand Down Expand Up @@ -366,7 +366,7 @@ implements pause by using the
`onListen`, `onPause`, `onResume`, and `onCancel` callbacks
on the `StreamController`.

[stream_controller.dart]: https://github.com/dart-lang/site-www/blob/main/examples/misc/lib/articles/creating-streams/stream_controller.dart
[stream_controller.dart]: https://github.com/dart-lang/website/blob/main/examples/misc/lib/articles/creating-streams/stream_controller.dart

<?code-excerpt "misc/lib/articles/creating-streams/stream_controller.dart (better stream)"?>
```dart
Expand Down
2 changes: 1 addition & 1 deletion src/content/codelabs/null-safety.md
Original file line number Diff line number Diff line change
Expand Up @@ -551,4 +551,4 @@ To learn more, check out some suggestions for where to go next:
* [Deep dive into understanding null safety](/null-safety/understanding-null-safety).
* If you want to improve this codelab, check out [issue #3093][].

[issue #3093]: https://github.com/dart-lang/site-www/issues/3093
[issue #3093]: https://github.com/dart-lang/website/issues/3093
4 changes: 2 additions & 2 deletions src/content/community/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Learn how to
([issue tracker](https://github.com/dart-lang/sdk/issues/))
* [The Dart Language](https://github.com/dart-lang/language)
([issue tracker](https://github.com/dart-lang/language/issues))
* [This site](https://github.com/dart-lang/site-www/)
([issue tracker](https://github.com/dart-lang/site-www/issues/))
* [This site](https://github.com/dart-lang/website/)
([issue tracker](https://github.com/dart-lang/website/issues/))

[Dart reviews]({{group}}/d/forum/reviews)
: High-traffic list of all core SDK code reviews.
Expand Down
2 changes: 1 addition & 1 deletion src/content/community/who-uses-dart.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ as described in [this announcement.][flutter-io19]
[flutter-io19]: https://developers.googleblog.com/2019/05/Flutter-io19.html

{% comment %}
[IDEAS FOR IMPROVEMENT: https://github.com/dart-lang/site-www/issues/679]
[IDEAS FOR IMPROVEMENT: https://github.com/dart-lang/website/issues/679]
{% endcomment %}
4 changes: 2 additions & 2 deletions src/content/guides/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ we made the following changes to this site:
[Extension methods]: /language/extension-methods
[Objective-C]: /interop/objective-c-interop#callbacks-and-multithreading-limitations
[Metadata]: /language/metadata
[move away from using Jekyll]: https://github.com/dart-lang/site-www/issues/5177
[move away from using Jekyll]: https://github.com/dart-lang/website/issues/5177

## August 16, 2023: 3.1 release

Expand Down Expand Up @@ -547,7 +547,7 @@ we made the following changes to this site:
[PREFER using interpolation to compose strings and values][]
Effective Dart guideline.

[updated the website infrastructure]: https://github.com/dart-lang/site-www/pull/3765
[updated the website infrastructure]: https://github.com/dart-lang/website/pull/3765
[easier contributions]: {{site.repo.this}}#getting-started
[`dart doc`]: /tools/dart-doc
[`platform` entry]: /tools/pub/pubspec#platforms
Expand Down
2 changes: 1 addition & 1 deletion src/content/interop/c-interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The hello_world example has the following files:

{% comment %}
[PENDING: say something about other files, like setup.sh?]
[TODO (https://github.com/dart-lang/site-www/issues/2219): Fix build instructions.]
[TODO (https://github.com/dart-lang/website/issues/2219): Fix build instructions.]
{% endcomment %}

Building the C library creates several files,
Expand Down
2 changes: 1 addition & 1 deletion src/content/language/extension-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ extension MyFancyList<T> on List<T> {
The type `T` is bound based on the static type of the list that
the methods are called on.
{% comment %}
TODO (https://github.com/dart-lang/site-www/issues/2171):
TODO (https://github.com/dart-lang/website/issues/2171):
Add more info about generic extensions.
For example, in the following code, `T` is `PENDING` because PENDING:

Expand Down
2 changes: 1 addition & 1 deletion src/content/language/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ the expression `e1 != e2` is syntactic sugar for `!(e1 == e2)`.
:::

{%- comment %}
Internal note from https://github.com/dart-lang/site-www/pull/2691#discussion_r506184100:
Internal note from https://github.com/dart-lang/website/pull/2691#discussion_r506184100:
- `??`, `&&` and `||` are excluded because they are lazy / short-circuiting operators
- `!` is probably excluded for historical reasons
{% endcomment %}
Expand Down
2 changes: 1 addition & 1 deletion src/content/resources/books.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This page covers a collection of books about the Dart language.
Many [Flutter books](https://flutter.dev/docs/resources/books)
also cover Dart.
If you find another Dart book that might be helpful,
[let us know.](https://github.com/dart-lang/site-www/issues)
[let us know.](https://github.com/dart-lang/website/issues)

:::warning
If you find a Dart book not listed on this page,
Expand Down
2 changes: 1 addition & 1 deletion src/content/resources/videos.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dart-playlist-id: PLjxrf2q8roU0Net_g1NT5_vOO3s_FR02J
Here are some videos about the Dart language and core libraries.
For more videos, see the [Flutter video page.]({{site.flutter-docs}}/resources/videos)
If you'd like other videos to be listed on this page,
[let us know.](https://github.com/dart-lang/site-www/issues)
[let us know.](https://github.com/dart-lang/website/issues)

{% comment %}
TODO: If the list of videos grows, consider automating this like book.md.
Expand Down
2 changes: 1 addition & 1 deletion src/content/tools/dart-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To control which tests run, you can add the paths to
directories or files under the `test` directory:

{% comment %}
I ran these commands in site-www/misc
I ran these commands in /examples/misc
{% endcomment %}

```console
Expand Down
2 changes: 1 addition & 1 deletion src/content/tools/diagnostic-messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body_class: highlight-diagnostics
{%- comment %}
WARNING: Do NOT EDIT this file directly. It is autogenerated by the script in
`pkg/analyzer/tool/diagnostics/generate.dart` in the sdk repository.
Update instructions: https://github.com/dart-lang/site-www/issues/1949
Update instructions: https://github.com/dart-lang/website/issues/1949
{% endcomment -%}

This page lists diagnostic messages produced by the Dart analyzer,
Expand Down
2 changes: 1 addition & 1 deletion src/content/tools/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ version [{{site.sdkInfo.version}}][site SDK version] of the **Dart SDK**.
{% comment %}
IMPORTANT: After each release, EDIT src/_data/pkg-vers.json
to update the SDK version number.
More info: https://github.com/dart-lang/site-www/wiki/Updating-to-new-SDK-releases
More info: https://github.com/dart-lang/website/wiki/Updating-to-new-SDK-releases
{% endcomment %}

## What's in the Dart SDK
Expand Down
4 changes: 2 additions & 2 deletions tool/config/linkcheck-skip-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ https://github.com
https://twitter.com

# FIXME(Temporary): linkcheck seems to be intermittently failing when accessing main.css
# https://github.com/dart-lang/site-www/issues/1107
# https://github.com/dart-lang/website/issues/1107
/assets/css/main.css

fonts.gstatic.com
fonts.googleapis.com

github.com/dart-lang/site-www/issues/new
github.com/dart-lang/website/issues/new

# Redirects from firebase.json
/jobs
Expand Down