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/
|
||||
tmp/
|
||||
site/
|
||||
docs/extensions/api/
|
||||
@ -1,7 +1,11 @@
|
||||
# Extension API Reference
|
||||
|
||||
```
|
||||
npm install --save-dev @k8slens/extensions
|
||||
```
|
||||
|
||||
## APIs
|
||||
|
||||
- [Common](modules/Common.md)
|
||||
- [Main](modules/Main.md)
|
||||
- [Renderer](modules/Renderer.md)
|
||||
- [Common](modules/core_src_common_library.extensionApi.md)
|
||||
- [Main](modules/core_src_main_library.extensionApi.md)
|
||||
- [Renderer](modules/core_src_renderer_library.extensionApi.md)
|
||||
|
||||
@ -23,7 +23,7 @@ export const defaultTerminalConfig: TerminalConfig = {
|
||||
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>>;
|
||||
}
|
||||
|
||||
|
||||
@ -14,6 +14,9 @@ import * as Proxy from "./proxy";
|
||||
|
||||
import logger from "../../common/logger";
|
||||
|
||||
/**
|
||||
* @module Common
|
||||
*/
|
||||
export {
|
||||
App,
|
||||
EventBus,
|
||||
|
||||
@ -17,7 +17,7 @@ import type { IComputedValue } from "mobx";
|
||||
import restartAndInstallUpdateInjectable from "../../../../../renderer/restart-and-install-update.injectable";
|
||||
import updateWarningLevelInjectable from "../update-warning-level.injectable";
|
||||
|
||||
interface UpdateButtonProps extends HTMLAttributes<HTMLButtonElement> {}
|
||||
export interface UpdateButtonProps extends HTMLAttributes<HTMLButtonElement> {}
|
||||
|
||||
interface Dependencies {
|
||||
warningLevel: IComputedValue<"light" | "medium" | "high" | "">;
|
||||
|
||||
@ -6,7 +6,7 @@ import { getInjectionToken } from "@ogre-tools/injectable";
|
||||
import type { IComputedValue } from "mobx";
|
||||
import type React from "react";
|
||||
|
||||
interface WorkloadOverviewDetail {
|
||||
export interface WorkloadOverviewDetail {
|
||||
orderNumber: number;
|
||||
Component: React.ElementType<{}>;
|
||||
enabled: IComputedValue<boolean>;
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"outDir": "static/build/library/",
|
||||
"paths": {
|
||||
"*": [
|
||||
"node_modules/*",
|
||||
@ -17,6 +19,8 @@
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"package.json",
|
||||
"webpack/vars.ts",
|
||||
"src/**/*",
|
||||
"types/*.d.ts",
|
||||
],
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"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/"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@ -23,5 +23,10 @@
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"../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",
|
||||
"out": "../../docs/extensions/api",
|
||||
"excludePrivate": true,
|
||||
"includes": [
|
||||
"src/"
|
||||
"entryPointStrategy": "expand",
|
||||
"entryPoints": [
|
||||
"src/extension-api.ts",
|
||||
"../core/src/common/library.ts",
|
||||
"../core/src/main/library.ts",
|
||||
"../core/src/renderer/library.ts"
|
||||
],
|
||||
"hideBreadcrumbs": true,
|
||||
"disableSources": true
|
||||
"disableSources": true,
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user