Skip to content

HDDS-14663. [Docs] Fix broken links#351

Open
jojochuang wants to merge 4 commits intoapache:masterfrom
jojochuang:HDDS-14663
Open

HDDS-14663. [Docs] Fix broken links#351
jojochuang wants to merge 4 commits intoapache:masterfrom
jojochuang:HDDS-14663

Conversation

@jojochuang
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

HDDS-14663. [Docs] Fix broken links

Please describe your PR in detail:

  • bring back https://ozone.apache.org/docs/edge
  • additionally, rename download.md to downloads.md, release-notes directory to release.
  • Finally, fix the pdf link in the DiDi blog post.

What is the link to the Apache Jira?

https://issues.apache.org/jira/browse/HDDS-14663

How was this patch tested?

Please explain how this patch was tested. In most cases this will just be checking the local preview of the website, but existing CI checks should also pass.

@jojochuang jojochuang marked this pull request as ready for review February 20, 2026 01:23
@jojochuang jojochuang requested a review from smengcl March 10, 2026 22:36
@smengcl
Copy link
Copy Markdown
Contributor

smengcl commented Mar 31, 2026

Is this still needed?

@jojochuang
Copy link
Copy Markdown
Contributor Author

@smengcl yes let me update this PR.

@jojochuang
Copy link
Copy Markdown
Contributor Author

I'll have to redo this again. A lot of change went in that breaks this one.

Copy link
Copy Markdown

@chihsuan chihsuan left a comment

Choose a reason for hiding this comment

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

Hi @jojochuang 👋 I'm jumping in to help review this PR. promptly. Hope that's helpful so we can get the fix merged —please feel free to disregard if not needed. 🙏

I was reading through and ran the branch locally. Sharing a couple of observations:

docusaurus / build-website CI is failing

The issue seems to be that src/pages/index.jsx:464 still links to /download, which I think 404s after the rename to /downloads. I can reproduce the issue locally with pnpm build and verified that updating it would fix the issue.

Something I noticed when testing pnpm build && pnpm serve

The entry page /docs/edge and 2-level pages like /docs/edge/start rendered without styles for me; deeper pages were fine. See the recording below. Looked like Hugo's relative paths combined with serve-handler's cleanUrls and a missing trailing-slash redirect.

My best guess is that this is a local-only artifact, and that Apache HTTPD in production handles it correctly (its defaults are the opposite), so the site likely works as deployed. Not raising it as a blocker — just wanted to mention what I saw in case it's useful context.

Screen.Recording.2026-04-29.at.9.38.46.PM.mov

Comment thread docusaurus.config.js
},
{
to: 'download',
to: 'downloads',
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This renaming creates new broken external links for anything that's bookmarked or indexed, pointing to the old paths.

/release-notes/* renaming will also likely 404 after the rename. Was a redirect considered (e.g. via @docusaurus/plugin-client-redirects)?

sidebar_label: Release Notes
---

This page contains the release notes for Apache Ozone. Please navigate to the specific version to view its release notes.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I've noticed that when visiting this page, we aren't able to navigate directly to a specific version. Was this an intentional design choice?

Perhaps we should add a version list (for example: - Apache Ozone 2.1.0 — 2025-12-31...). Alternatively, linking prominently to the /downloads page might be helpful. Since the Downloads table already lists each version with its corresponding release notes link, this page wouldn't need to repeat that information or require updates with each new release. Just share a few thoughts.

Image

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.

3 participants