mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
docs(NA): adds @kbn/plugin-discovery into ops devdocs (#133632)
* docs(NA): adds @kbn/plugin-discovery into ops devdocs * chore(NA): update packages/kbn-plugin-discovery/README.mdx Co-authored-by: Jonathan Budzenski <jon@budzenski.me> Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
This commit is contained in:
parent
e10f85f0d4
commit
25fea16b0f
4 changed files with 27 additions and 4 deletions
|
@ -28,6 +28,7 @@ layout: landing
|
|||
{ pageId: "kibDevDocsOpsBabelPluginSyntheticPackages" },
|
||||
{ pageId: "kibDevDocsOpsUiSharedDepsNpm" },
|
||||
{ pageId: "kibDevDocsOpsUiSharedDepsSrc" },
|
||||
{ pageId: "kibDevDocsOpsPluginDiscovery" },
|
||||
]}
|
||||
/>
|
||||
|
||||
|
|
|
@ -184,7 +184,8 @@
|
|||
{ "id": "kibDevDocsOpsTypeSummarizer" },
|
||||
{ "id": "kibDevDocsOpsBabelPluginSyntheticPackages" },
|
||||
{ "id": "kibDevDocsOpsUiSharedDepsNpm" },
|
||||
{ "id": "kibDevDocsOpsUiSharedDepsSrc" }
|
||||
{ "id": "kibDevDocsOpsUiSharedDepsSrc" },
|
||||
{ "id": "kibDevDocsOpsPluginDiscovery" }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
# @kbn/plugin-discovery
|
||||
|
||||
Logic used to find plugins in the repository.
|
24
packages/kbn-plugin-discovery/README.mdx
Normal file
24
packages/kbn-plugin-discovery/README.mdx
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
id: kibDevDocsOpsPluginDiscovery
|
||||
slug: /kibana-dev-docs/ops/plugin-discovery
|
||||
title: "@kbn/plugin-discovery"
|
||||
description: A package with logic used to find plugins in the repository
|
||||
date: 2022-06-06
|
||||
tags: ['kibana', 'dev', 'contributor', 'operations', 'plugin', 'discovery']
|
||||
---
|
||||
|
||||
At the moment plugins can live in a couple of different places and in the future will be able
|
||||
to live anywhere in the repository. This is a package that holds custom logic useful to find and
|
||||
parse those.
|
||||
|
||||
## parseKibanaPlatformPlugin
|
||||
|
||||
It returns a platform plugin for a given manifest path
|
||||
|
||||
## getPluginSearchPaths
|
||||
|
||||
It returns the paths where plugins will be searched for
|
||||
|
||||
## simpleKibanaPlatformPluginDiscovery
|
||||
|
||||
It finds and returns the new platform plugins
|
Loading…
Add table
Add a link
Reference in a new issue