Repository navigation
fix(docs): plain markdown for the API reference .md pages - #784
Merged
Merged
Conversation
docusaurus-plugin-llms copies each page's source into its .md twin, and the API reference sources are generated MDX: imports and JSX components that load the fields from JSON. /docs/api/*.md and the API sections of llms-full.txt showed that raw MDX with no field in it. A post-build script now renders those pages from openapi.yaml: endpoint, authentication, parameters, request body and response field tables. Tag pages list their operations, /docs/api.md lists the tags. The llms plugin also drops import lines from the other pages (excludeImports). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #784 +/- ##
==========================================
+ Coverage 89.20% 89.23% +0.02%
==========================================
Files 1320 1320
Lines 135152 135152
==========================================
+ Hits 120568 120601 +33
+ Misses 14575 14542 -33
Partials 9 9 🚀 New features to boost your workflow:
|
fclairamb
enabled auto-merge (squash)
November 6, 2026 17:56
Merged
fclairamb
added a commit
that referenced
this pull request
Nov 7, 2026
🤖 I have created a release *beep* *boop* --- ## [0.44.1](v0.44.0...v0.44.1) (2026-11-07) ### Bug Fixes * **dash0:** keep valid sessions when a token refresh fails transiently ([#782](#782)) ([8e77846](8e77846)) * **deps:** update module github.com/crewjam/saml to v0.5.2 ([#786](#786)) ([9d370fe](9d370fe)) * **deps:** update module github.com/posthog/posthog-go to v1.40.1 ([#775](#775)) ([37ada84](37ada84)) * **deps:** update module github.com/posthog/posthog-go to v1.41.1 ([#785](#785)) ([8684c71](8684c71)) * **docs:** plain markdown for the API reference .md pages ([#784](#784)) ([3270ac6](3270ac6)) * **security:** normalize trailing-dot custom status domains ([#778](#778)) ([8b2a7ca](8b2a7ca)) * **slack:** resolve check and incident link unfurls ([#779](#779)) ([930f18e](930f18e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
.mdcopy of each API reference page (e.g./docs/api/accept-invite.md) was the raw MDX generated by docusaurus-plugin-openapi-docs: imports and<RequestSchema {...require(...)}>components, with no field in it. Same for the API sections ofllms-full.txt.scripts/gen-api-markdown.tsruns afterdocusaurus buildand rewrites those pages fromopenapi.yaml: endpoint, authentication, parameters, request body and response field tables (nested fields asuser.email,items[].name). Error responses name theErrorobject instead of repeating it./docs/api.mdlists the tags, servers and auth scheme.llms-full.txt. The script fails if a section is missing or two sections share a title.src/lib/apiMarkdown.ts, unit-tested withbun test ./src.excludeImports: trueon docusaurus-plugin-llms drops the import lines left in other pages (e.g.tour.md).Checked locally:
bun run buildpasses, no@theme/orrequire(left in any.mdorllms-full.txt,tscandbun test ./srcgreen.🤖 Generated with Claude Code