forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added scratchy tasks and config.js docs
- Loading branch information
Rashid Khan
committed
Nov 26, 2013
1 parent
e73ea48
commit 22993c4
Showing
8 changed files
with
67 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
= Config.js = | ||
config.js is where you will find the core Kibana configuration. This file contains parameter that | ||
must be set before kibana is run for the first time. | ||
== Parameters == | ||
|
||
=== elasticsearch === | ||
|
||
The URL to your elasticsearch server. You almost certainly don't | ||
want 'http://localhost:9200' here. Even if Kibana and Elasticsearch are on | ||
the same host | ||
|
||
By default this will attempt to reach ES at the same host you have | ||
elasticsearch installed on. You probably want to set it to the FQDN of your | ||
elasticsearch host | ||
|
||
=== kibana-int === | ||
|
||
The default ES index to use for storing Kibana specific object | ||
such as stored dashboards | ||
|
||
=== panel_name === | ||
|
||
An array of panel modules available. Panels will only be loaded when they are defined in the | ||
dashboard, but this list is used in the "add panel" interface. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Lint and build CSS | ||
module.exports = function(grunt) { | ||
grunt.registerTask('default', ['jshint:source', 'less:src']); | ||
grunt.registerTask('default', ['jshint:source', 'less:src', 'docs']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Lint and build CSS | ||
module.exports = function(grunt) { | ||
grunt.registerTask('docs', ['clean:docs', 'scratchy:docs']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module.exports = function(config) { | ||
return { | ||
docs: { | ||
src: ['src/app/**/*.js','src/config.js'], | ||
dest: config.docsDir, | ||
options: { | ||
unslash: true, | ||
extension: '.asciidoc' | ||
} | ||
} | ||
} | ||
}; |