mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 08:58:48 +00:00
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:
parent
709664a079
commit
ed5914ff61
@ -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 />
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
12
docs/src/theme/DocItem/Paginator/index.js
Normal file
12
docs/src/theme/DocItem/Paginator/index.js
Normal 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} />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user