mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
32caa7b13c
commit
d8a091698a
|
@ -9,9 +9,13 @@ $EXTRA_HEAD =
|
||||||
<link rel="stylesheet" type="text/css" href="default.css" />
|
<link rel="stylesheet" type="text/css" href="default.css" />
|
||||||
';
|
';
|
||||||
|
|
||||||
|
|
||||||
|
my $LIBAV_NAVBAR = $ENV{"LIBAV_NAVBAR"} || '';
|
||||||
|
|
||||||
$AFTER_BODY_OPEN =
|
$AFTER_BODY_OPEN =
|
||||||
'<div id="container">
|
'<div id="container">' .
|
||||||
<div id="body">';
|
"\n$LIBAV_NAVBAR\n" .
|
||||||
|
'<div id="body">';
|
||||||
|
|
||||||
$PRE_BODY_CLOSE = '</div></div>';
|
$PRE_BODY_CLOSE = '</div></div>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue