Skip to content

Mintlify post-launch cleanup (tracking) #3103

Open

Description

@ElliotFriend

developers.stellar.org moved from Docusaurus to Mintlify on 2026-10-22. After launch we audited the site against Mintlify's current docs and changelog, our site code (docs.json, root CSS/JS, snippets, scripts, CI), and the content patterns across all ~980 pages. This issue tracks the cleanup that came out of it.

Direction: customize the site in the order Mintlify recommends: docs.json and frontmatter settings first, then built-in component options, then custom CSS, and custom JavaScript last. Every root .js file loads on every page, and custom React components render client-side, so search and the .md export can't see them. Most of the work below moves something earlier on that list, or deletes something Mintlify now does natively.

Tier 1: quick wins and bugs

Tier 2: mechanical bulk cleanups

Scripted, and split into one PR per docs section once broken links are a CI gate (#3095):

  • Relative ./ and ../ links → root-relative, extension-free links (about 1,100 links, the house convention)
  • Single-block <CodeGroup>s → plain fences
  • Add expandable to very long code blocks
  • Remove dead wrapper divs and classes that no stylesheet defines
  • Hand-written https://developers.stellar.org/... self-links → root-relative
  • Small fixes: fence-language typos, showLineNumbers → lines, single-tab <Tabs>

Tier 3: platform alignment

Each needs a decision or a preview check:

  • Wallet guide, part 2 (after Remove the discontinued Kotlin Wallet SDK from the wallet guide #3096): code-only <Tabs> → <CodeGroup>, and replace the custom language picker with built-in tab sync
  • Root scripts: shrink or remove os-tab-sync.js (native tab sync covers most of it), and decide what to do with the for-agents.js drawer, which overlaps building-with-ai and Mintlify's built-in MCP and contextual menu. Settle these before moving root CSS/JS into theme/, so fewer files move.
  • CSS that restates native config: switch to native settings where they exist, and use Mintlify's stable selectors where CSS stays (after Consolidate the duplicate rules in style.css #3093)
  • Native settings we don't use yet: a footer block, per-page social cards instead of one site-wide og:image, and seo.indexing for non-nav pages
  • .html redirects: retire the one-off generator, or re-run it for pages added since launch

Tier 4: editorial

These need a human on each page, split by section:

  • Rewrite descriptions that repeat the page's first paragraph (it renders twice and weakens llms.txt and search results), and write the missing ones
  • Fix heading-level skips, and pages that start at H3
  • Accessibility: alt text, and descriptive titles for embedded videos
  • Add languages to untagged code fences
  • Repeated boilerplate → snippets or frontmatter, and inline-styled HTML → components (<Badge>, <Steps>, <Frame>)

Later

  • Generate the Horizon, Anchor Platform, and SDP API pages from OpenAPI navigation entries instead of stub pages (URLs must not change)
  • Host the generated SDK reference docs on the site
  • Use <Visibility> and markdown.instructions to shape what agents see in the .md export
  • Use navigation directory listings instead of near-empty landing pages

Already in flight

#3092 (anchors), #3093 (CSS consolidation), #3094 (redirects.json → config/), #3095 (link-check gate), and #3096 (remove the archived Kotlin wallet SDK).

🤖 Generated with Claude Code

Activity

  1. added
    documentation
    bot:hands-off
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:hands-offdocumentation

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions