[FFmpeg-cvslog] doc: add support for an optional navigation bar in texi2html pages

Janne Grunau git at videolan.org
Tue Nov 15 03:27:18 CET 2011


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Sun Nov 13 19:32:35 2011 +0100| [d8a091698af2a80495b7a4377253781080946380] | committer: Janne Grunau

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d8a091698af2a80495b7a4377253781080946380
---

 doc/t2h.init |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/doc/t2h.init b/doc/t2h.init
index 59a5ed8..7c35cd8 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>';
 



More information about the ffmpeg-cvslog mailing list