Skip to content

Fix documentation redirects for removed getting-started pages#18789

Merged
harupy merged 9 commits intomasterfrom
copilot/fix-documentation-redirects
Nov 13, 2025
Merged

Fix documentation redirects for removed getting-started pages#18789
harupy merged 9 commits intomasterfrom
copilot/fix-documentation-redirects

Conversation

Copy link
Contributor

Copilot AI commented Nov 12, 2025

Related Issues/PRs

Fixes redirects broken by #18379

What changes are proposed in this pull request?

PR #18379 removed getting-started tutorial pages but only added redirects for /getting-started/* paths. The pages were also accessible via /ml/getting-started/* paths (because the classic-ml plugin uses routeBasePath: 'ml'), which now return 404 errors.

This PR adds the missing /ml/* redirects so both path formats work correctly.

How is this PR tested?

  • Manual tests - Verified npm run build succeeds
  • Confirmed all removed page paths have redirects

Does this PR require documentation update?

  • No. You can skip the rest of this section.

Release Notes

Is this a user-facing change?

  • Yes. Give a description of this change to be included in the release notes for MLflow users.

Fixes broken documentation redirects for getting-started tutorial pages that were returning 404 errors after recent restructuring.

What component(s), interfaces, languages, and integrations does this PR affect?

Components

  • area/docs: MLflow documentation pages

How should the PR be classified in the release notes? Choose one:

  • rn/bug-fix - A user-facing bug fix worth mentioning in the release notes

Should this PR be included in the next patch release?

  • Yes (this PR will be cherry-picked and included in the next patch release)

Copilot AI and others added 2 commits November 12, 2025 00:21
Co-authored-by: harupy <17039389+harupy@users.noreply.github.com>
Co-authored-by: harupy <17039389+harupy@users.noreply.github.com>
@harupy harupy marked this pull request as ready for review November 12, 2025 00:30
@harupy harupy added the rn/none List under Small Changes in Changelogs. label Nov 12, 2025
@github-actions
Copy link
Contributor

@Copilot Thank you for the contribution! Could you fix the following issue(s)?

⚠ Invalid PR template

This PR does not appear to have been filed using the MLflow PR template. Please copy the PR template from here and fill it out.

Co-authored-by: harupy <17039389+harupy@users.noreply.github.com>
@harupy harupy requested a review from B-Step62 November 12, 2025 00:32
Copilot AI changed the title [WIP] Fix documentation links and maintain old redirects Fix documentation redirects for removed getting-started pages Nov 12, 2025
Copilot AI requested a review from harupy November 12, 2025 00:34
@github-actions github-actions bot added area/docs Documentation issues rn/bug-fix Mention under Bug Fixes in Changelogs. labels Nov 12, 2025
Copy link
Collaborator

@WeichenXu123 WeichenXu123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except one comment

Co-authored-by: harupy <17039389+harupy@users.noreply.github.com>
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
harupy and others added 2 commits November 12, 2025 15:08
Signed-off-by: Harutaka Kawamura <hkawamura0130@gmail.com>
- Remove unused createRedirectsWithPrefixes helper function
- Add redirects for both /getting-started/* and /ml/getting-started/* paths
- Ensures all removed pages from PR #18379 have proper redirects
- Fixes build error caused by redirect conflicts

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
@github-actions
Copy link
Contributor

Documentation preview for 43785cc is available at:

More info
  • Ignore this comment if this PR does not change the documentation.
  • The preview is updated when a new commit is pushed to this PR.
  • This comment was created by this workflow run.
  • The documentation was built by this workflow run.

Copy link
Collaborator

@daniellok-db daniellok-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@harupy harupy added this pull request to the merge queue Nov 13, 2025
Merged via the queue into master with commit f9feb84 Nov 13, 2025
54 of 57 checks passed
@harupy harupy deleted the copilot/fix-documentation-redirects branch November 13, 2025 02:20
Tian-Sky-Lan pushed a commit to Tian-Sky-Lan/mlflow that referenced this pull request Nov 24, 2025
…#18789)

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
Signed-off-by: Harutaka Kawamura <hkawamura0130@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: harupy <17039389+harupy@users.noreply.github.com>
Co-authored-by: Harutaka Kawamura <hkawamura0130@gmail.com>
Signed-off-by: Tian Lan <sky.blue266000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Documentation issues rn/bug-fix Mention under Bug Fixes in Changelogs. rn/none List under Small Changes in Changelogs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants