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 の名前を変更して再エクスポートします