mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-22 05:27:00 +02:00
refactor: make MDX export a flat TOC list instead of tree (#6729)
This commit is contained in:
parent
2d93750caf
commit
c3370be64d
20 changed files with 312 additions and 445 deletions
|
@ -104,7 +104,11 @@ export {useHistoryPopHandler} from './utils/historyUtils';
|
|||
export {default as useTOCHighlight} from './utils/useTOCHighlight';
|
||||
export type {TOCHighlightConfig} from './utils/useTOCHighlight';
|
||||
|
||||
export {useTOCFilter} from './utils/tocUtils';
|
||||
export {
|
||||
useFilteredAndTreeifiedTOC,
|
||||
useTreeifiedTOC,
|
||||
type TOCTreeNode,
|
||||
} from './utils/tocUtils';
|
||||
|
||||
export {
|
||||
ScrollControllerProvider,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue