diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/kernel-doc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index f50a70f550b3..8a4ec43a4985 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
@@ -583,14 +583,14 @@ sub output_function_xml(%) { | |||
583 | $id = "API-".$args{'function'}; | 583 | $id = "API-".$args{'function'}; |
584 | $id =~ s/[^A-Za-z0-9]/-/g; | 584 | $id =~ s/[^A-Za-z0-9]/-/g; |
585 | 585 | ||
586 | print "<refentry>\n"; | 586 | print "<refentry id=\"$id\">\n"; |
587 | print "<refentryinfo>\n"; | 587 | print "<refentryinfo>\n"; |
588 | print " <title>LINUX</title>\n"; | 588 | print " <title>LINUX</title>\n"; |
589 | print " <productname>Kernel Hackers Manual</productname>\n"; | 589 | print " <productname>Kernel Hackers Manual</productname>\n"; |
590 | print " <date>$man_date</date>\n"; | 590 | print " <date>$man_date</date>\n"; |
591 | print "</refentryinfo>\n"; | 591 | print "</refentryinfo>\n"; |
592 | print "<refmeta>\n"; | 592 | print "<refmeta>\n"; |
593 | print " <refentrytitle><phrase id=\"$id\">".$args{'function'}."</phrase></refentrytitle>\n"; | 593 | print " <refentrytitle><phrase>".$args{'function'}."</phrase></refentrytitle>\n"; |
594 | print " <manvolnum>9</manvolnum>\n"; | 594 | print " <manvolnum>9</manvolnum>\n"; |
595 | print "</refmeta>\n"; | 595 | print "</refmeta>\n"; |
596 | print "<refnamediv>\n"; | 596 | print "<refnamediv>\n"; |
@@ -659,14 +659,14 @@ sub output_struct_xml(%) { | |||
659 | $id = "API-struct-".$args{'struct'}; | 659 | $id = "API-struct-".$args{'struct'}; |
660 | $id =~ s/[^A-Za-z0-9]/-/g; | 660 | $id =~ s/[^A-Za-z0-9]/-/g; |
661 | 661 | ||
662 | print "<refentry>\n"; | 662 | print "<refentry id=\"$id\">\n"; |
663 | print "<refentryinfo>\n"; | 663 | print "<refentryinfo>\n"; |
664 | print " <title>LINUX</title>\n"; | 664 | print " <title>LINUX</title>\n"; |
665 | print " <productname>Kernel Hackers Manual</productname>\n"; | 665 | print " <productname>Kernel Hackers Manual</productname>\n"; |
666 | print " <date>$man_date</date>\n"; | 666 | print " <date>$man_date</date>\n"; |
667 | print "</refentryinfo>\n"; | 667 | print "</refentryinfo>\n"; |
668 | print "<refmeta>\n"; | 668 | print "<refmeta>\n"; |
669 | print " <refentrytitle><phrase id=\"$id\">".$args{'type'}." ".$args{'struct'}."</phrase></refentrytitle>\n"; | 669 | print " <refentrytitle><phrase>".$args{'type'}." ".$args{'struct'}."</phrase></refentrytitle>\n"; |
670 | print " <manvolnum>9</manvolnum>\n"; | 670 | print " <manvolnum>9</manvolnum>\n"; |
671 | print "</refmeta>\n"; | 671 | print "</refmeta>\n"; |
672 | print "<refnamediv>\n"; | 672 | print "<refnamediv>\n"; |
@@ -743,14 +743,14 @@ sub output_enum_xml(%) { | |||
743 | $id = "API-enum-".$args{'enum'}; | 743 | $id = "API-enum-".$args{'enum'}; |
744 | $id =~ s/[^A-Za-z0-9]/-/g; | 744 | $id =~ s/[^A-Za-z0-9]/-/g; |
745 | 745 | ||
746 | print "<refentry>\n"; | 746 | print "<refentry id=\"$id\">\n"; |
747 | print "<refentryinfo>\n"; | 747 | print "<refentryinfo>\n"; |
748 | print " <title>LINUX</title>\n"; | 748 | print " <title>LINUX</title>\n"; |
749 | print " <productname>Kernel Hackers Manual</productname>\n"; | 749 | print " <productname>Kernel Hackers Manual</productname>\n"; |
750 | print " <date>$man_date</date>\n"; | 750 | print " <date>$man_date</date>\n"; |
751 | print "</refentryinfo>\n"; | 751 | print "</refentryinfo>\n"; |
752 | print "<refmeta>\n"; | 752 | print "<refmeta>\n"; |
753 | print " <refentrytitle><phrase id=\"$id\">enum ".$args{'enum'}."</phrase></refentrytitle>\n"; | 753 | print " <refentrytitle><phrase>enum ".$args{'enum'}."</phrase></refentrytitle>\n"; |
754 | print " <manvolnum>9</manvolnum>\n"; | 754 | print " <manvolnum>9</manvolnum>\n"; |
755 | print "</refmeta>\n"; | 755 | print "</refmeta>\n"; |
756 | print "<refnamediv>\n"; | 756 | print "<refnamediv>\n"; |
@@ -809,14 +809,14 @@ sub output_typedef_xml(%) { | |||
809 | $id = "API-typedef-".$args{'typedef'}; | 809 | $id = "API-typedef-".$args{'typedef'}; |
810 | $id =~ s/[^A-Za-z0-9]/-/g; | 810 | $id =~ s/[^A-Za-z0-9]/-/g; |
811 | 811 | ||
812 | print "<refentry>\n"; | 812 | print "<refentry id=\"$id\">\n"; |
813 | print "<refentryinfo>\n"; | 813 | print "<refentryinfo>\n"; |
814 | print " <title>LINUX</title>\n"; | 814 | print " <title>LINUX</title>\n"; |
815 | print " <productname>Kernel Hackers Manual</productname>\n"; | 815 | print " <productname>Kernel Hackers Manual</productname>\n"; |
816 | print " <date>$man_date</date>\n"; | 816 | print " <date>$man_date</date>\n"; |
817 | print "</refentryinfo>\n"; | 817 | print "</refentryinfo>\n"; |
818 | print "<refmeta>\n"; | 818 | print "<refmeta>\n"; |
819 | print " <refentrytitle><phrase id=\"$id\">typedef ".$args{'typedef'}."</phrase></refentrytitle>\n"; | 819 | print " <refentrytitle><phrase>typedef ".$args{'typedef'}."</phrase></refentrytitle>\n"; |
820 | print " <manvolnum>9</manvolnum>\n"; | 820 | print " <manvolnum>9</manvolnum>\n"; |
821 | print "</refmeta>\n"; | 821 | print "</refmeta>\n"; |
822 | print "<refnamediv>\n"; | 822 | print "<refnamediv>\n"; |