You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/24 21:17:12 UTC
svn commit: r1581032 - /thrift/cms-site/trunk/lib/path.pm
Author: joes
Date: Mon Mar 24 20:17:11 2014
New Revision: 1581032
URL: http://svn.apache.org/r1581032
Log:
beetter
Modified:
thrift/cms-site/trunk/lib/path.pm
Modified: thrift/cms-site/trunk/lib/path.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/path.pm?rev=1581032&r1=1581031&r2=1581032&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/path.pm (original)
+++ thrift/cms-site/trunk/lib/path.pm Mon Mar 24 20:17:11 2014
@@ -9,7 +9,7 @@ my %thrift_args = (
preprocess => 1, # generally enable template preprocessing of .md files
repo => 'thrift.git', # set snippet default git repo
template => 'default.html', # set common template argument (mainly for .md files)
- snippet_footer =>
+ snippet_footer => # append this string to every generated snipppet block
q(<p>This snippet was generated by {{ conf.title }}'s
<strong>source tree docs</strong>:
<a href="{{ $snippet.uri }}"</a>{{ $snippet.path }}</a>
@@ -34,7 +34,7 @@ our @patterns = (
}],
[qr!^/test/!, snippet => { %thrift_args,
view => [qw/reconstruct trim_local_link_extensions single_narrative/],
- snippet_footer =>
+ snippet_footer => # these are full pages not simply snippets
q(<p>This page was generated by {{ conf.title }}'s
<strong>source tree docs</strong>:
<a href="{{ $snippet.uri }}"</a>{{ $snippet.path }}</a>