remove previous/next button
This commit is contained in:
parent
30f2cefcd5
commit
caa5566797
1 changed files with 12 additions and 0 deletions
12
src/theme/DocItem/Paginator/index.tsx
Normal file
12
src/theme/DocItem/Paginator/index.tsx
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
import React, {type ReactNode} from 'react';
|
||||||
|
import {useDoc} from '@docusaurus/plugin-content-docs/client';
|
||||||
|
import DocPaginator from '@theme/DocPaginator';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This extra component is needed, because <DocPaginator> should remain generic.
|
||||||
|
* DocPaginator is used in non-docs contexts too: generated-index pages...
|
||||||
|
*/
|
||||||
|
export default function DocItemPaginator(): ReactNode {
|
||||||
|
const {metadata} = useDoc();
|
||||||
|
return null;
|
||||||
|
}
|
Loading…
Reference in a new issue