[exim-cvs] Generate toc_url entry into XML

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Git Commits Mailing List
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] Generate toc_url entry into XML
Gitweb: http://git.exim.org/exim-website.git/commitdiff/5e3d220fcfd14b6953ee72a3df1f4737a4ce86f9
Commit:     5e3d220fcfd14b6953ee72a3df1f4737a4ce86f9
Parent:     27ac44720ba0b617160e7c61604dd425184cf5c9
Author:     Nigel Metheringham <nigel.metheringham@???>
AuthorDate: Sat Jun 9 20:01:35 2012 +0100
Committer:  Nigel Metheringham <nigel.metheringham@???>
CommitDate: Sat Jun 9 20:01:35 2012 +0100


    Generate toc_url entry into XML
---
 script/gen.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


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(