@docusaurus/plugin-content-docs 0.0.0-4347 → 0.0.0-4355
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/categoryGeneratedIndex.d.ts +2 -2
- package/lib/client/docsClientUtils.d.ts +1 -1
- package/lib/docs.d.ts +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/markdown/index.d.ts +1 -1
- package/lib/markdown/linkify.d.ts +1 -1
- package/lib/routes.d.ts +2 -2
- package/lib/sidebars/index.d.ts +1 -1
- package/lib/sidebars/processor.d.ts +1 -1
- package/lib/sidebars/types.d.ts +1 -2
- package/lib/sidebars/utils.d.ts +2 -3
- package/lib/sidebars/validation.d.ts +1 -1
- package/lib/theme/hooks/useDocs.d.ts +2 -2
- package/package.json +9 -9
- package/src/categoryGeneratedIndex.ts +3 -3
- package/src/client/docsClientUtils.ts +1 -1
- package/src/docs.ts +3 -6
- package/src/index.ts +1 -1
- package/src/markdown/index.ts +1 -1
- package/src/markdown/linkify.ts +1 -1
- package/src/routes.ts +2 -2
- package/src/sidebars/index.ts +1 -1
- package/src/sidebars/processor.ts +1 -1
- package/src/sidebars/types.ts +1 -2
- package/src/sidebars/utils.ts +4 -6
- package/src/sidebars/validation.ts +1 -1
- package/src/theme/hooks/useDocs.ts +5 -5
- package/src/translations.ts +1 -1
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { CategoryGeneratedIndexMetadata, DocMetadataBase } from './types';
|
|
8
|
-
import { SidebarsUtils } from './sidebars/utils';
|
|
7
|
+
import type { CategoryGeneratedIndexMetadata, DocMetadataBase } from './types';
|
|
8
|
+
import { type SidebarsUtils } from './sidebars/utils';
|
|
9
9
|
export declare function getCategoryGeneratedIndexMetadataList({ docs, sidebarsUtils, }: {
|
|
10
10
|
sidebarsUtils: SidebarsUtils;
|
|
11
11
|
docs: DocMetadataBase[];
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { GlobalPluginData, GlobalVersion, GlobalDoc } from '../types';
|
|
7
|
+
import type { GlobalPluginData, GlobalVersion, GlobalDoc } from '../types';
|
|
8
8
|
declare type Version = GlobalVersion;
|
|
9
9
|
declare type Doc = GlobalDoc;
|
|
10
10
|
export declare type ActivePlugin = {
|
package/lib/docs.d.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import type { LoadContext } from '@docusaurus/types';
|
|
8
|
-
import { DocFile, DocMetadataBase, MetadataOptions, PluginOptions, VersionMetadata, LoadedVersion } from './types';
|
|
9
|
-
import { SidebarsUtils } from './sidebars/utils';
|
|
8
|
+
import type { DocFile, DocMetadataBase, MetadataOptions, PluginOptions, VersionMetadata, LoadedVersion } from './types';
|
|
9
|
+
import type { SidebarsUtils } from './sidebars/utils';
|
|
10
10
|
declare type LastUpdateOptions = Pick<PluginOptions, 'showLastUpdateAuthor' | 'showLastUpdateTime'>;
|
|
11
11
|
export declare function readDocFile(versionMetadata: Pick<VersionMetadata, 'contentPath' | 'contentPathLocalized'>, source: string, options: LastUpdateOptions): Promise<DocFile>;
|
|
12
12
|
export declare function readVersionDocs(versionMetadata: VersionMetadata, options: Pick<PluginOptions, 'include' | 'exclude' | 'showLastUpdateAuthor' | 'showLastUpdateTime'>): Promise<DocFile[]>;
|
package/lib/index.d.ts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import type { LoadContext, Plugin } from '@docusaurus/types';
|
|
8
|
-
import { PluginOptions, LoadedContent } from './types';
|
|
8
|
+
import type { PluginOptions, LoadedContent } from './types';
|
|
9
9
|
export default function pluginContentDocs(context: LoadContext, options: PluginOptions): Promise<Plugin<LoadedContent>>;
|
|
10
10
|
export { validateOptions } from './options';
|
package/lib/markdown/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { DocsMarkdownOption } from '../types';
|
|
7
|
+
import type { DocsMarkdownOption } from '../types';
|
|
8
8
|
import type { LoaderContext } from 'webpack';
|
|
9
9
|
export default function markdownLoader(this: LoaderContext<DocsMarkdownOption>, source: string): void;
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { DocsMarkdownOption } from '../types';
|
|
7
|
+
import type { DocsMarkdownOption } from '../types';
|
|
8
8
|
export declare function linkify(fileString: string, filePath: string, options: DocsMarkdownOption): string;
|
package/lib/routes.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { PluginContentLoadedActions, RouteConfig } from '@docusaurus/types';
|
|
8
|
-
import { DocMetadata, LoadedVersion } from './types';
|
|
7
|
+
import type { PluginContentLoadedActions, RouteConfig } from '@docusaurus/types';
|
|
8
|
+
import type { DocMetadata, LoadedVersion } from './types';
|
|
9
9
|
export declare function createCategoryGeneratedIndexRoutes({ version, actions, docCategoryGeneratedIndexComponent, }: {
|
|
10
10
|
version: LoadedVersion;
|
|
11
11
|
actions: PluginContentLoadedActions;
|
package/lib/sidebars/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { SidebarsConfig, Sidebars, NormalizedSidebars } from './types';
|
|
8
8
|
import type { NormalizeSidebarsParams, PluginOptions } from '../types';
|
|
9
|
-
import { SidebarProcessorParams } from './processor';
|
|
9
|
+
import { type SidebarProcessorParams } from './processor';
|
|
10
10
|
export declare const DefaultSidebars: SidebarsConfig;
|
|
11
11
|
export declare const DisabledSidebars: SidebarsConfig;
|
|
12
12
|
export declare function resolveSidebarPathOption(siteDir: string, sidebarPathOption: PluginOptions['sidebarPath']): PluginOptions['sidebarPath'];
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { NumberPrefixParser, DocMetadataBase, VersionMetadata, SidebarOptions } from '../types';
|
|
8
8
|
import type { Sidebars, NormalizedSidebars, SidebarItemsGeneratorOption } from './types';
|
|
9
|
-
import { Slugger } from '@docusaurus/utils';
|
|
9
|
+
import type { Slugger } from '@docusaurus/utils';
|
|
10
10
|
export declare type SidebarProcessorParams = {
|
|
11
11
|
sidebarItemsGenerator: SidebarItemsGeneratorOption;
|
|
12
12
|
numberPrefixParser: NumberPrefixParser;
|
package/lib/sidebars/types.d.ts
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import type { Optional } from 'utility-types';
|
|
7
|
+
import type { Optional, Required } from 'utility-types';
|
|
8
8
|
import type { DocMetadataBase, VersionMetadata, NumberPrefixParser, SidebarOptions } from '../types';
|
|
9
|
-
import { Required } from 'utility-types';
|
|
10
9
|
declare type Expand<T extends Record<string, unknown>> = {
|
|
11
10
|
[P in keyof T]: T[P];
|
|
12
11
|
};
|
package/lib/sidebars/utils.d.ts
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import type { Sidebars, Sidebar, SidebarItem, SidebarItemCategory, SidebarItemLink, SidebarItemDoc, SidebarCategoriesShorthand, SidebarItemConfig } from './types';
|
|
8
|
-
import { DocMetadataBase, DocNavLink } from '../types';
|
|
9
|
-
import { SidebarItemCategoryWithGeneratedIndex, SidebarNavigationItem } from './types';
|
|
7
|
+
import type { Sidebars, Sidebar, SidebarItem, SidebarItemCategory, SidebarItemLink, SidebarItemDoc, SidebarCategoriesShorthand, SidebarItemConfig, SidebarItemCategoryWithGeneratedIndex, SidebarNavigationItem } from './types';
|
|
8
|
+
import type { DocMetadataBase, DocNavLink } from '../types';
|
|
10
9
|
export declare function isCategoriesShorthand(item: SidebarItemConfig): item is SidebarCategoriesShorthand;
|
|
11
10
|
export declare function transformSidebarItems(sidebar: Sidebar, updateFn: (item: SidebarItem) => SidebarItem): Sidebar;
|
|
12
11
|
export declare function collectSidebarDocItems(sidebar: Sidebar): SidebarItemDoc[];
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import type { SidebarsConfig } from './types';
|
|
8
|
-
import { CategoryMetadataFile } from './generator';
|
|
8
|
+
import type { CategoryMetadataFile } from './generator';
|
|
9
9
|
export declare function validateSidebars(sidebars: unknown): asserts sidebars is SidebarsConfig;
|
|
10
10
|
export declare function validateCategoryMetadataFile(unsafeContent: unknown): CategoryMetadataFile;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { GlobalPluginData, GlobalVersion } from '../../types';
|
|
8
|
-
import { ActivePlugin, ActiveDocContext, DocVersionSuggestions, GetActivePluginOptions } from '../../client/docsClientUtils';
|
|
7
|
+
import type { GlobalPluginData, GlobalVersion } from '../../types';
|
|
8
|
+
import { type ActivePlugin, type ActiveDocContext, type DocVersionSuggestions, type GetActivePluginOptions } from '../../client/docsClientUtils';
|
|
9
9
|
export declare const useAllDocsData: () => Record<string, GlobalPluginData>;
|
|
10
10
|
export declare const useDocsData: (pluginId: string | undefined) => GlobalPluginData;
|
|
11
11
|
export declare const useActivePlugin: (options?: GetActivePluginOptions) => ActivePlugin | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-docs",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4355",
|
|
4
4
|
"description": "Docs plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-content-docs.d.ts",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@docusaurus/core": "0.0.0-
|
|
22
|
-
"@docusaurus/logger": "0.0.0-
|
|
23
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
24
|
-
"@docusaurus/utils": "0.0.0-
|
|
25
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
21
|
+
"@docusaurus/core": "0.0.0-4355",
|
|
22
|
+
"@docusaurus/logger": "0.0.0-4355",
|
|
23
|
+
"@docusaurus/mdx-loader": "0.0.0-4355",
|
|
24
|
+
"@docusaurus/utils": "0.0.0-4355",
|
|
25
|
+
"@docusaurus/utils-validation": "0.0.0-4355",
|
|
26
26
|
"combine-promises": "^1.1.0",
|
|
27
27
|
"escape-string-regexp": "^4.0.0",
|
|
28
28
|
"fs-extra": "^10.0.0",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"webpack": "^5.61.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
42
|
-
"@docusaurus/types": "0.0.0-
|
|
41
|
+
"@docusaurus/module-type-aliases": "0.0.0-4355",
|
|
42
|
+
"@docusaurus/types": "0.0.0-4355",
|
|
43
43
|
"@types/js-yaml": "^4.0.0",
|
|
44
44
|
"@types/picomatch": "^2.2.1",
|
|
45
45
|
"commander": "^5.1.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=14"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "4ad639a600a7aa5415733d798ed53a5a99ac7da0"
|
|
57
57
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {CategoryGeneratedIndexMetadata, DocMetadataBase} from './types';
|
|
9
|
-
import {SidebarItemCategoryWithGeneratedIndex} from './sidebars/types';
|
|
10
|
-
import {SidebarsUtils, toNavigationLink} from './sidebars/utils';
|
|
8
|
+
import type {CategoryGeneratedIndexMetadata, DocMetadataBase} from './types';
|
|
9
|
+
import type {SidebarItemCategoryWithGeneratedIndex} from './sidebars/types';
|
|
10
|
+
import {type SidebarsUtils, toNavigationLink} from './sidebars/utils';
|
|
11
11
|
import {createDocsByIdIndex} from './docs';
|
|
12
12
|
|
|
13
13
|
function getCategoryGeneratedIndexMetadata({
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import {matchPath} from '@docusaurus/router';
|
|
9
9
|
|
|
10
|
-
import {GlobalPluginData, GlobalVersion, GlobalDoc} from '../types';
|
|
10
|
+
import type {GlobalPluginData, GlobalVersion, GlobalDoc} from '../types';
|
|
11
11
|
|
|
12
12
|
// This code is not part of the api surface, not in ./theme on purpose
|
|
13
13
|
|
package/src/docs.ts
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import type {LoadContext} from '@docusaurus/types';
|
|
23
23
|
|
|
24
24
|
import {getFileLastUpdate} from './lastUpdate';
|
|
25
|
-
import {
|
|
25
|
+
import type {
|
|
26
26
|
DocFile,
|
|
27
27
|
DocMetadataBase,
|
|
28
28
|
DocMetadata,
|
|
@@ -38,11 +38,8 @@ import {CURRENT_VERSION_NAME} from './constants';
|
|
|
38
38
|
import {getDocsDirPaths} from './versions';
|
|
39
39
|
import {stripPathNumberPrefixes} from './numberPrefix';
|
|
40
40
|
import {validateDocFrontMatter} from './docFrontMatter';
|
|
41
|
-
import {
|
|
42
|
-
|
|
43
|
-
toDocNavigationLink,
|
|
44
|
-
toNavigationLink,
|
|
45
|
-
} from './sidebars/utils';
|
|
41
|
+
import type {SidebarsUtils} from './sidebars/utils';
|
|
42
|
+
import {toDocNavigationLink, toNavigationLink} from './sidebars/utils';
|
|
46
43
|
|
|
47
44
|
type LastUpdateOptions = Pick<
|
|
48
45
|
PluginOptions,
|
package/src/index.ts
CHANGED
package/src/markdown/index.ts
CHANGED
package/src/markdown/linkify.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {DocsMarkdownOption} from '../types';
|
|
8
|
+
import type {DocsMarkdownOption} from '../types';
|
|
9
9
|
import {getDocsDirPaths} from '../versions';
|
|
10
10
|
import {replaceMarkdownLinks} from '@docusaurus/utils';
|
|
11
11
|
|
package/src/routes.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import {PluginContentLoadedActions, RouteConfig} from '@docusaurus/types';
|
|
8
|
+
import type {PluginContentLoadedActions, RouteConfig} from '@docusaurus/types';
|
|
9
9
|
import {docuHash, createSlugger} from '@docusaurus/utils';
|
|
10
|
-
import {
|
|
10
|
+
import type {
|
|
11
11
|
CategoryGeneratedIndexMetadata,
|
|
12
12
|
DocMetadata,
|
|
13
13
|
LoadedVersion,
|
package/src/sidebars/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ import type {SidebarsConfig, Sidebars, NormalizedSidebars} from './types';
|
|
|
11
11
|
import type {NormalizeSidebarsParams, PluginOptions} from '../types';
|
|
12
12
|
import {validateSidebars} from './validation';
|
|
13
13
|
import {normalizeSidebars} from './normalization';
|
|
14
|
-
import {processSidebars, SidebarProcessorParams} from './processor';
|
|
14
|
+
import {processSidebars, type SidebarProcessorParams} from './processor';
|
|
15
15
|
import path from 'path';
|
|
16
16
|
import {createSlugger} from '@docusaurus/utils';
|
|
17
17
|
|
|
@@ -30,7 +30,7 @@ import {DefaultSidebarItemsGenerator} from './generator';
|
|
|
30
30
|
import {mapValues, memoize, pick} from 'lodash';
|
|
31
31
|
import combinePromises from 'combine-promises';
|
|
32
32
|
import {normalizeItem} from './normalization';
|
|
33
|
-
import {Slugger} from '@docusaurus/utils';
|
|
33
|
+
import type {Slugger} from '@docusaurus/utils';
|
|
34
34
|
|
|
35
35
|
export type SidebarProcessorParams = {
|
|
36
36
|
sidebarItemsGenerator: SidebarItemsGeneratorOption;
|
package/src/sidebars/types.ts
CHANGED
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type {Optional} from 'utility-types';
|
|
8
|
+
import type {Optional, Required} from 'utility-types';
|
|
9
9
|
import type {
|
|
10
10
|
DocMetadataBase,
|
|
11
11
|
VersionMetadata,
|
|
12
12
|
NumberPrefixParser,
|
|
13
13
|
SidebarOptions,
|
|
14
14
|
} from '../types';
|
|
15
|
-
import {Required} from 'utility-types';
|
|
16
15
|
|
|
17
16
|
// Makes all properties visible when hovering over the type
|
|
18
17
|
type Expand<T extends Record<string, unknown>> = {[P in keyof T]: T[P]};
|
package/src/sidebars/utils.ts
CHANGED
|
@@ -15,17 +15,15 @@ import type {
|
|
|
15
15
|
SidebarItemType,
|
|
16
16
|
SidebarCategoriesShorthand,
|
|
17
17
|
SidebarItemConfig,
|
|
18
|
-
} from './types';
|
|
19
|
-
|
|
20
|
-
import {mapValues, difference, uniq} from 'lodash';
|
|
21
|
-
import {getElementsAround, toMessageRelativeFilePath} from '@docusaurus/utils';
|
|
22
|
-
import {DocMetadataBase, DocNavLink} from '../types';
|
|
23
|
-
import {
|
|
24
18
|
SidebarItemCategoryWithGeneratedIndex,
|
|
25
19
|
SidebarItemCategoryWithLink,
|
|
26
20
|
SidebarNavigationItem,
|
|
27
21
|
} from './types';
|
|
28
22
|
|
|
23
|
+
import {mapValues, difference, uniq} from 'lodash';
|
|
24
|
+
import {getElementsAround, toMessageRelativeFilePath} from '@docusaurus/utils';
|
|
25
|
+
import type {DocMetadataBase, DocNavLink} from '../types';
|
|
26
|
+
|
|
29
27
|
export function isCategoriesShorthand(
|
|
30
28
|
item: SidebarItemConfig,
|
|
31
29
|
): item is SidebarCategoriesShorthand {
|
|
@@ -20,7 +20,7 @@ import type {
|
|
|
20
20
|
SidebarItemCategoryLinkGeneratedIndex,
|
|
21
21
|
} from './types';
|
|
22
22
|
import {isCategoriesShorthand} from './utils';
|
|
23
|
-
import {CategoryMetadataFile} from './generator';
|
|
23
|
+
import type {CategoryMetadataFile} from './generator';
|
|
24
24
|
|
|
25
25
|
const sidebarItemBaseSchema = Joi.object<SidebarItemBase>({
|
|
26
26
|
className: Joi.string(),
|
|
@@ -11,17 +11,17 @@ import useGlobalData, {
|
|
|
11
11
|
usePluginData,
|
|
12
12
|
} from '@docusaurus/useGlobalData';
|
|
13
13
|
|
|
14
|
-
import {GlobalPluginData, GlobalVersion} from '../../types';
|
|
14
|
+
import type {GlobalPluginData, GlobalVersion} from '../../types';
|
|
15
15
|
import {
|
|
16
16
|
getActivePlugin,
|
|
17
17
|
getLatestVersion,
|
|
18
18
|
getActiveVersion,
|
|
19
19
|
getActiveDocContext,
|
|
20
20
|
getDocVersionSuggestions,
|
|
21
|
-
ActivePlugin,
|
|
22
|
-
ActiveDocContext,
|
|
23
|
-
DocVersionSuggestions,
|
|
24
|
-
GetActivePluginOptions,
|
|
21
|
+
type ActivePlugin,
|
|
22
|
+
type ActiveDocContext,
|
|
23
|
+
type DocVersionSuggestions,
|
|
24
|
+
type GetActivePluginOptions,
|
|
25
25
|
} from '../../client/docsClientUtils';
|
|
26
26
|
|
|
27
27
|
// Important to use a constant object to avoid React useEffect executions etc...,
|
package/src/translations.ts
CHANGED
|
@@ -23,10 +23,10 @@ import type {
|
|
|
23
23
|
TranslationFileContent,
|
|
24
24
|
TranslationFile,
|
|
25
25
|
TranslationFiles,
|
|
26
|
+
TranslationMessage,
|
|
26
27
|
} from '@docusaurus/types';
|
|
27
28
|
import {mergeTranslations} from '@docusaurus/utils';
|
|
28
29
|
import {CURRENT_VERSION_NAME} from './constants';
|
|
29
|
-
import {TranslationMessage} from '@docusaurus/types';
|
|
30
30
|
|
|
31
31
|
function getVersionFileName(versionName: string): string {
|
|
32
32
|
if (versionName === CURRENT_VERSION_NAME) {
|