Skip to content

feat(nav): wire generated SDK API references into SDKs tab#17

Merged
WomB0ComB0 merged 2 commits intomainfrom
feat/sdks-api-nav
May 9, 2026
Merged

feat(nav): wire generated SDK API references into SDKs tab#17
WomB0ComB0 merged 2 commits intomainfrom
feat/sdks-api-nav

Conversation

@WomB0ComB0
Copy link
Copy Markdown
Member

@WomB0ComB0 WomB0ComB0 commented May 9, 2026

Summary

Adds a Generated API reference group under the SDKs tab pointing at the entry pages of the auto-generated TypeDoc and DefaultDocumentation trees:

Why now

Both api-docs workflows are landing real content on every release tag, but the generated trees were unreachable from site nav (docs.resq.software/sdks/typescript/api returned 404 even though the files existed). One nav entry per language is enough because the README in each tree links out to every per-component / per-type page.

Why a single entry vs full nested nav

Mintlify's directory property is a display option (accordion / card / none) for index pages, not auto-discovery. Listing 3,500+ TypeScript pages and several hundred .NET pages in docs.json would be churn on every release. The single-entry approach lets users land at the README and click through; full programmatic nav splice (consume the _pages.json artifacts the workflows already emit) is a worthwhile follow-up but real engineering.

Test plan

  • Merge.
  • Confirm the Generated API reference group appears in the SDKs tab.
  • Click into each entry; confirm the README renders and outbound links resolve.
  • mintlify (broken links) should stay green (the README contents have already passed it on the auto-PRs).

Summary by CodeRabbit

  • Documentation
    • Added a new "Generated API reference" section to the SDK documentation navigation, featuring API documentation for TypeScript and .NET SDKs.

Adds a "Generated API reference" group under the SDKs tab
pointing at the entry pages of the auto-generated TypeDoc and
DefaultDocumentation trees:

- sdks/typescript/api/README — @resq-sw/ui surface
- sdks/dotnet/api/README — six packable .NET projects

The READMEs link out to per-component / per-type pages so a
single nav entry per language is enough; the api-docs workflows
already keep the file tree in sync on every release tag.
@github-actions github-actions Bot added area:content MDX/MD documentation content area:meta Repo meta — docs.json, README, etc. labels May 9, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 9, 2026

Review Change Stack

Warning

Rate limit exceeded

@WomB0ComB0 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 56 minutes and 1 second before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b9b50cf1-ce5a-486d-ba18-bdd84e064680

📥 Commits

Reviewing files that changed from the base of the PR and between 5b31592 and 796e3e5.

📒 Files selected for processing (1)
  • docs.json
📝 Walkthrough

Walkthrough

Updated docs.json navigation configuration to add a new "Generated API reference" group under the English SDKs section. This group includes documentation links for the generated API READMEs for TypeScript and .NET SDKs.

Changes

Documentation Navigation Configuration

Layer / File(s) Summary
SDKs Navigation Configuration
docs.json
Added a new "Generated API reference" group under the English SDKs section, linking to sdks/typescript/api/README and sdks/dotnet/api/README.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • resq-software/docs#10: Modifies the same docs.json navigation configuration; the retrieved PR rewrites the navigation structure while this PR adds entries to the English SDKs section.
  • resq-software/docs#15: The retrieved PR adds a workflow that generates and syncs the dotnet API Markdown into sdks/dotnet/api, which complements this PR's navigation entries.

Suggested labels

area:content

Poem

🐰 The SDKs take flight with freshly placed links,
API reference docs, formatted just right—
Hop through the TypeScript, and .NET winks,
Navigation so neat, a documentation delight! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat(nav): wire generated SDK API references into SDKs tab' accurately summarizes the main change: adding a new navigation group for generated API references in the SDKs section.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/sdks-api-nav

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a new 'Generated API reference' section to the documentation configuration, linking the TypeScript and .NET SDK API READMEs. The reviewer suggested using explicit labels for the navigation items to ensure consistency with other language groups and recommended changing the group title to Title Case for better alignment with existing documentation patterns.

Comment thread docs.json Outdated
* Capitalize "Generated API Reference" to match the convention
  used by sibling groups like "Infrastructure API".
* Wrap each language entry in its own group so the sidebar label
  is "TypeScript" / ".NET" rather than the README's H1
  ("@resq-sw/ui" / "ResQ .NET SDK"). Uses standard Mintlify
  nested-group syntax instead of the {page, label} shape from
  the suggestion, which is not part of Mintlify's docs.json
  schema.
@WomB0ComB0 WomB0ComB0 merged commit eedd30a into main May 9, 2026
12 checks passed
@WomB0ComB0 WomB0ComB0 deleted the feat/sdks-api-nav branch May 9, 2026 05:34
WomB0ComB0 pushed a commit that referenced this pull request May 9, 2026
Mintlify's nav resolver only matches .mdx for page ids in
docs.json. Without renaming the three nav-registered SDK
READMEs, mint dev warns:
  "sdks/<lang>/api/README" is referenced in the docs.json
  navigation but the file does not exist.

Scope is limited to the three top-level entry pages:
- sdks/typescript/api/README.md -> .mdx
- sdks/dotnet/api/README.md     -> .mdx
- sdks/python/api/README.md     -> .mdx

Submodule pages (per-component, per-class, per-module .md
files in the auto-generated trees) stay as .md. Mintlify treats
in-content (path.md) links as page references and resolves them
against on-disk files; explicit .mdx in those links would be
treated as static-asset references and trip broken-links. Only
the nav-registered files need to be .mdx.

Also add a Python entry under "Generated API Reference" so the
Python tree is reachable from the SDKs tab the same way
TypeScript and .NET are. PR #17 added TS and .NET; Python landed
on main after that PR was opened.

Replaces an earlier wholesale rename (commits 4e31133, 7301dbc)
that renamed every .md in the api/ trees and tripped 3832
broken-links validation failures because Mintlify rejects
explicit .mdx in in-content links. Both prior commits remain in
the branch reflog.
WomB0ComB0 pushed a commit that referenced this pull request May 9, 2026
Single-line nav addition — points at sdks/python/api/README which
Mintlify resolves via the existing .md file. No file renames; the
auto-generated trees stay as .md because Mintlify's .md link
resolver is filesystem-based and already accepts the
cross-references TypeDoc / DefaultDocumentation / pydoc-markdown
emit. Renaming the READMEs to .mdx (attempted in earlier
commits 4e31133 / 7301dbc / 54934ef) was the wrong move —
.mdx parents have stricter link resolution that requires every
link target to be nav-registered, which is not feasible for
3500+ auto-generated pages.

The "is referenced in docs.json navigation but the file does
not exist" warning that mint dev emits for .md-extension README
references is cosmetic; Mintlify still renders the page.

The "Generated API Reference" group from PR #17 only had
TypeScript and .NET sub-groups; PR #18 (Python template) and
the resulting auto-PRs (#19, #20) landed the Python content
after that PR was opened.
WomB0ComB0 added a commit that referenced this pull request May 9, 2026
Single-line nav addition — points at sdks/python/api/README which
Mintlify resolves via the existing .md file. No file renames; the
auto-generated trees stay as .md because Mintlify's .md link
resolver is filesystem-based and already accepts the
cross-references TypeDoc / DefaultDocumentation / pydoc-markdown
emit. Renaming the READMEs to .mdx (attempted in earlier
commits 4e31133 / 7301dbc / 54934ef) was the wrong move —
.mdx parents have stricter link resolution that requires every
link target to be nav-registered, which is not feasible for
3500+ auto-generated pages.

The "is referenced in docs.json navigation but the file does
not exist" warning that mint dev emits for .md-extension README
references is cosmetic; Mintlify still renders the page.

The "Generated API Reference" group from PR #17 only had
TypeScript and .NET sub-groups; PR #18 (Python template) and
the resulting auto-PRs (#19, #20) landed the Python content
after that PR was opened.

Co-authored-by: Mike Odnis <engineer@resq.software>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:content MDX/MD documentation content area:meta Repo meta — docs.json, README, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants