Skip to content

docs(platform): fix section-overview links (README → overview.md)#146

Merged
tamalsaha merged 2 commits into
masterfrom
arnob-api-overview
Jul 14, 2026
Merged

docs(platform): fix section-overview links (README → overview.md)#146
tamalsaha merged 2 commits into
masterfrom
arnob-api-overview

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

Problem

The "Pages" links on every API section overview 404 on the live site (reported for multicluster-ocm, but affects all sections).

Root cause: each api/<section>/README.md overrides url: to the section root (/api/<section>/), one level shallower than a normal leaf page. The repo's intentional extra-../ link convention is calibrated for leaf pages at /api/<section>/<leaf>/, so a ../<leaf>.md link from a section-root page climbs to /api/<leaf>/ → 404.

Fix

Convert all API subsection READMEs to the proven working leaf pattern used by guides/*/overview.md:

  • README.mdoverview.md
  • drop the url: override and the aliases: block
  • rename menu identifier api-<section>-readmeapi-<section>-overview
  • body links unchanged — they now resolve correctly from /api/<section>/overview/

Section roots (/api/<section>/) now fall back to the empty _index.md auto-list, same as guides/*.

The top-level api/README.md stays the /api/ landing; its 18 numbered-table links are repointed ../api/<section>/../api/<section>/overview/ to land on the overview content.

Verification

  • All 18 table targets resolve to real overview.md files.
  • Every ../… body link in the converted overviews passes CI's strip-one-../ check (0 broken).
  • Structure now matches the proven guides overview pattern.

Each api/<section>/README.md overrode url: to the section root, one level
shallower than a leaf page. The repo's extra-../ link convention is calibrated
for leaf pages at /api/<section>/<leaf>/, so ../<leaf>.md links from a
section-root page climbed to /api/<leaf>/ and 404'd on the live site.

Convert all api subsection READMEs to the working leaf pattern used by
guides/*/overview.md: rename to overview.md, drop the url: override and the
aliases block, and rename the menu identifier -readme -> -overview. Section
roots now fall back to the empty _index.md, same as guides.

Repoint the top-level api/README.md numbered table from ../api/<section>/ to
../api/<section>/overview/ so it lands on the overview content.

Signed-off-by: Arnob kumar saha <arnob@appscode.com>

@tamalsaha tamalsaha left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why switch to the overview again?

Signed-off-by: Arnob kumar saha <arnob@appscode.com>
@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 2b73177):

https://kubedb-v2-hugo--pr146-arnob-api-overview-jwaobwsp.web.app

(expires Tue, 21 Jul 2026 12:50:36 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 0f29ae8ae0bd54a99bf2b223b6833be47acd5943

@tamalsaha
tamalsaha merged commit 6611704 into master Jul 14, 2026
6 checks passed
@tamalsaha
tamalsaha deleted the arnob-api-overview branch July 14, 2026 13:18
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.

2 participants