diff --git a/docs/_plugins/bridge.rb b/docs/_plugins/bridge.rb index f2e606383f..69a13fbbbd 100644 --- a/docs/_plugins/bridge.rb +++ b/docs/_plugins/bridge.rb @@ -3,7 +3,8 @@ require 'yaml' module Bridge class Generator < Jekyll::Generator def generate(site) - site.data["configBridge"] = YAML.load_file("./grunt/configBridge.json") + path = File.join(site.source, "../grunt/configBridge.json") + site.data["configBridge"] = YAML.load_file(path) end end end