[Groonga-commit] droonga/droonga.org at 944760a [gh-pages] Split into subsections

Back to archive index

Yoji Shidara null+****@clear*****
Thu Jan 30 18:35:55 JST 2014


Yoji Shidara	2014-01-30 18:35:55 +0900 (Thu, 30 Jan 2014)

  New Revision: 944760a235aa3d36fbc12b4eb9d9b3dd21d38153
  https://github.com/droonga/droonga.org/commit/944760a235aa3d36fbc12b4eb9d9b3dd21d38153

  Message:
    Split into subsections

  Modified files:
    tutorial/plugin-development/index.md

  Modified: tutorial/plugin-development/index.md (+9 -1)
===================================================================
--- tutorial/plugin-development/index.md    2014-01-30 17:57:16 +0900 (7bf4002)
+++ tutorial/plugin-development/index.md    2014-01-30 18:35:55 +0900 (25ea277)
@@ -71,7 +71,10 @@ engine
             └── input_adapter
 ```
 
-Put a plugin code into `input_adapter` plugin.
+
+## Create a plugin
+
+Put a plugin code into `input_adapter` directory.
 
 lib/droonga/plugin/input_adapter/example.rb:
 
@@ -85,6 +88,8 @@ end
 
 This plugin does nothing except registering itself to Droonga.
 
+## Activate plugin with `catalog.json`
+
 You need to update `catalog.json` to activate your plugin.
 Insert following at the last part of `catalog.json` in order to make `"input_adapter"` become a key of the top level hash:
 
@@ -98,6 +103,8 @@ catalog.json:
 }
 ```
 
+## Run
+
 Let's Droonga get started. Note that you need to specify `./lib` directory in `RUBYLIB` environment variable in order to make ruby possible to find your plugin.
 
 ```
@@ -105,5 +112,6 @@ RUBYLIB=./lib fluentd --config fluentd.conf
 ```
 
 
+
   [tutorial]: ../
   [overview]: ../../overview/
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index