Skip to content

Commit

Permalink
Redirect gh-pages homepage to dart.dev (#4507)
Browse files Browse the repository at this point in the history
* Redirect gh-pages homepage to dart.dev

* Adjust text to point to dart.dev as fallback

* Add back redirects
  • Loading branch information
parlough authored Jun 28, 2023
1 parent 870a106 commit 50b6143
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="refresh" content="0; url=https://dart.dev/lints">
<link rel="canonical" href="https://dart.dev/lints">
<link rel="stylesheet" href="styles.css">
<title>Linter for Dart</title>
</head>
Expand All @@ -15,10 +17,10 @@
<h1>Linter for Dart</h1>
<p>Style linter for Dart</p>
<ul>
<li><a href="lints/index.html">View all <strong>Lint Rules</strong></a></li>
<li><a href="https://dart.dev/lints">View all <strong>Lint Rules</strong></a></li>
<li><a href="https://dart.dev/guides/language/analysis-options#enabling-linter-rules">Using the <strong>Linter</strong></a></li>
</ul>
<p><a class="overflow-link" href="lints/index.html">View all <strong>Lint Rules</strong></a></p>
<p><a class="overflow-link" href="https://dart.dev/lints">View all <strong>Lint Rules</strong></a></p>
<p><a class="overflow-link" href="https://dart.dev/guides/language/analysis-options#enabling-linter-rules">Using the <strong>Linter</strong></a></p>
</header>
<section>
Expand All @@ -27,28 +29,12 @@ <h1>
Linter for Dart
</h1>

<h2>The content on this site has moved</h2>
<p>
A Dart style linter which defines lint rules that identify and report on "lints" found within Dart code.
Linting is performed by the Dart analysis server and the <code>dart analyze</code> command.
To find up-to-date information about the Dart linter
and its various linter rules,
visit <a href="https://dart.dev/lints">dart.dev</a>.
</p>

<h2>
<a id="contributing" class="anchor" href="#contributing" aria-hidden="true"></a>
Contributing
</h2>

<p>
Contributions welcome! Please read the
<a href="https://github.com/dart-lang/linter/blob/master/CONTRIBUTING.md">
contribution guidelines</a>.</p>

<h2>
<a id="features-and-bugs" class="anchor" href="#features-and-bugs" aria-hidden="true"></a>
Features and bugs
</h2>

<p>Please file feature requests and bugs on the
<a href="https://github.com/dart-lang/linter/issues">issue tracker</a>.</p>
</section>
</div>
<footer>
Expand Down

0 comments on commit 50b6143

Please sign in to comment.