@deot/docs-client 1.1.8 → 1.1.9
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 +4 -0
- package/dist/chunks/{compile-CM_OyqYN-rhv4v6Tt.js → compile-BHlM2G35-gLGYT56A.js} +10 -10
- package/dist/chunks/{css-DleINdoA-Brc23sJ9.js → css-C25yWQa_-B6uwKgDA.js} +1301 -1271
- package/dist/eval/chunks/{compile-CM_OyqYN-rhv4v6Tt.js → compile-BHlM2G35-gLGYT56A.js} +3 -3
- package/dist/eval/chunks/css-C25yWQa_-B6uwKgDA.js +8 -0
- package/dist/eval/index.js +16 -16
- package/dist/eval/index.style.css +1 -1
- package/dist/index.cjs +23 -11376
- package/dist/index.d.ts +5 -0
- package/dist/index.js +57119 -57090
- package/package.json +6 -6
- package/dist/eval/chunks/css-DleINdoA-Brc23sJ9.js +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export declare interface DocsComponentsOptions {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export declare interface DocsConfig {
|
|
40
|
+
cdns?: string[];
|
|
40
41
|
locales: Record<string, DocsLocaleEntry>;
|
|
41
42
|
routes: Record<string, DocsRouteConfig>;
|
|
42
43
|
base?: string;
|
|
@@ -50,6 +51,9 @@ export declare interface DocsConfig {
|
|
|
50
51
|
layout?: DocsLayoutOptions;
|
|
51
52
|
renderers?: RendererModuleSource[];
|
|
52
53
|
resolve?: {
|
|
54
|
+
cdn?: (context: {
|
|
55
|
+
url: string;
|
|
56
|
+
}) => string | null | undefined;
|
|
53
57
|
markdown?: (context: DocsMarkdownContext) => string | Promise<string>;
|
|
54
58
|
resource?: (context: DocsResourceContext) => string | null | undefined | Promise<string | null | undefined>;
|
|
55
59
|
link?: (context: DocsLinkContext) => string | null | undefined;
|
|
@@ -139,6 +143,7 @@ export declare interface DocsRoute {
|
|
|
139
143
|
export declare type DocsRouteConfig = DocsRoute | string | ((to: RouteLocationNormalizedGeneric) => string);
|
|
140
144
|
|
|
141
145
|
export declare interface DocsRuntime {
|
|
146
|
+
cdn?: string;
|
|
142
147
|
mode: 'development' | 'production';
|
|
143
148
|
workspace?: string;
|
|
144
149
|
events?: string;
|