lib/trifle/docs/harvester/markdown.rb in trifle-docs-0.1.1 vs lib/trifle/docs/harvester/markdown.rb in trifle-docs-0.2.0

- old
+ new

@@ -35,10 +35,10 @@ ).render(data.sub(/^---(.*?)---(\s*)/m, '')) end def meta @meta ||= (YAML.safe_load(data[/^---(.*?)---(\s*)/m].to_s) || {}).merge( - 'url' => "/#{url}", + 'url' => "/#{[namespace, url].compact.join('/')}", 'breadcrumbs' => url.split('/'), 'toc' => toc ) end