Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
0127f4b
remove Docusaurus config and build tooling
alay2shah Jan 16, 2026
c6148fc
remove Docusaurus src directory
alay2shah Jan 16, 2026
1962ff5
remove old static assets
alay2shah Jan 16, 2026
2f3f230
remove LFM docs section
alay2shah Jan 16, 2026
8d48970
add Mintlify configuration and assets
alay2shah Jan 16, 2026
7e48e50
update examples docs for Mintlify format
alay2shah Jan 16, 2026
42ee2da
update leap docs for Mintlify format
alay2shah Jan 16, 2026
9c68e72
update gitignore for Mintlify and dev tools
alay2shah Jan 16, 2026
833e31b
logo svgs
alay2shah Jan 26, 2026
ec8611a
custom css
alay2shah Jan 26, 2026
0537ca2
custom js
alay2shah Jan 26, 2026
4121b84
claude instructions
alay2shah Jan 26, 2026
66e9172
docs json
alay2shah Jan 26, 2026
46f9905
trl
alay2shah Jan 26, 2026
2a3bfcb
unsloth
alay2shah Jan 26, 2026
cfa025d
outlines
alay2shah Jan 26, 2026
bf5d373
welcome page
alay2shah Jan 26, 2026
9af66ea
fal
alay2shah Jan 26, 2026
fdcc274
llama cpp
alay2shah Jan 26, 2026
15d9bef
Update navigation: rename API Spec to SDK Reference, add Get Started …
alay2shah Jan 26, 2026
c0b5e35
Update Guides Library page with Discord card
alay2shah Jan 26, 2026
42938d6
Update model documentation pages
alay2shah Jan 26, 2026
dda254a
Update key concepts documentation
alay2shah Jan 26, 2026
8c26cf4
Update inference documentation pages
alay2shah Jan 26, 2026
ef9eb6a
Update iOS SDK documentation
alay2shah Jan 26, 2026
0ea19fb
Update Android SDK documentation
alay2shah Jan 26, 2026
6f14e68
Update LEAP Bundle documentation
alay2shah Jan 26, 2026
76aeb50
Update Edge SDK overview page
alay2shah Jan 26, 2026
88af86c
Remove old API spec files
alay2shah Jan 26, 2026
32ce614
contextual adds for ai
alay2shah Jan 26, 2026
2edaf8e
Add individual text model pages
alay2shah Jan 27, 2026
cfd0c6a
Add individual vision model pages
alay2shah Jan 27, 2026
9847a16
Add individual audio model pages
alay2shah Jan 27, 2026
e0055b1
Add Liquid Nano model pages
alay2shah Jan 27, 2026
b85f5c5
Update category pages with internal model links
alay2shah Jan 27, 2026
2df5615
Add arrow icon styling for internal model links
alay2shah Jan 27, 2026
d894416
Set light mode as default theme
alay2shah Jan 27, 2026
5cccf39
Update inference documentation pages
alay2shah Jan 27, 2026
582d7d6
Update LEAP Edge SDK and Bundle documentation
alay2shah Jan 27, 2026
85bdddf
Add missing format buttons to model pages
alay2shah Jan 27, 2026
a2a730d
Add MLX format for LFM2.5-VL-1.6B
alay2shah Jan 27, 2026
f3b470b
Add parallel jobs flag to llama.cpp build command
alay2shah Jan 27, 2026
45f6cab
Replace Docusaurus favicon with Liquid logo and remove legacy referen…
alay2shah Jan 27, 2026
de4d716
Merge main into mintlify-migration
alay2shah Jan 27, 2026
a5738be
Remove npm linter job from CI workflow
alay2shah Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 0 additions & 92 deletions .eslintrc.js

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,6 @@ env:
CI: 1

jobs:
run-linter:
if: ${{ !github.event.pull_request.draft || github.event.pull_request.requested_reviewers[0] || github.event.pull_request.requested_teams[0] }}
runs-on: ubuntu-latest
env:
TURBO_TELEMETRY_DISABLED: 1
NEXT_TELEMETRY_DISABLED: 1
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint code
run: |
npm run typecheck
npm run lint
npm run format:check

check-link:
runs-on: ubuntu-latest
steps:
Expand Down
18 changes: 17 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,20 @@ vite.config.ts.timestamp-*

public/_pagefind/
build/
.idea/
.idea/

# Playwright MCP
.playwright-mcp/

# Claude Code
.claude/

# OS files
.DS_Store
Thumbs.db

# Editor/IDE
*.swp
*.swo
*~
.vscode/
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .husky/pre-commit

This file was deleted.

1 change: 0 additions & 1 deletion .markdownlintignore

This file was deleted.

16 changes: 0 additions & 16 deletions .markdownlintrc.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

21 changes: 0 additions & 21 deletions .prettierignore

This file was deleted.

16 changes: 0 additions & 16 deletions .prettierrc.js

This file was deleted.

158 changes: 158 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
# Mintlify Documentation Guidelines

## Running the Dev Server

```bash
npx mintlify dev
```

The server runs on port 3000 (or 3001 if 3000 is in use).

## MDX Syntax Rules

### No Self-Closing Tags

Mintlify's MDX parser does not support self-closing JSX tags. This is the most common source of build errors.

**Error message:** `Unexpected closing slash '/' in tag, expected an open tag first`

```mdx
<!-- WRONG - will cause build error -->
<Card title="Example" href="/path" />
<Icon icon="star" />
<img src="/image.png" alt="Example" />
<br/>

<!-- CORRECT - use opening and closing tags -->
<Card title="Example" href="/path">
Description content here
</Card>

<!-- CORRECT - use markdown for images -->
![Example](/image.png)

<!-- CORRECT - use markdown for line breaks or just blank lines -->
```

### Component Syntax

Always use proper opening/closing tag pairs for Mintlify components:

```mdx
<CardGroup cols={2}>

<Card title="Title" icon="icon-name" href="/path">
Card description content
</Card>

<Card title="Another" href="/path">
More content
</Card>

</CardGroup>
```

## Styling Approach

### Priority Order

1. **Use Mintlify's native components first** - CardGroup, Card, Badge, Tabs, Accordion, etc.
2. **Use Mintlify's built-in props** - icons, colors, columns
3. **Fall back to custom CSS only when native options don't work**

### Custom Style Files

- `style.css` - Static CSS loaded by Mintlify
- `styles.js` - JavaScript-injected CSS for dev mode (some styles only work via JS injection)

Both files should have the same styles for consistency between dev and production.

### Card Border Fix

Cards have overflow clipping issues. The fix requires:

```css
.card-group {
overflow: visible !important;
contain: none !important;
padding: 4px !important;
margin: -4px !important;
}

.mdx-content {
contain: none !important;
overflow: visible !important;
}
```

### Light/Dark Mode Targeting

```css
/* Light mode only */
:root:not(.dark) .selector { }

/* Dark mode only */
.dark .selector { }
```

## Available Badge Colors

Mintlify supports these badge colors:
- `green`, `red`, `blue`, `yellow`, `orange`, `purple`, `cyan`

```mdx
<Badge shape="pill" color="green">Recommended</Badge>
<Badge shape="rounded" icon="circle-check" color="green" size="lg">Latest</Badge>
```

## Common Patterns

### Model Card Layout

```mdx
## Section Title &nbsp;&nbsp;<Badge shape="rounded" color="green">Label</Badge>

<CardGroup cols={2}>

<Card title="Model Name" href="https://huggingface.co/...">
1.2B · <Badge shape="pill" color="green">Recommended</Badge>

Short description of the model.
</Card>

</CardGroup>
```

### Accent Color

The purple accent color used throughout: `#864bc4`

```css
/* For backgrounds */
background-color: rgba(134, 75, 196, 0.1);

/* For text/borders */
color: #864bc4;
border-color: #864bc4;
```

## Debugging

### Build Errors

If you get MDX parsing errors:
1. Search for `/>` in all `.mdx` and `.md` files
2. Convert self-closing tags to proper open/close pairs
3. Check for `<img>`, `<br>`, `<Icon>`, `<Card>` tags

```bash
# Find self-closing tags
grep -r '/>' --include="*.mdx" --include="*.md" .
```

### Style Not Applying

1. Check if the selector is specific enough
2. Try adding `!important`
3. Check if you need to target light/dark mode specifically
4. For icons using mask-image, set `background-color` instead of `color`
Loading