Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bad redirection from `/docs/home`

オープン
#3,247 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
web-dev

調査の方向性

packages/typescriptlang-org/src/redirects/setupRedirects.ts を調査し、/docs/home.html と /docs/home からのリダイレクトを再現します。既存の veryOldRedirects エントリを、提案されたマッピングと比較します。これらのレガシー URL が無限のリダイレクトループや読み込みループなしに /docs/ に到達すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Page URL: https://www.typescriptlang.org/docs/home

Issue: I came across the link https://www.typescriptlang.org/docs/home.html which redirected to /docs/home however this has an infinite redirection/ loading issue.

I think a simple fix would be change the veryOldRedirects in packages/typescriptlang-org/src/redirects/setupRedirects.ts to be

const veryOldRedirects = {
  Playground: "/play/",
  Tutorial: "/docs",
  Handbook: "/docs",
  samples: "/docs",
  "/docs/home.html": "/docs/",
  "/playground": "/play/",
  "/docs/home": "/docs/",
}

but I'm not fully sure why /docs/home is broken to begin with. It seems to work locally, but the current veryOldRedirects also seems to work locally 🤷

主要言語
TypeScript
スター
2.6k
フォーク
1.5k
平均マージ
2日 12時間
マージ済み PR(30日)
8

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/TypeScript-Website のほかの issue

microsoft/TypeScript-Website の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。