You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
426 B
17 lines
426 B
import React from 'react';
|
|
import DocPage from '@theme-original/DocPage';
|
|
import DocBookmark from '@site/src/components/DocBookmark';
|
|
import {useLocation} from '@docusaurus/router';
|
|
|
|
export default function DocPageWrapper(props) {
|
|
const {content} = props;
|
|
const location = useLocation();
|
|
const docId = location.pathname;
|
|
|
|
return (
|
|
<>
|
|
<DocBookmark docId={docId} />
|
|
<DocPage {...props} />
|
|
</>
|
|
);
|
|
}
|