jekyll-plugin-graph-json

jekyll-plugin-graph-json

jekyll-plugin-graph-json

グラフ出力用プラグイン。 個人的に作ったもののため、他の使い道は多分ない。

インストール

<Jekyll Dir>/plugins/graph-json.rbを突っ込むだけ。

オプション

_config.ymlには以下の設定が可能。

graph-json:
  path: [String]
  level_undefined: [String]
  • graph-json/path jsonファイルを出力する
  • graph-json/level_undefined レベル未登録の場合に出力する内容

デフォルト値は以下の設定。

graph-json:
  path: "graph.json"
  level_undefined: "レベル未登録"

使い方

jekyllにより勝手に出力される。お好みでD3.jsなどに食わせてあげる。