mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix typedoc generation
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
1be9923b21
commit
d36f963b12
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ yarn-error.log
|
|||||||
coverage/
|
coverage/
|
||||||
tmp/
|
tmp/
|
||||||
site/
|
site/
|
||||||
|
docs/extensions/api/
|
||||||
@ -1,7 +1,11 @@
|
|||||||
# Extension API Reference
|
# Extension API Reference
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install --save-dev @k8slens/extensions
|
||||||
|
```
|
||||||
|
|
||||||
## APIs
|
## APIs
|
||||||
|
|
||||||
- [Common](modules/Common.md)
|
- [Common](modules/core_src_common_library.extensionApi.md)
|
||||||
- [Main](modules/Main.md)
|
- [Main](modules/core_src_main_library.extensionApi.md)
|
||||||
- [Renderer](modules/Renderer.md)
|
- [Renderer](modules/core_src_renderer_library.extensionApi.md)
|
||||||
|
|||||||
@ -23,7 +23,7 @@ export const defaultTerminalConfig: TerminalConfig = {
|
|||||||
fontFamily: defaultTerminalFontFamily,
|
fontFamily: defaultTerminalFontFamily,
|
||||||
};
|
};
|
||||||
|
|
||||||
interface BaseEditorConfiguration extends Required<Pick<editor.IStandaloneEditorConstructionOptions, "minimap" | "tabSize" | "fontSize" | "fontFamily">> {
|
export interface BaseEditorConfiguration extends Required<Pick<editor.IStandaloneEditorConstructionOptions, "minimap" | "tabSize" | "fontSize" | "fontFamily">> {
|
||||||
lineNumbers: NonNullable<Exclude<editor.IStandaloneEditorConstructionOptions["lineNumbers"], Function>>;
|
lineNumbers: NonNullable<Exclude<editor.IStandaloneEditorConstructionOptions["lineNumbers"], Function>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,9 @@ import * as Proxy from "./proxy";
|
|||||||
|
|
||||||
import logger from "../../common/logger";
|
import logger from "../../common/logger";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @module Common
|
||||||
|
*/
|
||||||
export {
|
export {
|
||||||
App,
|
App,
|
||||||
EventBus,
|
EventBus,
|
||||||
|
|||||||
@ -17,7 +17,7 @@ import type { IComputedValue } from "mobx";
|
|||||||
import restartAndInstallUpdateInjectable from "../../../../../renderer/restart-and-install-update.injectable";
|
import restartAndInstallUpdateInjectable from "../../../../../renderer/restart-and-install-update.injectable";
|
||||||
import updateWarningLevelInjectable from "../update-warning-level.injectable";
|
import updateWarningLevelInjectable from "../update-warning-level.injectable";
|
||||||
|
|
||||||
interface UpdateButtonProps extends HTMLAttributes<HTMLButtonElement> {}
|
export interface UpdateButtonProps extends HTMLAttributes<HTMLButtonElement> {}
|
||||||
|
|
||||||
interface Dependencies {
|
interface Dependencies {
|
||||||
warningLevel: IComputedValue<"light" | "medium" | "high" | "">;
|
warningLevel: IComputedValue<"light" | "medium" | "high" | "">;
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import { getInjectionToken } from "@ogre-tools/injectable";
|
|||||||
import type { IComputedValue } from "mobx";
|
import type { IComputedValue } from "mobx";
|
||||||
import type React from "react";
|
import type React from "react";
|
||||||
|
|
||||||
interface WorkloadOverviewDetail {
|
export interface WorkloadOverviewDetail {
|
||||||
orderNumber: number;
|
orderNumber: number;
|
||||||
Component: React.ElementType<{}>;
|
Component: React.ElementType<{}>;
|
||||||
enabled: IComputedValue<boolean>;
|
enabled: IComputedValue<boolean>;
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"composite": true,
|
||||||
|
"outDir": "static/build/library/",
|
||||||
"paths": {
|
"paths": {
|
||||||
"*": [
|
"*": [
|
||||||
"node_modules/*",
|
"node_modules/*",
|
||||||
@ -17,6 +19,8 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
"package.json",
|
||||||
|
"webpack/vars.ts",
|
||||||
"src/**/*",
|
"src/**/*",
|
||||||
"types/*.d.ts",
|
"types/*.d.ts",
|
||||||
],
|
],
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "yarn run webpack --config webpack/extensions.ts",
|
"build": "yarn run webpack --config webpack/extensions.ts",
|
||||||
"build-docs": "yarn run typedoc src/extension-api.ts",
|
"build-docs": "yarn run typedoc",
|
||||||
"clean": "rm -rf dist/"
|
"clean": "rm -rf dist/"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -23,5 +23,10 @@
|
|||||||
"exclude": [
|
"exclude": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
"../core/src/"
|
"../core/src/"
|
||||||
|
],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "../core"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,11 +1,15 @@
|
|||||||
{
|
{
|
||||||
"readme": "docs/extensions/typedoc-readme.md.tpl",
|
"readme": "../../docs/extensions/typedoc-readme.md.tpl",
|
||||||
"name": "@k8slens/extensions",
|
"name": "@k8slens/extensions",
|
||||||
"out": "../../docs/extensions/api",
|
"out": "../../docs/extensions/api",
|
||||||
"excludePrivate": true,
|
"excludePrivate": true,
|
||||||
"includes": [
|
"entryPointStrategy": "expand",
|
||||||
"src/"
|
"entryPoints": [
|
||||||
|
"src/extension-api.ts",
|
||||||
|
"../core/src/common/library.ts",
|
||||||
|
"../core/src/main/library.ts",
|
||||||
|
"../core/src/renderer/library.ts"
|
||||||
],
|
],
|
||||||
"hideBreadcrumbs": true,
|
"hideBreadcrumbs": true,
|
||||||
"disableSources": true
|
"disableSources": true,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user