docs: move feedback into paginator from content (#22041)

we only index what's in the `<article>` tags for search. We should not
have the feedback in the article.
This commit is contained in:
Erick Friis 2024-05-22 13:21:27 -07:00 committed by GitHub
parent 709664a079
commit ed5914ff61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 13 deletions

View File

@ -1,13 +0,0 @@
import React from "react";
import Content from "@theme-original/DocItem/Content";
import Feedback from "../../Feedback";
export default function ContentWrapper(props) {
return (
<>
{/* eslint-disable react/jsx-props-no-spreading */}
<Content {...props} />
<Feedback />
</>
);
}

View File

@ -0,0 +1,12 @@
import React from 'react';
import Paginator from '@theme-original/DocItem/Paginator';
import Feedback from "../../Feedback";
export default function PaginatorWrapper(props) {
return (
<>
<Feedback />
<Paginator {...props} />
</>
);
}