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

Redirect old urls to the new locations

オープン
#18 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

Docusaurus client-redirects plugin のドキュメントから始め、存在する場合はリポジトリのリダイレクト設定を調査します。payload にはファイルもテストも指定されていません。選択したアプローチによって、GitHub Pages 上の古い .html 検索結果 URL が維持され、新しい場所にリダイレクトされることを確認します。

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

説明

All search results are now broken with the new Docusaurus based site :/

Docusaurus seems to have rudimentary support for redirects, but after trying various things I have only been able to get it to redirect a directory. It won't redirect .html pages. The plugin is here:
https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects

and I've tried plain redirects and using the createRedirects function with no success. It seems to want to create a directory named for the from path and drop an index.html file inside of that instead of just writing it to the file.

Redirecting just the directories isn't very helpful since the old pages were all named with .html extensions.

Their recommended solution is to use server side redirects, but AFAIK that isn't available with github pages.

主要言語
Python
スター
5
フォーク
24
平均マージ
1時間 35分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

osbuild/osbuild.github.io のほかの issue

osbuild/osbuild.github.io の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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