2011-01-29 14:24:13 +02:00
|
|
|
# no horiz rules between sections
|
2011-11-14 01:43:12 +03:00
|
|
|
$end_section = \&FFmpeg_end_section;
|
|
|
|
sub FFmpeg_end_section($$)
|
2011-01-29 14:24:13 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-11-13 06:05:13 +03:00
|
|
|
$EXTRA_HEAD =
|
2011-11-13 14:25:29 +03:00
|
|
|
'<link rel="icon" href="favicon.png" type="image/png" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="default.css" />
|
|
|
|
';
|
2011-11-13 06:05:13 +03:00
|
|
|
|
2011-11-13 21:32:35 +03:00
|
|
|
|
2011-11-15 05:13:42 +03:00
|
|
|
my $FFMPEG_NAVBAR = $ENV{"FFMPEG_NAVBAR"} || '';
|
2011-11-13 21:32:35 +03:00
|
|
|
|
2011-11-13 14:25:29 +03:00
|
|
|
$AFTER_BODY_OPEN =
|
2011-11-13 21:32:35 +03:00
|
|
|
'<div id="container">' .
|
2011-11-15 05:13:42 +03:00
|
|
|
"\n$FFMPEG_NAVBAR\n" .
|
2011-11-13 21:32:35 +03:00
|
|
|
'<div id="body">';
|
2011-11-13 06:05:13 +03:00
|
|
|
|
|
|
|
$PRE_BODY_CLOSE = '</div></div>';
|
|
|
|
|
|
|
|
$SMALL_RULE = '';
|
|
|
|
$BODYTEXT = '';
|
|
|
|
|
2011-11-14 01:43:12 +03:00
|
|
|
$print_page_foot = \&FFmpeg_print_page_foot;
|
|
|
|
sub FFmpeg_print_page_foot($$)
|
2011-01-29 14:24:13 +02:00
|
|
|
{
|
|
|
|
my $fh = shift;
|
2011-11-13 14:25:29 +03:00
|
|
|
print $fh '<div id="footer">' . "\n";
|
2011-01-29 14:24:13 +02:00
|
|
|
T2H_DEFAULT_print_page_foot($fh);
|
2011-11-13 14:25:29 +03:00
|
|
|
print $fh "</div>\n";
|
2011-11-13 06:05:13 +03:00
|
|
|
}
|
|
|
|
|
2011-11-14 01:43:12 +03:00
|
|
|
$print_page_head = \&FFmpeg_print_page_head;
|
|
|
|
sub FFmpeg_print_page_head($$)
|
2011-11-13 06:05:13 +03:00
|
|
|
{
|
|
|
|
my $fh = shift;
|
|
|
|
my $longtitle = "$Texi2HTML::THISDOC{'title_no_texi'}";
|
|
|
|
$longtitle .= ": $Texi2HTML::NO_TEXI{'This'}" if exists $Texi2HTML::NO_TEXI{'This'};
|
|
|
|
my $description = $DOCUMENT_DESCRIPTION;
|
|
|
|
$description = $longtitle if (!defined($description));
|
|
|
|
$description = "<meta name=\"description\" content=\"$description\">" if
|
|
|
|
($description ne '');
|
|
|
|
$description = $Texi2HTML::THISDOC{'documentdescription'} if (defined($Texi2HTML::THISDOC{'documentdescription'}));
|
|
|
|
my $encoding = '';
|
|
|
|
$encoding = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$ENCODING\">" if (defined($ENCODING) and ($ENCODING ne ''));
|
|
|
|
$longtitle =~ s/Documentation.*//g;
|
2011-11-14 01:43:12 +03:00
|
|
|
$longtitle = "FFmpeg documentation : " . $longtitle;
|
2011-11-13 06:05:13 +03:00
|
|
|
|
|
|
|
print $fh <<EOT;
|
|
|
|
$DOCTYPE
|
|
|
|
<html>
|
|
|
|
$Texi2HTML::THISDOC{'copying'}<!-- Created on $Texi2HTML::THISDOC{today} by $Texi2HTML::THISDOC{program} -->
|
|
|
|
<!--
|
|
|
|
$Texi2HTML::THISDOC{program_authors}
|
|
|
|
-->
|
|
|
|
<head>
|
|
|
|
<title>$longtitle</title>
|
|
|
|
|
|
|
|
$description
|
|
|
|
<meta name="keywords" content="$longtitle">
|
|
|
|
<meta name="resource-type" content="document">
|
|
|
|
<meta name="distribution" content="global">
|
|
|
|
<meta name="Generator" content="$Texi2HTML::THISDOC{program}">
|
|
|
|
$encoding
|
|
|
|
$CSS_LINES
|
|
|
|
$EXTRA_HEAD
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body $BODYTEXT>
|
|
|
|
$AFTER_BODY_OPEN
|
|
|
|
EOT
|
2011-01-29 14:24:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# no navigation elements
|
|
|
|
$SECTION_NAVIGATION = 0;
|
|
|
|
# the same for texi2html 5.0
|
|
|
|
$HEADERS = 0;
|
|
|
|
|
|
|
|
# TOC and Chapter headings link
|
|
|
|
$TOC_LINKS = 1;
|
|
|
|
|
|
|
|
# print the TOC where @contents is used
|
|
|
|
$INLINE_CONTENTS = 1;
|