Skip to content

Commit

Permalink
docs(NA): adds @kbn/plugin-discovery into ops devdocs (#133632)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
mistic and jbudz committed Jun 7, 2022
1 parent e10f85f commit 25fea16
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
1 change: 1 addition & 0 deletions dev_docs/operations/operations_landing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ layout: landing
{ pageId: "kibDevDocsOpsBabelPluginSyntheticPackages" },
{ pageId: "kibDevDocsOpsUiSharedDepsNpm" },
{ pageId: "kibDevDocsOpsUiSharedDepsSrc" },
{ pageId: "kibDevDocsOpsPluginDiscovery" },
]}
/>

Expand Down
3 changes: 2 additions & 1 deletion nav-kibana-dev.docnav.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@
{ "id": "kibDevDocsOpsTypeSummarizer" },
{ "id": "kibDevDocsOpsBabelPluginSyntheticPackages" },
{ "id": "kibDevDocsOpsUiSharedDepsNpm" },
{ "id": "kibDevDocsOpsUiSharedDepsSrc" }
{ "id": "kibDevDocsOpsUiSharedDepsSrc" },
{ "id": "kibDevDocsOpsPluginDiscovery" }
]
},
{
Expand Down
3 changes: 0 additions & 3 deletions packages/kbn-plugin-discovery/README.md

This file was deleted.

24 changes: 24 additions & 0 deletions packages/kbn-plugin-discovery/README.mdx
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 25fea16

Please sign in to comment.