Skip to content

Conversation

@BeeBombshell
Copy link

@BeeBombshell BeeBombshell commented Sep 19, 2023

Fixes: #266
This PR adds documentation on how to integrate Cusdis into a Docusaurus project.

@vercel
Copy link

vercel bot commented Sep 19, 2023

@BeeBombshell is attempting to deploy a commit to the RandySoft Team on Vercel.

A member of the Team first needs to authorize it.

@BeeBombshell
Copy link
Author

@djyde, let me know if this needs any changes/improvements :)

<CusdisComments
id="cusdis_thread"
attrs={{
pageId: frontMatter.id,
Copy link

@xijinping0 xijinping0 May 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably helpful to mention that the frontMatter here comes from props.content, and the props is from the pager's wrapper (e.g. DocItemWrapper):

export default function DocItemWrapper(props) {
  const { frontMatter } = props.content;
  // ...
}

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

观摩一下,哈哈。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOCS: Integrating Cusdis with Docusaurus websites

3 participants