docs: update docusaurus to v3 (#5625)
* update dependencies * update onboarding mdx * fixes for mdx issues * fixes for mdx compatibility * resolve mdx errors * fixes in reference * fix check errors * revert change in vale action * fix node version in action * fix summary in markdown
This commit is contained in:
@@ -7,6 +7,10 @@ import {
|
||||
import DocCard from "@theme/DocCard"
|
||||
import type { Props } from "@theme/DocCardList"
|
||||
|
||||
type ModifiedProps = {
|
||||
colSize?: string
|
||||
} & Props
|
||||
|
||||
function DocCardListForCurrentSidebarCategory({
|
||||
className,
|
||||
...rest
|
||||
@@ -15,10 +19,6 @@ function DocCardListForCurrentSidebarCategory({
|
||||
return <DocCardList className={className} {...rest} items={category.items} />
|
||||
}
|
||||
|
||||
type ModifiedProps = {
|
||||
colSize?: string
|
||||
} & Props
|
||||
|
||||
export default function DocCardList(props: ModifiedProps): JSX.Element {
|
||||
const { items, className } = props
|
||||
if (!items) {
|
||||
@@ -27,7 +27,6 @@ export default function DocCardList(props: ModifiedProps): JSX.Element {
|
||||
const filteredItems = filterDocCardListItems(items).filter(
|
||||
(item) => !item.customProps?.exclude_from_doclist
|
||||
)
|
||||
|
||||
return (
|
||||
<section
|
||||
className={clsx("cards-grid", `grid-${props.colSize || "4"}`, className)}
|
||||
|
||||
Reference in New Issue
Block a user