X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Ft2h.init;h=9dd8f91edc15417d0e2c3cba67b39b68d9b2b038;hb=c74b08c5c60a83603758f382f9b4f5789f509cd6;hp=e7760f45277f16440f612bca246ef2cb51ee718e;hpb=d13effb0b4d812b39495b72aa5f115a2ee5d2fe9;p=ffmpeg diff --git a/doc/t2h.init b/doc/t2h.init index e7760f45277..9dd8f91edc1 100644 --- a/doc/t2h.init +++ b/doc/t2h.init @@ -4,23 +4,27 @@ sub FFmpeg_end_section($$) { } -$EXTRA_HEAD = -' -'; - -$CSS_LINES = $ENV{"FFMPEG_CSS"} || < +my $TEMPLATE_HEADER1 = $ENV{"FFMPEG_HEADER1"} || < + + + + + FFmpeg documentation + EOT -my $TEMPLATE_HEADER = $ENV{"FFMPEG_HEADER"} || < - - - - +my $TEMPLATE_HEADER2 = $ENV{"FFMPEG_HEADER2"} || < + + EOT -$PRE_BODY_CLOSE = ''; +my $TEMPLATE_FOOTER = $ENV{"FFMPEG_FOOTER"} || < + + +EOT $SMALL_RULE = ''; $BODYTEXT = ''; @@ -82,21 +86,25 @@ sub FFmpeg_print_page_head($$) $longtitle = "FFmpeg documentation : " . $longtitle; print $fh < - +$TEMPLATE_HEADER1 +$description + + $Texi2HTML::THISDOC{'copying'} - -$longtitle - -$description - - $encoding -$CSS_LINES -$TEMPLATE_HEADER +$TEMPLATE_HEADER2 +EOT +} + +$print_page_foot = \&FFmpeg_print_page_foot; +sub FFmpeg_print_page_foot($$) +{ + my $fh = shift; + print $fh <