From 1595a8aa07af5d0606de68bee686047937a3734c Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 19 Aug 2009 15:10:27 +0200 Subject: allow a general "tags" document --- lib/WebCoso/Maker.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/WebCoso/Maker.pm b/lib/WebCoso/Maker.pm index 0eb0b02..35dc41f 100644 --- a/lib/WebCoso/Maker.pm +++ b/lib/WebCoso/Maker.pm @@ -81,6 +81,19 @@ my @passes=( '=', \&parseRST], + ["$WebCoso::Common::SRCPATH/tags/()document.(*).rest.txt", + ':', + "$WebCoso::Common::SRCPATH/_webcoso/tags.yml", + ifExists("$WebCoso::Common::SRCPATH/tags/document.\$2.rest.tt"), + '=', + $template->expandTT()], + ["$WebCoso::Common::SRCPATH/tags/()document.(*).du.xml", + ':', + "$WebCoso::Common::SRCPATH/_webcoso/tags.yml", + ifExists("$WebCoso::Common::SRCPATH/tags/document.\$2.rest.txt"), + '=', + \&parseRST], + # normal documents, in subdirs ["$WebCoso::Common::SRCPATH/(**)/document.(*).rest.txt", -- cgit v1.2.3