docs: replace docLayoutComponent by new Docusaurus v3 options (#9697)

This commit is contained in:
Sébastien Lorber 2024-01-04 14:27:51 +01:00 committed by GitHub
parent e0052edc4c
commit ca09f238f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,7 +232,9 @@ const config = {
// No number prefix found
return {numberPrefix: undefined, filename};
},
docLayoutComponent: '@theme/DocPage',
docsRootComponent: '@theme/DocsRoot',
docVersionRootComponent: '@theme/DocVersionRoot',
docRootComponent: '@theme/DocRoot',
docItemComponent: '@theme/DocItem',
remarkPlugins: [require('./my-remark-plugin')],
rehypePlugins: [],