Re: [PATCH v3 07/21] Documentation/CodingStyle: Convert to ReST markup

From: Jonathan Corbet
Date: Fri Sep 16 2016 - 13:13:27 EST


On Wed, 14 Sep 2016 08:06:36 -0300
Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> wrote:

> - Fix all chapter identation;
> - add c blocks where needed;

Here is where I think we need a bit of a philosophical discussion...

> - Chapter 1: Indentation
> +Indentation
> +-----------

You're a fan of having sphinx do the numbering, and I have no problem
understanding why. But this will defeat people who say "look in chapter 3
of Documentation/CodingStyle". We're removing a bit of information from
the plain-text file and reserving it for the formatted version. If we're
really going to do that, we should do it consciously, with the knowledge
that there is a cost involved.

We'll see this even more with SubmittingPatches, where it is quite common
for people to cite the number of the section they think is being violated
in any given situation.

jon