Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Mauro Carvalho Chehab and committed by
Jonathan Corbet
bdfe2be3 b031ac4e

+3 -3
+3 -3
scripts/kernel-doc
··· 268 268 my $dohighlight = ""; 269 269 270 270 my $verbose = 0; 271 - my $output_mode = "man"; 271 + my $output_mode = "rst"; 272 272 my $output_preformatted = 0; 273 273 my $no_doc_sections = 0; 274 274 my $enable_lineno = 0; 275 - my @highlights = @highlights_man; 276 - my $blankline = $blankline_man; 275 + my @highlights = @highlights_rst; 276 + my $blankline = $blankline_rst; 277 277 my $modulename = "Kernel API"; 278 278 279 279 use constant {