Skip to content

Documentation framework support

Tell EkLine which documentation framework you use, and it checks the text inside that framework’s MDX components.

Frameworks like Mintlify use custom MDX components for layout. These components often hold prose you want checked.

The problem: Without the framework option, EkLine may skip the text inside custom components.

The solution: Set the framework option. EkLine then checks the text inside the framework’s components.

Without framework configuration:

<Note>
Users shoud configure there API keys before proceeding.
</Note>

EkLine might skip this content entirely, missing two spelling and grammar errors.

With framework: "mintlify": EkLine detects that <Note> is a prose component and checks the content, catching:

  • “shoud” → “should”
  • “there” → “their”

EkLine accepts these framework values:

FrameworkValue
Mintlifymintlify
Astroastro
Fernfern
Docusaurusdocusaurus
GitBookgitbook

EkLine checks the prose inside Mintlify components.

Create an ekline.config.json file in your project root:

ekline.config.json
{
"contentDirectory": ["."],
"framework": "mintlify",
"excludeDirectories": ["node_modules"]
}

EkLine checks content inside these Mintlify components:

  • <Note>, <Tip>, <Warning>, <Info> — Callout boxes
  • <Card> — Card components with content
  • <Accordion>, <AccordionGroup> — Expandable sections
  • <Update> — Changelog entries
  • <Step>, <Steps> — Step-by-step instructions
  • <Expandable> — Expandable content
  • <Tab>, <Tabs> — Tabbed content

EkLine skips these components because they contain code, not prose:

  • <CodeGroup> — Code examples
  • <Snippet> — Reusable code snippets
  • <Frame> — Image and video frames

For a typical Mintlify project, your ekline.config.json might look like:

ekline.config.json
{
"contentDirectory": ["."],
"framework": "mintlify",
"styleGuide": "google",
"excludeDirectories": ["node_modules", "api-reference"],
"excludeFiles": ["mint.json"]
}

For Astro, Fern, Docusaurus, and GitBook, create an ekline.config.json file and set the framework option:

ekline.config.json
{
"contentDirectory": ["src/content/docs"],
"framework": "astro",
"excludeDirectories": ["node_modules", "dist"]
}

Content inside components not being checked

Section titled “Content inside components not being checked”
  1. Check that framework is set in your ekline.config.json file:

    ekline.config.json
    {
    "framework": "mintlify"
    }
  2. Check for typos — the value is case-sensitive:

    Correct:

    { "framework": "mintlify" }

    Wrong:

    { "framework": "Mintlify" }
  3. Check that the component holds prose: Not every component holds prose. EkLine skips code blocks, images, and similar components.

If you see a warning that the framework value isn’t recognized, use one of the supported values: mintlify, astro, fern, docusaurus, or gitbook.


Need a different framework or specific components? Contact us and tell us how your docs are set up.


Built on Potluck Docs, our open source template.