Re: [PATCH 25/57] docs: power: convert docs to ReST
From: Mauro Carvalho Chehab
Date: Tue Apr 16 2019 - 06:41:48 EST
Em Tue, 16 Apr 2019 10:59:23 +0200
"Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx> escreveu:
> On Tuesday, April 16, 2019 4:55:50 AM CEST Mauro Carvalho Chehab wrote:
> > Convert the PM documents to ReST, in order to allow them to
> > build with Sphinx.
> And what exactly is the motivation for doing that?
Providing a little of context, I tried to submit a patchset that would
just place existing documents on a sort of "staging" way, without
Jon had some concerns about such approach.
So, I split into one patch per subsystem. Then, I looked on each, and
opted to do the conversion, as, on several cases, the conversion
seemed to be easy enough.
My selfish motivation is that I was returning from vacations and wanted to
review some stuff at the Kernel docs, but, discovered that, despite we
started migrating the documentation on May, 2016, still the vast
majority of documents that weren't converted.
For me, the main motivation for the conversion are:
1) Documents will be grouped into books and chapters,
with makes easier to study them;
document and a keyword within the body of the document;
3) Using a browser to read documentation allows to better
scale the document to the screen I'm using.
That's said, sometimes I just prefer to convert the document
to a PDF and read it on my tablet. PDF tools also provide
In other words, for my own consumption, I prefer reading
documents using document tools, instead of reading in plain
> There are plans for some of these files to be converted already, some of them need to be merged or split and it just is not worth it to convert some others.
Feel free to use this patch as an starting point. If you prefer,
I can split into smaller sets, but my main goal here is just
to help to speedup the conversion.