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 — 使用 Instructure 代幣為 Mintlify 文件站點設計主題。

toMintlifyConfig 將任何 IR 映射到 Mintlify 的 docs.json 上的 colors + background 鍵;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