Update codebox (#9430)

* updated the codeboxes in docs

* codebox change from json to http
This commit is contained in:
Patrick O'Carroll
2017-10-05 19:01:03 +02:00
committed by Torkel Ödegaard
parent 19b5d91b75
commit 81be4e2612
29 changed files with 1574 additions and 1260 deletions

View File

@ -23,7 +23,7 @@ The most important fields are the first three, especially the id. The convention
Examples:
```
```bash
raintank-worldping-app
grafana-simple-json-datasource
grafana-piechart-panel
@ -66,7 +66,7 @@ The README.md file is rendered both on Grafana.net and in the plugins section in
Here is a typical directory structure for a plugin.
```
```bash
johnnyb-awesome-datasource
|-- dist
|-- spec

View File

@ -45,7 +45,7 @@ The javascript object that communicates with the database and transforms data to
The Datasource should contain the following functions:
```
```javascript
query(options) //used by panels to get data
testDatasource() //used by datasource configuration page to make sure the connection is working
annotationQuery(options) // used by dashboards to get annotations