Skip to content

pantoken / mintlify

mintlify

Expérimental

@pantoken/mintlify — appliquer un thème à un site de documentation Mintlify avec les tokens Instructure.

toMintlifyConfig mappe n'importe quel IR sur les clés colors + background d'un Mintlify docs.json; docsJson est le fragment rebrand prêt à l'emploi. Fusionnez‑le dans votre docs.json.

Exemple

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

Interfaces

Variables

Fonctions

Références

default

Renomme et ré-exporte docsJson