mdb-ui-kit/docs/_plugins/bridge.rb

11 lines
230 B
Ruby
Raw Normal View History

2015-11-20 00:58:21 +03:00
require 'yaml'
module Bridge
class Generator < Jekyll::Generator
def generate(site)
2015-12-21 19:42:29 +03:00
path = File.join(site.source, "../grunt/configBridge.json")
site.data["configBridge"] = YAML.load_file(path)
2015-11-20 00:58:21 +03:00
end
end
end