Skip to content

pantoken-root / mintlify

mintlify ​

Compatibility ​

Target: Mintlify docs.json. Current format: Official CLI validates generated colors and background theme config. Minimum host version: 4.0.1555. Tested through 4.0.1614. Newer releases require review.

Full compatibility matrix

ทดลอง

@pantoken/mintlify — ธีมไซต์เอกสาร Mintlify ด้วยโทเค็นของ Instructure.

toMintlifyConfig แมป IR ใดๆ ไปยังคีย์ colors + background ของ Mintlify docs.json; docsJson เป็นฟรากเมนต์ rebrand ที่พร้อมใช้งาน รวมเข้ากับ docs.json ของคุณ.

ตัวอย่าง ​

jsonc
// docs.json
{
  "name": "My docs",
  "theme": "mint",
  "colors": { "primary": "#1D354F", "light": "#EEF4FD", "dark": "#1D354F" },
  "background": { "color": { "light": "#F2F4F5", "dark": "#10141A" } }
}

อินเทอร์เฟซ ​

ตัวแปร ​

ฟังก์ชัน ​

การอ้างอิง ​

default ​

เปลี่ยนชื่อและส่งออกซ้ำ docsJson