Merge tag 'docs-5.18-2' of git://git.lwn.net/linux
Pull more documentation updates from Jonathan Corbet: "Some late-arriving documentation improvements. This is mostly build-system fixes from Mauro and Akira; I also took the liberty of dropping in my 'messy diffstat' document" * tag 'docs-5.18-2' of git://git.lwn.net/linux: docs: Add a document on how to fix a messy diffstat docs: sphinx/requirements: Limit jinja2<3.1 Documentation: kunit: Fix cross-referencing warnings scripts/kernel-doc: change the line number meta info scripts/get_abi: change the file/line number meta info docs: kernel_include.py: add sphinx build dependencies docs: kernel_abi.py: add sphinx build dependencies docs: kernel_feat.py: add build dependencies scripts/get_feat.pl: allow output the parsed file names docs: kfigure.py: Don't warn of missing PDF converter in 'make htmldocs' Documentation: Fix duplicate statement about raw_spinlock_t type
This commit is contained in:
@@ -327,7 +327,7 @@ sub output_rest {
|
||||
my @filepath = split / /, $data{$what}->{filepath};
|
||||
|
||||
if ($enable_lineno) {
|
||||
printf "#define LINENO %s%s#%s\n\n",
|
||||
printf ".. LINENO %s%s#%s\n\n",
|
||||
$prefix, $file[0],
|
||||
$data{$what}->{line_no};
|
||||
}
|
||||
@@ -1023,7 +1023,7 @@ logic (B<--no-rst-source>).
|
||||
|
||||
=item B<--enable-lineno>
|
||||
|
||||
Enable output of #define LINENO lines.
|
||||
Enable output of .. LINENO lines.
|
||||
|
||||
=item B<--debug> I<debug level>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user