浏览代码

docs(plugin): add apps page

bergquist 9 年之前
父节点
当前提交
a531a1709e
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 1 0
      docs/mkdocs.yml
  2. 5 0
      docs/sources/plugins/developing_plugins.md

+ 1 - 0
docs/mkdocs.yml

@@ -88,6 +88,7 @@ pages:
 
 - ['plugins/overview.md', 'Plugins', 'Overview']
 - ['plugins/installation.md', 'Plugins', 'Installation']
+- ['plugins/app.md', 'Plugins', 'App plugins']
 - ['plugins/datasources.md', 'Plugins', 'Datasource plugins']
 - ['plugins/panels.md', 'Plugins', 'Panel plugins']
 - ['plugins/development.md', 'Plugins', 'Plugin development']

+ 5 - 0
docs/sources/plugins/developing_plugins.md

@@ -24,6 +24,11 @@ You can use any build system you like that support systemjs. All the built conte
 
 All our example plugins have build scripted configured.
 
+## module.(js|ts)
+
+This is the entry point for every plugin. This is the place where you should export your plugin implementation. Depending on what kind of plugin you are developing you will be expected to export different things. You can find whats expected for [datasource](http://docs.grafana.org/v3.0/plugins/datasources/), [panels](http://docs.grafana.org/v3.0/plugins/panels/) and [apps](http://docs.grafana.org/v3.0/plugins/app/)
+plugins in the documentation.
+
 ## Start developing your plugin
 There are two ways that you can start developing a Grafana plugin.
 1. Setup a Grafana development environment. [(described here)](https://github.com/grafana/grafana/blob/master/DEVELOPMENT.md)  and place your plugin in the ```data/plugins``` folder.