projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32caa7b
)
doc: add support for an optional navigation bar in texi2html pages
author
Janne Grunau
<janne-libav@jannau.net>
Sun, 13 Nov 2011 18:32:35 +0000
(19:32 +0100)
committer
Janne Grunau
<janne-libav@jannau.net>
Mon, 14 Nov 2011 00:12:15 +0000
(
01:12
+0100)
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.
doc/t2h.init
patch
|
blob
|
history
diff --git
a/doc/t2h.init
b/doc/t2h.init
index
59a5ed8
..
7c35cd8
100644
(file)
--- 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>';