mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-16 17:52:29 +02:00
refactor(blog): theme-common shouldn't depend on blog content plugins (#10313)
This commit is contained in:
parent
7544a2373d
commit
61d6858864
29 changed files with 111 additions and 76 deletions
|
@ -26,11 +26,6 @@ export {DocsVersionProvider, useDocsVersion} from './contexts/docsVersion';
|
|||
export {DocsSidebarProvider, useDocsSidebar} from './contexts/docsSidebar';
|
||||
|
||||
export {DocProvider, useDoc, type DocContextValue} from './contexts/doc';
|
||||
export {
|
||||
BlogPostProvider,
|
||||
useBlogPost,
|
||||
type BlogPostContextValue,
|
||||
} from './contexts/blogPost';
|
||||
|
||||
export {
|
||||
useDocsPreferredVersionByPluginId,
|
||||
|
@ -113,11 +108,6 @@ export {
|
|||
type TOCHighlightConfig,
|
||||
} from './hooks/useTOCHighlight';
|
||||
|
||||
export {
|
||||
useVisibleBlogSidebarItems,
|
||||
groupBlogSidebarItemsByYear,
|
||||
BlogSidebarItemList,
|
||||
} from './utils/blogUtils';
|
||||
export {useDateTimeFormat} from './utils/IntlUtils';
|
||||
|
||||
export {useHideableNavbar} from './hooks/useHideableNavbar';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue