mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
docs: update dumi config
This commit is contained in:
parent
8c52c91f66
commit
32c33e20c3
@ -4,7 +4,7 @@ import { Affix, Col, Menu, MenuProps } from 'antd';
|
||||
import MobileMenu from 'rc-drawer';
|
||||
import SiteContext from '../SiteContext';
|
||||
import useLocation from '../../../hooks/useLocation';
|
||||
import { useFullSidebarData } from 'dumi/dist/client/theme-api/useSidebarData';
|
||||
import { useFullSidebarData } from 'dumi';
|
||||
|
||||
const Sidebar: FC = () => {
|
||||
const sidebarData = useSidebarData();
|
||||
|
@ -8,7 +8,7 @@ export default defineConfig({
|
||||
favicons: ['https://gw.alipayobjects.com/zos/rmsportal/rlpTLlbMzTNYuZGGCVYM.png'],
|
||||
resolve: {
|
||||
docDirs: [{ type: 'doc', dir: 'docs' }],
|
||||
entityDirs: [{ type: 'component', dir: 'components' }],
|
||||
atomDirs: [{ type: 'component', dir: 'components' }],
|
||||
codeBlockMode: 'passive',
|
||||
},
|
||||
locales: [
|
||||
|
Loading…
Reference in New Issue
Block a user