Skip to content

nextra-theme-docs@4.4.0

Choose a tag to compare

@github-actions github-actions released this 22 Aug 09:43
· 29 commits to main since this release
c72653b

Minor Changes

  • 26b1281: feat: add Copy Documentation button/dropdown feature as LLM-Optimized
    Prompt

    Note

    If you are using
    content directory,
    you must pass the sourceCode prop to enable this feature.

    const {
      default: MDXContent,
      toc,
      metadata,
    + sourceCode
    } = await importPage(params.mdxPath)
    return (
    - <Wrapper toc={toc} metadata={metadata}>
    + <Wrapper toc={toc} metadata={metadata} sourceCode={sourceCode}>
        <MDXContent {...props} params={params} />
      </Wrapper>
    )

Patch Changes

  • Updated dependencies [26b1281]
    • nextra@4.4.0