From: Nigel Metheringham Date: Sat, 9 Jun 2012 19:01:35 +0000 (+0100) Subject: Generate toc_url entry into XML X-Git-Tag: exim-4_89_1~49 X-Git-Url: https://git.exim.org/exim-website.git/commitdiff_plain/5e3d220fcfd14b6953ee72a3df1f4737a4ce86f9 Generate toc_url entry into XML --- diff --git a/script/gen.pl b/script/gen.pl index bb94a7c..17f697d 100755 --- a/script/gen.pl +++ b/script/gen.pl @@ -155,6 +155,7 @@ sub do_doc { : sprintf( '%sch%02d.html', $prepend_chapter, $counter - 1 ) ); $chapter->appendTextChild( 'next_url', sprintf( '%sch%02d.html', $prepend_chapter, $counter + 1 ) ) unless int(@chapters) == $counter; + $chapter->appendTextChild( 'toc_url', ( $type eq 'filter' ? 'filter' : 'index' ) . '.html' ); $chapter->appendTextChild( 'canonical_url', sprintf(