Sha256: ad168d98f45ddf330d754adeb555be43a7d09c59ab00b5528253feb0a0c01832
Contents?: true
Size: 392 Bytes
Versions: 4
Compression:
Stored size: 392 Bytes
Contents
module Octopress module Docs class DocsSiteHook < Octopress::Hooks::Site def post_read(site) if ENV['OCTOPRESS_DOCS'] Octopress.site = site site.pages.concat Octopress::Docs.pages end end def merge_payload(payload, site) if ENV['OCTOPRESS_DOCS'] Octopress::Docs.pages_info end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems