Skip to content

Link the OpenAPI spec on the Machines API overview - #2531

Merged
kcmartin merged 1 commit into
mainfrom
machines-api-spec-link
Oct 5, 2026
Merged

kcmartin merged 1 commit into
mainfrom
machines-api-spec-link

Conversation

@kcmartin

@kcmartin kcmartin commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Closes superfly/docs-tracking#318.

api/machines/index.mdx line 11 was <SpecDownload />, a component that exists nowhere in the repository. It came in with the content import in 8f45520c, which shipped several other snippets, so this one was named and never delivered.

The failure mode is why this sat for weeks. Mintlify drops an unknown component without erroring, so there was no build failure and nothing in the HTML. The live page reads straight from "visit the complete Machines API docs." to "Base URL" with nothing between them. A reader cannot report a gap that renders as nothing, and the page is the entry point to the generated Machines API reference.

A markdown link rather than a Card, deliberately. Mintlify's <Card href="..."> renders no anchor, so the link only works client side and a crawler or an assistant asked "where do I get the Machines API spec" would not see it. Given the pricing work this week was about exactly that class of invisibility, using a Card here would have reintroduced it.

The wording and the absolute URL match machines/api/index.mdx line 30, which already points readers at the same file to generate a client. Verified the target serves 200 as application/json.

The page had <SpecDownload />, a component that exists nowhere in the
repository. Mintlify drops an unknown component without erroring, so the
page ran straight from "visit the complete Machines API docs." to "Base
URL" with nothing in between, and nobody reports a gap that renders as
nothing.

A markdown link rather than a Card: a Card renders no anchor, so a crawler
or an assistant asked where to get the spec would not see it. The wording
and the absolute URL match machines/api/index.mdx, which already points at
the same file.
@mintlify

mintlify Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
fly-io 🟢 Ready View Preview Oct 5, 2026, 10:49 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@kcmartin
kcmartin merged commit 38859ff into main Oct 5, 2026
2 checks passed
@kcmartin
kcmartin deleted the machines-api-spec-link branch October 5, 2026 22:55

This branch was successfully deployed

1 active deployment
staging — a07a3060 Deployed Oct 5, 2026 by mintlify[bot]
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