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:
Shahed Nasser
2023-11-13 20:11:50 +02:00
committed by GitHub
parent cedab58339
commit c6dff873de
2265 changed files with 46163 additions and 47195 deletions

View File

@@ -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)}