Skip to content

Conversation

@lacolaco
Copy link
Collaborator

概要

未翻訳ドキュメント一覧Issueのプレビュー URL生成ロジックにバグがあったため修正しました。

問題

チュートリアルのプレビューURLが誤った形式で生成されていました:

誤り:

  • tutorials/first-app/intro/README.mdhttps://angular.jp/tutorials/first-app/intro
  • tutorials/first-app/steps/01-hello-world/README.mdhttps://angular.jp/tutorials/first-app/steps/01-hello-world

正しいURL:

  • tutorials/first-app/intro/README.mdhttps://angular.jp/tutorials/first-app
  • tutorials/first-app/steps/01-hello-world/README.mdhttps://angular.jp/tutorials/first-app/01-hello-world

修正内容

チュートリアルパス(tutorials/ で始まる)の場合のみ、以下の変換を適用:

  • /intro ディレクトリを削除
  • /steps// に置換

通常のガイドなど他のコンテンツには影響しません。

テスト

 tutorials/first-app/intro/README.md  https://angular.jp/tutorials/first-app
 tutorials/first-app/steps/01-hello-world/README.md  https://angular.jp/tutorials/first-app/01-hello-world
 guide/routing/customizing-route-behavior.md  https://angular.jp/guide/routing/customizing-route-behavior

@lacolaco lacolaco force-pushed the fix/tutorial-preview-url branch from 4631604 to 3b4f363 Compare November 21, 2025 12:00
@lacolaco lacolaco force-pushed the fix/tutorial-preview-url branch from 3b4f363 to 17aab8d Compare November 21, 2025 12:01
@lacolaco lacolaco merged commit aac3960 into angular:main Nov 21, 2025
5 checks passed
@lacolaco lacolaco deleted the fix/tutorial-preview-url branch November 21, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant