Docs: Fix typos for 'Build a data source' tutorial (#63448)

This commit is contained in:
Andres Martinez Gotor
2023-02-21 09:26:14 +01:00
committed by GitHub
parent 4b5d8b1002
commit 5ce884e92a
3 changed files with 7 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ Tooling for modern web development can be tricky to wrap your head around. While
Grafana [create-plugin tool](https://www.npmjs.com/package/@grafana/create-plugin) is a CLI application that simplifies Grafana plugin development, so that you can focus on code. The tool scaffolds a starter plugin and all the required configuration for you.
1. In the plugin directory, create a plugin from template using create-plugin:
1. In the plugin directory, create a plugin from template using create-plugin. Select `datasource` when asked the kind of plugin:
```
npx @grafana/create-plugin

View File

@@ -4,7 +4,7 @@ title: Plugin Anatomy
Plugins come in different shapes and sizes. Before we dive deeper, let's look at some of the properties that are shared by all of them.
Every plugin you create will require at least two files: `plugin.json` and `module.ts`.
Every plugin you create will require at least two files: `plugin.json` and `src/module.ts`.
### plugin.json