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:
Tiago Costa 2022-06-07 17:16:46 +01:00 committed by GitHub
parent e10f85f0d4
commit 25fea16b0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 4 deletions

View file

@ -28,6 +28,7 @@ layout: landing
{ pageId: "kibDevDocsOpsBabelPluginSyntheticPackages" },
{ pageId: "kibDevDocsOpsUiSharedDepsNpm" },
{ pageId: "kibDevDocsOpsUiSharedDepsSrc" },
{ pageId: "kibDevDocsOpsPluginDiscovery" },
]}
/>

View file

@ -184,7 +184,8 @@
{ "id": "kibDevDocsOpsTypeSummarizer" },
{ "id": "kibDevDocsOpsBabelPluginSyntheticPackages" },
{ "id": "kibDevDocsOpsUiSharedDepsNpm" },
{ "id": "kibDevDocsOpsUiSharedDepsSrc" }
{ "id": "kibDevDocsOpsUiSharedDepsSrc" },
{ "id": "kibDevDocsOpsPluginDiscovery" }
]
},
{

View file

@ -1,3 +0,0 @@
# @kbn/plugin-discovery
Logic used to find plugins in the repository.

View 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