@deot/docs-client 1.0.6 → 1.0.7
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/README.md +55 -23
- package/dist/index.cjs +404 -138
- package/dist/index.d.ts +3 -7
- package/dist/index.js +15714 -15502
- package/dist/index.style.css +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ export declare interface DocsConfig {
|
|
|
36
36
|
styles?: Record<string, string>;
|
|
37
37
|
prefetch?: boolean | DocsPrefetchOptions;
|
|
38
38
|
theme?: boolean | DocsThemeOptions;
|
|
39
|
-
home?: DocsHomeOptions;
|
|
40
39
|
layout?: DocsLayoutOptions;
|
|
41
40
|
renderers?: RendererModuleSource[];
|
|
42
41
|
resolve?: {
|
|
@@ -50,7 +49,7 @@ export declare interface DocsConfig {
|
|
|
50
49
|
export declare type DocsContent = DocsSlot | RendererDocument;
|
|
51
50
|
|
|
52
51
|
export declare interface DocsFooterOptions {
|
|
53
|
-
|
|
52
|
+
nav?: DocsLocalized<SidebarItem[]>;
|
|
54
53
|
poweredBy?: DocsLocalized<DocsFooterPoweredBy>;
|
|
55
54
|
}
|
|
56
55
|
|
|
@@ -64,10 +63,7 @@ export declare interface DocsHeaderBrandOptions {
|
|
|
64
63
|
|
|
65
64
|
export declare interface DocsHeaderOptions {
|
|
66
65
|
brand?: DocsHeaderBrandOptions;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
export declare interface DocsHomeOptions {
|
|
70
|
-
locales: Record<string, RendererDocument | string>;
|
|
66
|
+
nav?: DocsLocalized<SidebarItem[]>;
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
export declare interface DocsLayoutOptions {
|
|
@@ -110,7 +106,7 @@ export declare type DocsResourceType = typeof DOCS_RESOURCE_TYPES[number];
|
|
|
110
106
|
|
|
111
107
|
export declare interface DocsRoute {
|
|
112
108
|
value?: string | ((to: RouteLocationNormalizedGeneric) => string);
|
|
113
|
-
content?: DocsContent
|
|
109
|
+
content?: DocsLocalized<DocsContent>;
|
|
114
110
|
sidebar?: DocsSidebar;
|
|
115
111
|
header?: DocsSlot;
|
|
116
112
|
footer?: DocsSlot;
|