public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jonathan Corbet <corbet@lwn.net>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux Doc Mailing List <linux-doc@vger.kernel.org>,
	Christoph Hellwig <hch@infradead.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: [PATCH] doc: Explain light-handed markup preference a bit better
Date: Mon, 12 Dec 2016 15:47:21 -0200	[thread overview]
Message-ID: <20161212154721.6b9f5db2@vento.lan> (raw)
In-Reply-To: <CAKMK7uFhDe5gKTK9SsNhy9ipdXPfA=-BYNBac+7N-gO_Wcat=A@mail.gmail.com>

Em Thu, 8 Dec 2016 23:06:57 +0100
Daniel Vetter <daniel.vetter@ffwll.ch> escreveu:

> On Thu, Dec 8, 2016 at 10:10 AM, Mauro Carvalho Chehab
> <mchehab@s-opensource.com> wrote:
> > Em Wed, 7 Dec 2016 12:39:24 -0700
> > Jonathan Corbet <corbet@lwn.net> escreveu:
> >  
> >> On Wed,  7 Dec 2016 16:42:58 +0100
> >> Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> >>  
> >> > We already had a super-short blurb, but worth extending it I think:
> >> > We're still pretty far away from anything like a consensus, but
> >> > there's clearly a lot of people who prefer an as-light as possible
> >> > approach to converting existing .txt files to .rst. Make sure this is
> >> > properly taken into account and clear.
> >> >
> >> > Motivated by discussions with Peter and Christoph and others.  
> >>
> >> I do think we should put something in to guide people in the right
> >> direction.  And yes, it should, itself, be light-handed and minimal.
> >>
> >> [...]
> >>  
> >> >  Documentation/kernel-documentation.rst | 28 ++++++++++++++++++++++++++--
> >> >  1 file changed, 26 insertions(+), 2 deletions(-)  
> >>
> >> I do, however, also believe that it should apply to relatively recent
> >> docs-next :)
> >>  
> >> > diff --git a/Documentation/kernel-documentation.rst b/Documentation/kernel-documentation.rst
> >> > index 0dd17069bc0b..5bffe5a418aa 100644
> >> > --- a/Documentation/kernel-documentation.rst
> >> > +++ b/Documentation/kernel-documentation.rst
> >> > @@ -77,9 +77,27 @@ Specific guidelines for the kernel documentation
> >> >
> >> >  Here are some specific guidelines for the kernel documentation:
> >> >
> >> > -* Please don't go overboard with reStructuredText markup. Keep it simple.
> >> > +* Please don't go overboard with reStructuredText markup. Keep it simple. A lot
> >> > +  of core kernel developers prefer plain text, with a big emphasis on plain. In
> >> > +  the end if we have pretty generated docs which the subject experts don't
> >> > +  like to edit and keep up-to-date everyone loses.
> >> >
> >> > -* Please stick to this order of heading adornments:
> >> > +  Be especially considerate when converting existing documentation. There's a
> >> > +  wide scale from annotating every little bit with in-line styles to only
> >> > +  touching up the bare minimum needed to integrate an existing file into the
> >> > +  larger documentation. Please align with the wishes of the maintainer to make
> >> > +  sure that documentations stays useful for everyone.  
> >>
> >> I think this is about where I figured out why I'm not 100% ready to jump on
> >> this.  What we're doing here is mixing two things: information on how to
> >> write documents, and information on how to convert existing documents.
> >>
> >> I'm not really opposed to applying the patch as-is, but I do wonder if what
> >> we really need is a new section aimed specifically at people doing
> >> conversions?  The concerns *are* a bit different, and there's more
> >> information we could put into a conversion section that isn't relevant to
> >> others.  Plus we could remove it some day far in the future when
> >> everything's converted :)  
> >
> > Yeah, a "conversion guide" section seems interesting. In the case of
> > media, for example, we prefer to use as much as ReST provides, as nobody
> > cares that the doc source would be as readable as the html/pdf output.
> > So, we want to be sure that the enriched text output would look better
> > to the ones using the documentation.
> >
> > In that case, I would go for something close to the text I wrote to Peter
> > sometime ago:  
> 
> Hm yeah, separate conversion section makes sense. In that case I'll
> adopt Jani's suggestion for more terseness in overview document, and
> we can merge Mauro's proposal (or something like it) on top. And I'll
> try to rebase onto latest doc-next too ;-)
> 
> Does that sound like a plan, before I head of and respin v4?

Sounds like a plan to me :-)

Regards,
Mauro

  reply	other threads:[~2016-12-12 17:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-07 15:42 [PATCH] doc: Explain light-handed markup preference a bit better Daniel Vetter
2016-12-07 19:39 ` Jonathan Corbet
2016-12-08  9:10   ` Mauro Carvalho Chehab
2016-12-08 22:06     ` Daniel Vetter
2016-12-12 17:47       ` Mauro Carvalho Chehab [this message]
2016-12-12 17:54       ` Jonathan Corbet
  -- strict thread matches above, loose matches on Subject: below --
2016-12-14 13:46 Daniel Vetter
2016-11-29  9:23 Daniel Vetter
2016-11-29 10:28 ` Markus Heiser
2016-11-29 11:54   ` Mauro Carvalho Chehab
2016-11-29 10:38 ` Jani Nikula
2016-11-29 11:43   ` Mauro Carvalho Chehab
2016-11-29 15:08     ` Jani Nikula
2016-12-07 15:45       ` Daniel Vetter
2016-11-29 13:17 ` Daniel Vetter
2016-12-06  7:52   ` Peter Zijlstra
2016-12-07 15:45     ` Daniel Vetter
2016-11-28 16:16 Daniel Vetter
2016-11-28 17:51 ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161212154721.6b9f5db2@vento.lan \
    --to=mchehab@s-opensource.com \
    --cc=corbet@lwn.net \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniel.vetter@intel.com \
    --cc=hch@infradead.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox