aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/parse-headers.pl
diff options
context:
space:
mode:
authorHeinrich Schuchardt2021-01-01 01:21:11 +0100
committerTom Rini2021-01-23 09:53:17 -0500
commit10a1df3cd43ba2fe893d5dd1aeb2e7109ef0007f (patch)
treee85d60f96895f660feb2af3855d56c016ffb5666 /doc/sphinx/parse-headers.pl
parent4afc4f37c70eb3b275cdcbd99818fb47493aa7ad (diff)
doc: update Kernel documentation build system
Update the docomentation build system according to Linux v5.11-rc1. With this patch we can build the HTML documentation using either of Sphinx 2 and Sphinx 3. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org> [Fix warning in b4860qds.rst about "Switch Settings"] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'doc/sphinx/parse-headers.pl')
-rwxr-xr-xdoc/sphinx/parse-headers.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/sphinx/parse-headers.pl b/doc/sphinx/parse-headers.pl
index c518050ffc3..b063f2f1cfb 100755
--- a/doc/sphinx/parse-headers.pl
+++ b/doc/sphinx/parse-headers.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
use strict;
use Text::Tabs;
use Getopt::Long;
@@ -110,7 +110,7 @@ while (<IN>) {
) {
my $s = $1;
- $structs{$s} = "struct :c:type:`$s`\\ ";
+ $structs{$s} = "struct $s\\ ";
next;
}
}
@@ -393,7 +393,7 @@ Report bugs to Mauro Carvalho Chehab <mchehab@kernel.org>
Copyright (c) 2016 by Mauro Carvalho Chehab <mchehab+samsung@kernel.org>.
-License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
+License GPLv2: GNU GPL version 2 <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.