mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-03 20:16:52 +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:
@@ -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} />
|
||||
</>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user