@mintlify/scraping
Version:
Scrape documentation frameworks to Mintlify docs
25 lines (19 loc) • 441 B
text/typescript
import type { SdkFormat } from '@mintlify/validation';
export type { SdkFormat };
export type SdkPage = {
slug: string;
title: string;
description?: string;
tag?: string;
icon?: string;
content: string;
};
export type SdkNavGroup = {
group: string;
pages: string[];
};
export type SdkReference = {
pages: SdkPage[];
groups: SdkNavGroup[];
};
export type SdkConverter = (sourcePath: string) => Promise<SdkReference>;