doc: add support for an optional navigation bar in texi2html pages

The navigation header for the web pages lives in a different repository.
Read it during documentation regeneration to use the same navigation bar
on all pages.
This commit is contained in:
Janne Grunau 2011-11-13 19:32:35 +01:00
parent 32caa7b13c
commit d8a091698a
1 changed files with 6 additions and 2 deletions

View File

@ -9,9 +9,13 @@ $EXTRA_HEAD =
<link rel="stylesheet" type="text/css" href="default.css" />
';
my $LIBAV_NAVBAR = $ENV{"LIBAV_NAVBAR"} || '';
$AFTER_BODY_OPEN =
'<div id="container">
<div id="body">';
'<div id="container">' .
"\n$LIBAV_NAVBAR\n" .
'<div id="body">';
$PRE_BODY_CLOSE = '</div></div>';