mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-17 10:12:25 +02:00
refactor(content-docs): move isCategoriesShorthand to utils (#5962)
This commit is contained in:
parent
ac1df888ae
commit
2f7d6fea1e
18 changed files with 39 additions and 29 deletions
|
@ -4,7 +4,7 @@
|
|||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import {PluginOptions} from './types';
|
||||
import type {PluginOptions} from './types';
|
||||
import {
|
||||
Joi,
|
||||
RemarkPluginsSchema,
|
||||
|
@ -14,7 +14,10 @@ import {
|
|||
} from '@docusaurus/utils-validation';
|
||||
import {GlobExcludeDefault} from '@docusaurus/utils';
|
||||
|
||||
import {OptionValidationContext, ValidationResult} from '@docusaurus/types';
|
||||
import type {
|
||||
OptionValidationContext,
|
||||
ValidationResult,
|
||||
} from '@docusaurus/types';
|
||||
import chalk from 'chalk';
|
||||
import admonitions from 'remark-admonitions';
|
||||
import {DefaultSidebarItemsGenerator} from './sidebars/generator';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue