You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.1KB

  1. # no horiz rules between sections
  2. $end_section = \&FFmpeg_end_section;
  3. sub FFmpeg_end_section($$)
  4. {
  5. }
  6. $EXTRA_HEAD =
  7. '<link rel="icon" href="favicon.png" type="image/png" />
  8. <link rel="stylesheet" type="text/css" href="default.css" />
  9. ';
  10. $AFTER_BODY_OPEN =
  11. '<div id="container">
  12. <div id="body">';
  13. $PRE_BODY_CLOSE = '</div></div>';
  14. $SMALL_RULE = '';
  15. $BODYTEXT = '';
  16. $print_page_foot = \&FFmpeg_print_page_foot;
  17. sub FFmpeg_print_page_foot($$)
  18. {
  19. my $fh = shift;
  20. print $fh '<div id="footer">' . "\n";
  21. T2H_DEFAULT_print_page_foot($fh);
  22. print $fh "</div>\n";
  23. }
  24. $print_page_head = \&FFmpeg_print_page_head;
  25. sub FFmpeg_print_page_head($$)
  26. {
  27. my $fh = shift;
  28. my $longtitle = "$Texi2HTML::THISDOC{'title_no_texi'}";
  29. $longtitle .= ": $Texi2HTML::NO_TEXI{'This'}" if exists $Texi2HTML::NO_TEXI{'This'};
  30. my $description = $DOCUMENT_DESCRIPTION;
  31. $description = $longtitle if (!defined($description));
  32. $description = "<meta name=\"description\" content=\"$description\">" if
  33. ($description ne '');
  34. $description = $Texi2HTML::THISDOC{'documentdescription'} if (defined($Texi2HTML::THISDOC{'documentdescription'}));
  35. my $encoding = '';
  36. $encoding = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$ENCODING\">" if (defined($ENCODING) and ($ENCODING ne ''));
  37. $longtitle =~ s/Documentation.*//g;
  38. $longtitle = "FFmpeg documentation : " . $longtitle;
  39. print $fh <<EOT;
  40. $DOCTYPE
  41. <html>
  42. $Texi2HTML::THISDOC{'copying'}<!-- Created on $Texi2HTML::THISDOC{today} by $Texi2HTML::THISDOC{program} -->
  43. <!--
  44. $Texi2HTML::THISDOC{program_authors}
  45. -->
  46. <head>
  47. <title>$longtitle</title>
  48. $description
  49. <meta name="keywords" content="$longtitle">
  50. <meta name="resource-type" content="document">
  51. <meta name="distribution" content="global">
  52. <meta name="Generator" content="$Texi2HTML::THISDOC{program}">
  53. $encoding
  54. $CSS_LINES
  55. $EXTRA_HEAD
  56. </head>
  57. <body $BODYTEXT>
  58. $AFTER_BODY_OPEN
  59. EOT
  60. }
  61. # no navigation elements
  62. $SECTION_NAVIGATION = 0;
  63. # the same for texi2html 5.0
  64. $HEADERS = 0;
  65. # TOC and Chapter headings link
  66. $TOC_LINKS = 1;
  67. # print the TOC where @contents is used
  68. $INLINE_CONTENTS = 1;