[Python-checkins] CVS: python/dist/src/Doc/perl l2hinit.perl,1.52,1.53

Fred L. Drake python-dev@python.org
Tue, 09 Jan 2001 14:02:12 -0800


Update of /cvsroot/python/python/dist/src/Doc/perl
In directory usw-pr-cvs1:/tmp/cvs-serv20761/perl

Modified Files:
	l2hinit.perl 
Log Message:

Added a --global-module-index option to specify a (possibly relative) URL
to the Global Module Index for a set of documents.  This is used to include
a reference to the global index from the per-document module indexes, so
that it is just a little easier to find.

(Someone suggested this, but I do not remember who.  Please let me know if
it was you -- thanks!)


Index: l2hinit.perl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/l2hinit.perl,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -r1.52 -r1.53
*** l2hinit.perl	2001/01/04 15:16:01	1.52
--- l2hinit.perl	2001/01/09 22:02:10	1.53
***************
*** 333,336 ****
--- 333,346 ----
      }
      close(MODIDXFILE);
+ 
+     if ($GLOBAL_MODULE_INDEX) {
+         $prefix = <<MODULE_INDEX_PREFIX;
+ 
+ <p> This index only lists modules documented in this manual.
+   The <em class="citetitle"><a href="$GLOBAL_MODULE_INDEX">Global Module
+      Index</a></em> lists all modules that are documented in this set
+   of manuals.</p>
+ MODULE_INDEX_PREFIX
+     }
      if (!$allthesame) {
  	$prefix .= <<PLAT_DISCUSS;