Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(NA): adds @kbn/plugin-discovery into ops devdocs #133632

Merged
merged 2 commits into from
Jun 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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