22 23 24 25 26
# File 'lib/octopress/docs/hooks.rb', line 22 def merge_payload(payload, site) if Octopress::Docs.enabled? Octopress::Docs.pages_info end end
15 16 17 18 19 20
# File 'lib/octopress/docs/hooks.rb', line 15 def pre_render(site) if Octopress::Docs.enabled? Octopress.site = site site.pages.concat Octopress::Docs.pages end end