Commit bdfe2be3 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

scripts: kernel-doc: change default to ReST format

Right now, if kernel-doc is called without arguments, it
defaults to man pages. IMO, it makes more sense to
default to ReST, as this is the output that it is most
used nowadays, and it easier to check if everything got
parsed fine on an enriched text mode format.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent b031ac4e
...@@ -268,12 +268,12 @@ my $kernelversion; ...@@ -268,12 +268,12 @@ my $kernelversion;
my $dohighlight = ""; my $dohighlight = "";
my $verbose = 0; my $verbose = 0;
my $output_mode = "man"; my $output_mode = "rst";
my $output_preformatted = 0; my $output_preformatted = 0;
my $no_doc_sections = 0; my $no_doc_sections = 0;
my $enable_lineno = 0; my $enable_lineno = 0;
my @highlights = @highlights_man; my @highlights = @highlights_rst;
my $blankline = $blankline_man; my $blankline = $blankline_rst;
my $modulename = "Kernel API"; my $modulename = "Kernel API";
use constant { use constant {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment