From 5cd46e5a0da3841719d0676a06c963c70c5a524c Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 9 Nov 2015 01:15:12 +0100 Subject: Created theme for apigen4, wsat doc fixes --- buildscripts/apigen/pradosoft/source.latte | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'buildscripts/apigen/pradosoft/source.latte') diff --git a/buildscripts/apigen/pradosoft/source.latte b/buildscripts/apigen/pradosoft/source.latte index 9c46f920..7eeffe3c 100644 --- a/buildscripts/apigen/pradosoft/source.latte +++ b/buildscripts/apigen/pradosoft/source.latte @@ -1,18 +1,10 @@ -{* -ApiGen 2.8.0 - API documentation generator for PHP 5.3+ - -Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) -Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) -Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) - -For the full copyright and license information, please view -the file LICENSE.md that was distributed with this source code. -*} {layout '@layout.latte'} {var $robots = false} -{block #title}File {$fileName}{/block} +{block title}File {$fileName}{/block} -{block #content} -
{!$source|sourceAnchors|replaceRE:'~(\\s*(\\d+):\\s*)([^\\n]*\\n)?~','$1$3'}
-{/block} \ No newline at end of file +{block content} +{var $lineRegex = '~(\\s*(\\d+):\\s*)([^\\n]*(?:\\n|$))~'} +
{$source|replaceRE:$lineRegex,'$1'|noescape}
+
{$source|replaceRE:$lineRegex,'$3'|noescape}
+{/block} -- cgit v1.2.3