Sha256: 6ffac10929598ecddaf9fa732bf75c81b824b73b1a70513e9da5e8a6df62504b
Contents?: true
Size: 411 Bytes
Versions: 20
Compression:
Stored size: 411 Bytes
Contents
# For plugin authors who need to generate urls pointing to ther doc pages. module Octopress module Ink module Tags class DocUrlTag < Liquid::Tag def initialize(tag_name, markup, tokens) super @url = markup.strip end def render(context) '/' + File.join(context['page']['plugin']['docs_base_path'], @url) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems