Skip to content

docs(platform): consolidate API overview + section index into README#143

Merged
tamalsaha merged 2 commits into
masterfrom
docs/consolidate-api-overview-readme
Jul 14, 2026
Merged

docs(platform): consolidate API overview + section index into README#143
tamalsaha merged 2 commits into
masterfrom
docs/consolidate-api-overview-readme

Conversation

@tamalsaha

Copy link
Copy Markdown
Member

What

Consolidates the two near-duplicate landing pages that each API-group directory carried — _index.md (section intro + page list) and overview.md (endpoint tables) — into a single README.md per group.

Changes

Per API group (18 subdirectories):

  • README.md (new) — holds the merged content: group intro, endpoint tables, and a ## Pages nav list. Renders at the section root via url:, and aliases the old .../overview/ URL so existing links keep resolving.
  • _index.md — reduced to frontmatter only (section/menu metadata).
  • overview.md — removed (superseded by README.md).

Top-level api/:

  • Folds the High-Level Design overview.md into the existing API Reference README.md, deduplicating the Authentication and API Groups sections into one each, and fixing image/cross-link paths to the README's link base.
  • Aliases the .../api/overview/ URL.
  • Removes overview.md.

Notes

  • Net: 19 overview.md removed, 19 README.md (18 new + top-level updated), 19 _index.md retained (frontmatter-only for subdirs). No dangling references to overview.md/_index.md remain in the tree.
  • Only the source repo tree (docs/platform/api/) is touched; the generated kubedb.dev/website copy is not part of this PR.

Each API group directory carried two near-duplicate landing pages: an
_index.md (section intro + page list) and an overview.md (endpoint tables).
Merge them into a single README.md per group:

- README.md now holds the merged content (intro, endpoint tables, page
  list); it renders at the section root via `url:` and aliases the old
  `.../overview/` URL so existing links keep working.
- _index.md is reduced to frontmatter only (section/menu metadata).
- overview.md is removed (superseded by README.md).

At the top level, the High-Level Design overview is folded into the API
Reference README, deduplicating the Authentication and API Groups sections
into one, and the `.../api/overview/` URL is aliased.

Signed-off-by: Tamal Saha <tamal@appscode.com>
kodiak-appscode[bot]
kodiak-appscode Bot previously approved these changes Jul 14, 2026
@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 714368f):

https://kubedb-v2-hugo--pr143-docs-consolidate-api-fkxo5lpz.web.app

(expires Tue, 21 Jul 2026 08:43:29 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 0f29ae8ae0bd54a99bf2b223b6833be47acd5943

The sidebar partial (menu/group.html) skips a group's child menu entries
whose weight is -1 (that value marks a section-landing headline). The
consolidated per-group README.md pages were created with weight -1, so
they disappeared from the left column instead of appearing as "Overview".

Give the 18 per-group READMEs a positive weight (1) so they render as the
first "Overview" link under each group, matching the old overview.md
behavior. The top-level README stays weight -1 (it is a direct section
child rendered by menu/leaf.html, which does show it, as the section
headline).

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha
tamalsaha merged commit b72eb22 into master Jul 14, 2026
6 checks passed
@tamalsaha
tamalsaha deleted the docs/consolidate-api-overview-readme branch July 14, 2026 08:57
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