Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Aug 09:43
· 3 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