@mintlify/validation
Version:
Validates mint.json files
6 lines (5 loc) • 361 B
JavaScript
import { z } from 'zod';
export const faviconSchema = z
.string()
.refine((val) => !val.endsWith('.ico'), 'Favicon cannot be an .ico file')
.describe('A path pointing to the favicon file in your docs folder, including the file extension. We recommend using an .svg or .png file. The favicon will automatically be resized to the appropriate sizes');