Skip to content

Swastika/docs/mintlify setup#2057

Open
swstica wants to merge 5 commits into
mainfrom
swastika/docs/mintlify-setup
Open

Swastika/docs/mintlify setup#2057
swstica wants to merge 5 commits into
mainfrom
swastika/docs/mintlify-setup

Conversation

@swstica
Copy link
Copy Markdown

@swstica swstica commented May 12, 2026

Problem

Docs folder was not set up for Mintlify deployment. No docs.json config existed, markdown files had MDX parsing errors, and introduction or quickstart pages were missing.

Solution

  • Added docs.json with Mintlify config (navigation, theme, colors, logo, navbar)
  • Added introduction.mdx and quickstart.mdx pages under Getting Started
  • Fixed MDX parsing errors across 24 files (HTML comments → MDX comments, ![img]()<img />, blank lines around <details> blocks, escaped angle brackets)
  • Renamed all index.md/readme.md to descriptive names (e.g. overview.mdx, concepts.mdx)
  • Flattened unnecessary nested folders (e.g. platforms/humanoid/g1/index.md → platforms/humanoid-g1.mdx)
  • Converted all .md files to .mdx
  • Removed duplicate H1 headings (Mintlify auto-generates page titles)
  • No content changes to existing docs

How to Test

npm i -g mintlify
mintlify dev

Contributor License Agreement

  • I have read and approved the CLA.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 12, 2026

Greptile Summary

This PR bootstraps the Mintlify documentation site for dimos by adding docs.json, introduction.mdx, and quickstart.mdx, converting 60+ Markdown files to MDX, fixing MDX parsing errors (HTML comments, bare <img> tags, <details> spacing), flattening nested folder structures, and renaming index files to descriptive slugs. No content was changed — only structure, format, and config.

  • docs.json is fully wired with navigation groups, theme, colors, navbar, and footer, but references logo and favicon SVGs (/logo/light.svg, /logo/dark.svg, /favicon.svg) that do not exist in the repository, causing broken assets on every page.
  • Platform pages (humanoid-g1.mdx, quadruped-go2.mdx) and several other converted files still contain stale internal links using the old /docs/… prefix and .md extension; humanoid-g1.mdx additionally links to capabilities/navigation/readme.md, which is deleted in this same PR.

Confidence Score: 3/5

The docs site will deploy with broken links and missing logo/favicon assets visible on every page.

humanoid-g1.mdx links directly to capabilities/navigation/readme.md, a file deleted in this same PR, guaranteeing a 404 the moment the site is live. The stale /docs/…md link pattern was not fully remediated across the two new platform pages.

docs/platforms/humanoid-g1.mdx and docs/platforms/quadruped-go2.mdx need all internal links corrected; docs/docs.json needs the logo and favicon asset files added before deploy.

Important Files Changed

Filename Overview
docs/docs.json New Mintlify config with navigation groups, colors, and navbar — has indentation inconsistency for platforms/quadruped-go2 and references logo/favicon assets that don't exist in the repo
docs/introduction.mdx New landing page with capability cards and quick-start links; internal links use correct Mintlify-style paths
docs/quickstart.mdx New quickstart guide covering install, replay, simulation, and CLI — contains a broken link to /troubleshooting/replay which does not exist in the site
docs/platforms/humanoid-g1.mdx Migrated G1 platform guide — links to the deleted readme.md and nine other stale /docs/…md paths that will 404 on the deployed site
docs/platforms/quadruped-go2.mdx Migrated Go2 platform guide — eight stale /docs/…md links spanning install guides, navigation, transports, and blueprints pages
docs/capabilities/navigation/overview.mdx New navigation overview with two stale links pointing to old /docs/…/index.md paths that no longer exist after this rename
docs/usage/concepts.mdx New concepts overview — all five internal links use the old /docs/ prefix and .md extension and will 404 on Mintlify
docs/usage/cli.mdx Comprehensive CLI reference — two internal links (GlobalConfig and blueprints) still use old /docs/ prefix and .md extension
docs/usage/modules.mdx Detailed modules guide — two links at the end of the file (blueprints.md#defining-skills and blueprints.md) carry the old path format and will 404
docs/capabilities/manipulation/overview.mdx Manipulation overview with keyboard-teleop and planning quick-starts — one stale link to adding_a_custom_arm.md using old /docs/ prefix

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    root["docs.json (Mintlify config)"]
    root --> GS["Getting Started"]
    root --> U["Usage"]
    root --> C["Capabilities"]
    root --> P["Platforms"]
    root --> D["Development"]
    root --> A["For Agents"]

    GS --> intro["introduction.mdx"]
    GS --> qs["quickstart.mdx ⚠️ broken /troubleshooting/replay"]
    GS --> req["requirements.mdx"]
    GS --> inst["Installation (ubuntu / osx / nix)"]

    U --> concepts["concepts.mdx ⚠️ stale links"]
    U --> modules["modules.mdx ⚠️ stale links"]
    U --> blueprints["blueprints.mdx"]
    U --> cli["cli.mdx ⚠️ stale links"]
    U --> ds["Data Streams"]
    U --> ss["Sensor Streams"]
    U --> tr["Transports"]

    C --> nav["Navigation"]
    nav --> navoverview["overview.mdx ⚠️ stale links"]
    nav --> nativego2["native-go2.mdx"]
    C --> manip["Manipulation"]
    C --> mem["Memory"]
    C --> perc["perception.mdx"]

    P --> go2["quadruped-go2.mdx ⚠️ stale links"]
    P --> g1["humanoid-g1.mdx ⚠️ link to deleted readme.md"]

    D --> docker["docker.mdx"]
    D --> testing["testing.mdx"]

    A --> aoverview["agents/overview.mdx"]
    A --> adocs["agents/docs (codeblocks / doclinks)"]

    root -. "⚠️ missing assets" .-> assets["/logo/light.svg\n/logo/dark.svg\n/favicon.svg"]
Loading

Comments Outside Diff (1)

  1. docs/platforms/humanoid-g1.mdx, line 166-171 (link)

    P1 Stale links including one pointing to a file deleted in this PR

    Line 166 links to /docs/capabilities/navigation/readme.md, which is explicitly deleted in this same PR (replaced by capabilities/navigation/overview.mdx) — this will 404 immediately on deploy. The surrounding links (lines 167–171) carry the same /docs/ prefix and .md extension that Mintlify does not use. The same pattern is present in docs/platforms/quadruped-go2.mdx (lines 18–20, 155–159), where all install guide links and the navigation/transports/blueprints links share the same stale format.

Reviews (2): Last reviewed commit: "added getting started pages to sidebar" | Re-trigger Greptile

Comment thread docs/quickstart.mdx
Comment on lines +81 to +83
<Note>
First replay failing? Most issues are network or LFS related. See [Replay troubleshooting](/troubleshooting/replay).
</Note>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Broken link to non-existent page

The <Note> block links to /troubleshooting/replay, but no such page exists in the repository or in the docs.json navigation. Clicking this link will result in a 404 on the deployed docs site.

Comment thread docs/docs.json
Comment on lines +146 to +149
"logo": {
"light": "/logo/light.svg",
"dark": "/logo/dark.svg"
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Missing logo and favicon assets

docs.json references /logo/light.svg, /logo/dark.svg, and /favicon.svg, but none of these files exist in the repository. Every page on the deployed site will show a broken logo and favicon.

Comment thread docs/docs.json
Comment on lines +112 to +115
"pages": [
"platforms/quadruped-go2",
"platforms/humanoid-g1"
]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Inconsistent indentation: "platforms/quadruped-go2" is at column 0 while the sibling entry "platforms/humanoid-g1" is properly indented. This is likely a copy-paste artefact.

Suggested change
"pages": [
"platforms/quadruped-go2",
"platforms/humanoid-g1"
]
"pages": [
"platforms/quadruped-go2",
"platforms/humanoid-g1"
]

@swstica swstica force-pushed the swastika/docs/mintlify-setup branch from 55aee28 to 02abdbf Compare May 12, 2026 13:02
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

⚠️ JUnit XML file not found

The CLI was unable to find any JUnit XML files to upload.
For more help, visit our troubleshooting guide.

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