mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-03 04:07:32 +02:00
* create base @docusaurus/theme-common package + fix Webpack client export aliases issue shadowing other theme-common package * Move theme-classic/src/utils code to new @docusaurus/theme-common package * add prettierignore * fix bad test location for getDocusaurusAliases()
19 lines
686 B
TypeScript
19 lines
686 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
export {useThemeConfig, ThemeConfig} from './utils/useThemeConfig';
|
|
export {docVersionSearchTag, DEFAULT_SEARCH_TAG} from './utils/searchUtils';
|
|
export {isDocsPluginEnabled} from './utils/docsUtils';
|
|
|
|
export {isSamePath} from './utils/pathUtils';
|
|
|
|
export {
|
|
useDocsPreferredVersion,
|
|
useDocsPreferredVersionByPluginId,
|
|
} from './utils/docsPreferredVersion/useDocsPreferredVersion';
|
|
|
|
export {DocsPreferredVersionContextProvider} from './utils/docsPreferredVersion/DocsPreferredVersionProvider';
|