Skip to content

Docusaurus Integration Page#267

Open
BeeBombshell wants to merge 1 commit intodjyde:masterfrom
BeeBombshell:docusaurus
Open

Docusaurus Integration Page#267
BeeBombshell wants to merge 1 commit intodjyde:masterfrom
BeeBombshell:docusaurus

Conversation

@BeeBombshell
Copy link
Copy Markdown

@BeeBombshell BeeBombshell commented Sep 19, 2023

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

@vercel
Copy link
Copy Markdown

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
Copy Markdown
Author

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

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

@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
Copy Markdown

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