aboutsummaryrefslogtreecommitdiffstats
path: root/doc/t2h.init
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2011-11-13 19:32:35 +0100
committerJanne Grunau <janne-libav@jannau.net>2011-11-14 01:12:15 +0100
commitd8a091698af2a80495b7a4377253781080946380 (patch)
tree64d2a4d2e93503f6c54f4fffeb694c7d261b96d3 /doc/t2h.init
parent32caa7b13cecca59213c73fa94dd683c2b003bfd (diff)
downloadffmpeg-d8a091698af2a80495b7a4377253781080946380.tar.gz
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.
Diffstat (limited to 'doc/t2h.init')
-rw-r--r--doc/t2h.init8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/t2h.init b/doc/t2h.init
index 59a5ed8d5e..7c35cd8c53 100644
--- a/doc/t2h.init
+++ b/doc/t2h.init
@@ -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>';