File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {MaxWidthWrapperPlugin} from './mdx/MaxWidthWrapperPlugin';
1111import { ExtractedTOC , TOCExtractorPlugin } from './mdx/TOCExtractorPlugin' ;
1212import { MetaAttributesPlugin } from './mdx/MetaAttributesPlugin' ;
1313
14- const DISK_CACHE_BREAKER = 12 ;
14+ const DISK_CACHE_BREAKER = 13 ;
1515const CACHE_PATH = `${ process . cwd ( ) } /node_modules/.cache/react-docs-mdx/` ;
1616const LOCKFILE_PATH = `${ process . cwd ( ) } /yarn.lock` ;
1717
Original file line number Diff line number Diff line change @@ -55,8 +55,6 @@ export function TOCExtractorPlugin({maxDepth = 3}: PluginOptions = {}) {
5555 )
5656 . trim ( ) ;
5757
58- console . log ( mdxSource ) ;
59-
6058 const text = headingNode . children
6159 . filter ( ( child ) => child . type === 'text' && child . value )
6260 . map ( ( child ) => child . value ! )
You can’t perform that action at this time.
0 commit comments