This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
OpenMetadata documentation site built with Mintlify. Multi-version docs for OpenMetadata (v1.11.x, v1.12.x, v1.13.x-SNAPSHOT). The default/current version is v1.12.x — unversioned URLs redirect there via docs.json redirects (~line 6425).
The sibling directory ../OpenMetadata contains the main OpenMetadata repo (JSON schemas in openmetadata-spec/ and ingestion source in ingestion/). The /connector-doc-review skill uses it to validate connector docs against ground truth.
npm i -g mint # Install Mintlify CLI (requires Node.js >= 19)
mint dev # Local preview at http://localhost:3000 (or: npm run dev)
mint dev --port 3333 # Custom port
mint broken-links # Validate links across all pages (or: npm run broken-links)
mint update # Update CLI to latest versionDeployment is automatic: push to main → deployed via Mintlify GitHub app.
Commit messages: prefix with Docs: and include PR number — Docs: Add release notes for 1.11.9 (#34)
This section covers writing and editing documentation pages.
Every page starts with YAML frontmatter:
---
title: "Page Title"
description: "SEO description"
sidebarTitle: "Short Nav Label" # optional, for shorter sidebar text
mode: "wide" # optional, for full-width pages
---- Kebab-case for files and directories (
auto-classification.mdx) .mdxfor pages with JSX/component imports,.mdfor pure markdown- Images go in
/public/images/organized by category
Pages use MDX with built-in components: <Steps>, <Step>, <CardGroup>, <Card>, <Tip>, <Info>, <Warning>, <Accordion>, <AccordionGroup>, <Tabs>, <Tab>.
Reusable content lives in snippets/ and is imported via absolute paths:
import TestConnection from '/snippets/connectors/test-connection.mdx'
import DataProfiler from '/snippets/v1.11.x/connectors/yaml/data-profiler.mdx'There are shared snippets (/snippets/connectors/) and version-specific snippets (/snippets/v1.11.x/, /snippets/v1.12.x/, /snippets/v1.13.x/). Version-specific snippets typically contain connectors-list.mdx (connector catalog per service type), related.mdx, data-profiler.mdx, and deployment snippets that differ between versions. Always import the snippet matching the page's version.
Connector pages follow a consistent template:
- Import shared snippets and
ConnectorDetailsHeader - Render
<ConnectorDetailsHeader>with features matrix - Requirements section
- Metadata ingestion configuration
- Optional: Query Usage, Lineage, Data Profiler, Data Quality, dbt
- Troubleshooting
New pages must be added to docs.json in the appropriate navigation section, or they won't appear in the sidebar.
This section covers the infrastructure: navigation, styling, components, and versioning.
All navigation is defined in docs.json (very large file, ~6.5k lines). It defines:
- Version tabs and page hierarchy per version (bulk of the file)
- Redirects from unversioned paths to v1.12.x (starts at ~line 6425)
- Footer, navbar, SEO, and theme settings
When editing docs.json, use targeted line-range reads rather than loading the whole file. Navigation groups are nested under navigation.versions[].tabs[].groups[].
Each version is a self-contained directory with identical structure:
v1.11.x/
index.mdx # Homepage
quick-start/ # Getting started
deployment/ # Docker, Kubernetes, Bare Metal
connectors/ # database/, dashboard/, pipeline/, storage/, etc.
how-to-guides/ # Feature walkthroughs
sdk/ # Python/Java SDK
developers/ # Contributing
api-reference/ # REST API docs
JSX components in snippets/components/:
ConnectorDetailsHeader/ConnectorDetailsHeader.jsx— Feature support matrix for connectors (stage, available/unavailable features). Must appear in both the main connector page and itsyaml.mdxwith identical feature arrays.MetadataIngestionUi.jsx— UI workflow screenshot sequencesCodePreview.jsx— Side-by-side code/content panels (used in yaml.mdx pages)BreakingChanges/BreakingChanges.jsx— Breaking change callouts for release notesVersionMatrix/VersionMatrix.jsx— Version compatibility matrix display
globals.css— CSS variables (colors, layout dimensions, fonts), Tailwind importsstyle.css— Custom component styling and overridesloader.js— Page loader animation- Theme is
"aspen", primary color#6938EF