Skip to contentSkip to conversation

doc: Explain light-handed markup preference a bit better

PATCH In review Daniel Vetter 6 participants 10 messages Nov 29, 2016 – Dec 7, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: Explain light-handed markup preference a bit better

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.

v2:
- Mention that existing headings should be kept when converting existing .txt files (Mauro).
- Explain that we prefer :: for quoting code, it's easier on the eyes (Mauro).
- Explain that blindly converting outdated docs is harmful. Motived by comments Peter did in our discussion.

Cc Jonathan Corbet <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 Documentation/kernel-documentation.rst | 44 ++++++++++++++++++++++++++++++++--
 1 file changed, 42 insertions(+), 2 deletions(-)
Documentation/kernel-documentation.rst +42 -2
index 0dd17069bc0b..d04cecdb498d 100644
@@ -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.
+
+* Don't just blindly convert documents, also carefully review them and fix up
+  any issues in the text itself. Updated docs might trick readers into believing
+  they're accurately reflecting current best practice, which would be rather
+  harmful if the text itself is entirely outdated.
+
+* When converting existing documents, please try to retain the existing heading
+  styles as much as possible. Sphinx accept almost anything, as long as it's
+  consistent and headings all start in column 1.
+
+  For new documents please stick to this order of heading adornments:
 
   1. ``=`` with overline for document title::
 
@@ -136,6 +154,28 @@ changed to ``VIDIOC_LOG_STATUS`` and the function can now referenced by:
      :c:func:`VIDIOC_LOG_STATUS`
 
 
+For inserting code examples and use-cases use the simple fixed-width quoting
+style ``::`` which can either be on a line of it's own, or at the end of a
+preceeding paragraph. If there's no space before the double-colon it will be
+converted to a normal ``:``, which makes the overall text flow fairly reasonable
+
+.. code-block:: rst
+
+     Some text explaing what you need to do::
+
+        code_example()
+
+     More text explaining the next step::
+
+        if (condition)
+                more_function_calls();
+
+
+Sphinx also supports ``.. code-block::`` annotations, which also allow you to
+specify the language used for hightlight. But that should only be used when
+really necessary.
+
+
 list tables
 -----------
 
Signature · 1 line
2.10.2
#1 lore raw

Am 29.11.2016 um 10:23 schrieb Daniel Vetter <[email protected]>:

Quoted 23 lines

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.

v2:
- Mention that existing headings should be kept when converting existing .txt files (Mauro).
- Explain that we prefer :: for quoting code, it's easier on the eyes (Mauro).
- Explain that blindly converting outdated docs is harmful. Motived by comments Peter did in our discussion.

Cc Jonathan Corbet <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Quoted 3 lines

---
Documentation/kernel-documentation.rst | 44 ++++++++++++++++++++++++++++++++--

1 file changed, 42 insertions(+), 2 deletions(-)

Sorry for my dump remarks ...

* shouldn't it on top of Jon's docs-next?
* should we lose a few words about tabs/indentation?

IMO indentation for reST markup should be 2 spaces, not tabs (8 spaces). I know about CodeStyling but I think this doc (markup) and not source-code. Code-examples should be indent by tabs as usual. BTW here is what CodingStyle says:

Outside of comments, documentation and except in Kconfig, spaces are never used for indentation, and the above example is deliberately broken.
Get a decent editor and don't leave whitespace at the end of lines.

... encourages me to prefer spaces.

-- Markus --

#2 lore raw

Em Tue, 29 Nov 2016 11:28:12 +0100
Markus Heiser <[email protected]> escreveu:

Quoted 39 lines

Am 29.11.2016 um 10:23 schrieb Daniel Vetter <[email protected]>:

Quoted 23 lines

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.

v2:
- Mention that existing headings should be kept when converting existing .txt files (Mauro).
- Explain that we prefer :: for quoting code, it's easier on the eyes (Mauro).
- Explain that blindly converting outdated docs is harmful. Motived by comments Peter did in our discussion.

Cc Jonathan Corbet <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Quoted 3 lines

---
Documentation/kernel-documentation.rst | 44 ++++++++++++++++++++++++++++++++--

1 file changed, 42 insertions(+), 2 deletions(-)  

Sorry for my dump remarks ...

* shouldn't it on top of Jon's docs-next?
* should we lose a few words about tabs/indentation?

IMO indentation for reST markup should be 2 spaces, not tabs (8 spaces). I know about CodeStyling but I think this doc (markup) and not source-code. Code-examples should be indent by tabs as usual. BTW here is what CodingStyle says:

Quoted 7 lines

Outside of comments, documentation and except in Kconfig, spaces are never used for indentation, and the above example is deliberately broken.
Get a decent editor and don't leave whitespace at the end of lines.

... encourages me to prefer spaces.

I agree that we should define the preferred spaces style.

Yet, I very much prefer that patches converting existing documents to not touch whitespaces/tabs except when really needed.

Quoted 1 line

From my side, the editors I use to write documents are set to automatically

convert 8 column alignments to tabs. I also have a script that I run when needed, when I receive a patch with whitespaces at the end of lines. It also converts spaces to tabs where needed.

So, whatever definition we use, IMO we should define that a tab has 8 spaces, and that tabs should be used if the alignment requires more than 8 columns.

With regards of using indentation with 2 spaces, I don't have any strong opinion.

Quoted 1 line

From what I remember, the scripts you used to convert the media

documents made a 4 spaces alignment for the media documentation on several places, but I may be wrong.

Thanks,
Mauro

#3 lore raw
In reply to Daniel Vetter
Quoted 8 lines · Daniel Vetter

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.

Quoted 7 lines

v2:
- Mention that existing headings should be kept when converting existing .txt files (Mauro).
- Explain that we prefer :: for quoting code, it's easier on the eyes (Mauro).
- Explain that blindly converting outdated docs is harmful. Motived by comments Peter did in our discussion.

When I wrote most of the document originally, I put a lot of effort into make it clear and consice. I don't approve of the changes here. This is going to sound like bikeshedding, but I just couldn't make myself not reply.

Quoted 16 lines
Cc Jonathan Corbet <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 Documentation/kernel-documentation.rst | 44 ++++++++++++++++++++++++++++++++--
 1 file changed, 42 insertions(+), 2 deletions(-)
Documentation/kernel-documentation.rst +0 -0
index 0dd17069bc0b..d04cecdb498d 100644

Documentation/kernel-documentation.rst Specific guidelines for the kernel documentation · line 80

Quoted 4 lines
Documentation/kernel-documentation.rst +0 -1
@@ -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.

I wrote that, and I left it short intentionally. I really don't think prose will help here. This document is primarily a reference. Keep it as concise as you possibly can.

I'd go with adding bullets along the lines of:

---
* Please don't go overboard with reStructuredText markup. Keep it simple. For the most part the documentation should be plain text with just enough consistency in formatting that it can be converted to other formats.

* Please keep the formatting changes minimal when converting existing documentation to reStructuredText.

* Also update the content, not just the formatting, when converting documentation.
---

I think those capture the essence. Less is more.

Please note how I intentionally left out things like "core kernel developers prefer plain text", "please align with the wishes of the maintainer", "...would be rather harmful if the text itself is entirely outdated". Personally, I simply do not think they have a place here.

Quoted 38 lines
Documentation/kernel-documentation.rst +30 -1
+* 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.
+
+* Don't just blindly convert documents, also carefully review them and fix up
+  any issues in the text itself. Updated docs might trick readers into believing
+  they're accurately reflecting current best practice, which would be rather
+  harmful if the text itself is entirely outdated.
+
+* When converting existing documents, please try to retain the existing heading
+  styles as much as possible. Sphinx accept almost anything, as long as it's
+  consistent and headings all start in column 1.
+
+  For new documents please stick to this order of heading adornments:
 
   1. ``=`` with overline for document title::
 
@@ -136,6 +154,28 @@ changed to ``VIDIOC_LOG_STATUS`` and the function can now referenced by:
      :c:func:`VIDIOC_LOG_STATUS`
 
+For inserting code examples and use-cases use the simple fixed-width quoting
+style ``::`` which can either be on a line of it's own, or at the end of a
+preceeding paragraph. If there's no space before the double-colon it will be
+converted to a normal ``:``, which makes the overall text flow fairly reasonable
+
+.. code-block:: rst
+
+     Some text explaing what you need to do::
+
+        code_example()

Documentation/kernel-documentation.rst changed to ``VIDIOC_LOG_STATUS`` and the function can now referenced by: · line 175

Quoted 10 lines
Documentation/kernel-documentation.rst +10 -0
+
+     More text explaining the next step::
+
+        if (condition)
+                more_function_calls();
+
+
+Sphinx also supports ``.. code-block::`` annotations, which also allow you to
+specify the language used for hightlight. But that should only be used when
+really necessary.

I don't think this hunk belongs under "the C domain" section. I'd just stick it at the end of the earlier bullet list.

Condensing from my earlier mail [1], I'd go with just:

---
* For inserting fixed width text blocks (for code examples, use case examples, etc.), use ``::`` for anything that doesn't really benefit from syntax highlighting, especially short snippets. Use ``.. code-block:: <language>`` for longer code blocks that benefit from highlighting.
---

Again, I think this is a reference, not a tutorial. Please refer to Sphinx/reStructuredText documentation for details instead of duplicating the same information.

BR,
Jani.

[1] http://mid.mail-archive.com/[email protected]

Quoted 4 lines
Documentation/kernel-documentation.rst +2 -0
+
+
 list tables
 -----------
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
#4 lore raw

Em Tue, 29 Nov 2016 12:38:55 +0200
Jani Nikula <[email protected]> escreveu:

Quoted 17 lines · Daniel Vetter
Quoted 8 lines

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.

Quoted 7 lines

v2:
- Mention that existing headings should be kept when converting existing .txt files (Mauro).
- Explain that we prefer :: for quoting code, it's easier on the eyes (Mauro).
- Explain that blindly converting outdated docs is harmful. Motived by comments Peter did in our discussion.

Quoted 4 lines

When I wrote most of the document originally, I put a lot of effort into make it clear and consice. I don't approve of the changes here. This is going to sound like bikeshedding, but I just couldn't make myself not reply.

Sorry, but I agree with Daniel here: we should provide a guide for those people that will be helping with the document conversion.

I expect that ReST conversion will attract kernel newbies, and having a chapter or section with a guideline for them will help a lot to avoid us to review things that would be otherwise be refused by the subsystem maintainer.

Yet, we could eventually separate the guidelines for text->ReST conversions on a separate chapter (or even on a separate file), in order to avoid mixing a general thumb of rules for the Kernel documentation from a set of guidelines for documents conversion.

Quoted 34 lines
Quoted 17 lines
Cc Jonathan Corbet <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 Documentation/kernel-documentation.rst | 44 ++++++++++++++++++++++++++++++++--
 1 file changed, 42 insertions(+), 2 deletions(-)
Documentation/kernel-documentation.rst +0 -0
index 0dd17069bc0b..d04cecdb498d 100644

Documentation/kernel-documentation.rst Specific guidelines for the kernel documentation · line 80

Quoted 4 lines
Documentation/kernel-documentation.rst +0 -1
@@ -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.  

I wrote that, and I left it short intentionally. I really don't think prose will help here. This document is primarily a reference. Keep it as concise as you possibly can.

I'd go with adding bullets along the lines of:

---
* Please don't go overboard with reStructuredText markup. Keep it simple. For the most part the documentation should be plain text with just enough consistency in formatting that it can be converted to other formats.

Quoted 5 lines

* Please keep the formatting changes minimal when converting existing documentation to reStructuredText.

* Also update the content, not just the formatting, when converting documentation.

The above sounds OK to me, but for a newbie the above may not be enough. While both your text and Daniel's version says about the same, my personal preference would be to stick with the Daniel's one, as it make things clearer, IMHO.

Quoted 52 lines

---

I think those capture the essence. Less is more.

Please note how I intentionally left out things like "core kernel developers prefer plain text", "please align with the wishes of the maintainer", "...would be rather harmful if the text itself is entirely outdated". Personally, I simply do not think they have a place here.

Quoted 43 lines
Documentation/kernel-documentation.rst +35 -1
+* 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.
+
+* Don't just blindly convert documents, also carefully review them and fix up
+  any issues in the text itself. Updated docs might trick readers into believing
+  they're accurately reflecting current best practice, which would be rather
+  harmful if the text itself is entirely outdated.
+
+* When converting existing documents, please try to retain the existing heading
+  styles as much as possible. Sphinx accept almost anything, as long as it's
+  consistent and headings all start in column 1.
+
+  For new documents please stick to this order of heading adornments:
 
   1. ``=`` with overline for document title::
 
@@ -136,6 +154,28 @@ changed to ``VIDIOC_LOG_STATUS`` and the function can now referenced by:
      :c:func:`VIDIOC_LOG_STATUS`
 
+For inserting code examples and use-cases use the simple fixed-width quoting
+style ``::`` which can either be on a line of it's own, or at the end of a
+preceeding paragraph. If there's no space before the double-colon it will be
+converted to a normal ``:``, which makes the overall text flow fairly reasonable
+
+.. code-block:: rst
+
+     Some text explaing what you need to do::
+
+        code_example()
+
+     More text explaining the next step::
+
+        if (condition)
+                more_function_calls();
Quoted 8 lines

Documentation/kernel-documentation.rst changed to ``VIDIOC_LOG_STATUS`` and the function can now referenced by: · line 176

Quoted 5 lines
Documentation/kernel-documentation.rst +5 -0
+
+
+Sphinx also supports ``.. code-block::`` annotations, which also allow you to
+specify the language used for hightlight. But that should only be used when
+really necessary.  

I don't think this hunk belongs under "the C domain" section. I'd just stick it at the end of the earlier bullet list.

Agreed.

Quoted 9 lines

Condensing from my earlier mail [1], I'd go with just:

---
* For inserting fixed width text blocks (for code examples, use case examples, etc.), use ``::`` for anything that doesn't really benefit from syntax highlighting, especially short snippets. Use ``.. code-block:: <language>`` for longer code blocks that benefit from highlighting.
---

I would stick with Daniel's text here. The problem with the above is that "code blocks that benefit from highlighting" is a very abstract concept. Also, we know by experience that pygments have bugs with highlight. I had to use ".. code-block:: none" on some media blocks where it was doing the wrong thing. So, I prefer Daniel's text:
"But that should only be used when really necessary". That should be scary enough for a newbie to not use code-blocks, while keeping the decision of using it to senior developers, who knows better "when really necessary".

Quoted 3 lines

Again, I think this is a reference, not a tutorial. Please refer to Sphinx/reStructuredText documentation for details instead of duplicating the same information.

We're not following any specific Sphinx/ReST tutorial.

IMHO, it is better to define the "ReST style" (just like we have a coding style) that we want to be followed by the Kernel's documentation than letting the user use a random reference that may or may not follow the current style.

So, I would add a tutorial somewhere, eventually pointing to the external selected places that use the convention we're defining at the Kernel.

Thanks,
Mauro

#5 lore raw
Quoted 2 lines · Mauro Carvalho Chehab

Sorry, but I agree with Daniel here: we should provide a guide for those people that will be helping with the document conversion.

That goal is not mutually exclusive with keeping this document concise.

That is all.

Jani.

Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
#6 lore raw
Quoted 7 lines · Jani Nikula
Quoted 2 lines · Mauro Carvalho Chehab

Sorry, but I agree with Daniel here: we should provide a guide for those people that will be helping with the document conversion.

That goal is not mutually exclusive with keeping this document concise.

That is all.

Opted for some comprimise-y thing, going with Jani's proposal for the fixed-width quoting (since mine was definitely too wordy), but opted to keep the others unchanged. Still feels like overall a concise and balanced expose, but happy to change if folks object.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
#7 lore raw
In reply to Daniel Vetter

Hi Peter,

Quoted 16 lines · Daniel Vetter

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.

v2:
- Mention that existing headings should be kept when converting existing .txt files (Mauro).
- Explain that we prefer :: for quoting code, it's easier on the eyes (Mauro).
- Explain that blindly converting outdated docs is harmful. Motived by comments Peter did in our discussion.

Quoted 7 lines
Cc Jonathan Corbet <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>

Since this was motivated by a discussion you've (re)started, does this sufficiently address your concerns for conversion from plain text .txt to plain text .rst of existing documents? Anything you'd want to see changed?

Thanks, Daniel

Quoted 70 lines
---
 Documentation/kernel-documentation.rst | 44 ++++++++++++++++++++++++++++++++--
 1 file changed, 42 insertions(+), 2 deletions(-)
Documentation/kernel-documentation.rst +42 -2
index 0dd17069bc0b..d04cecdb498d 100644
@@ -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.
+
+* Don't just blindly convert documents, also carefully review them and fix up
+  any issues in the text itself. Updated docs might trick readers into believing
+  they're accurately reflecting current best practice, which would be rather
+  harmful if the text itself is entirely outdated.
+
+* When converting existing documents, please try to retain the existing heading
+  styles as much as possible. Sphinx accept almost anything, as long as it's
+  consistent and headings all start in column 1.
+
+  For new documents please stick to this order of heading adornments:
 
   1. ``=`` with overline for document title::
 
@@ -136,6 +154,28 @@ changed to ``VIDIOC_LOG_STATUS`` and the function can now referenced by:
      :c:func:`VIDIOC_LOG_STATUS`
 
 
+For inserting code examples and use-cases use the simple fixed-width quoting
+style ``::`` which can either be on a line of it's own, or at the end of a
+preceeding paragraph. If there's no space before the double-colon it will be
+converted to a normal ``:``, which makes the overall text flow fairly reasonable
+
+.. code-block:: rst
+
+     Some text explaing what you need to do::
+
+        code_example()
+
+     More text explaining the next step::
+
+        if (condition)
+                more_function_calls();
+
+
+Sphinx also supports ``.. code-block::`` annotations, which also allow you to
+specify the language used for hightlight. But that should only be used when
+really necessary.
+
+
 list tables
 -----------
 
Signature · 1 line
2.10.2
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
#8 lore raw
Quoted 27 lines · Daniel Vetter

Hi Peter,

Quoted 16 lines · Daniel Vetter

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.

v2:
- Mention that existing headings should be kept when converting existing .txt files (Mauro).
- Explain that we prefer :: for quoting code, it's easier on the eyes (Mauro).
- Explain that blindly converting outdated docs is harmful. Motived by comments Peter did in our discussion.

Quoted 7 lines
Cc Jonathan Corbet <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Quoted 3 lines

Since this was motivated by a discussion you've (re)started, does this sufficiently address your concerns for conversion from plain text .txt to plain text .rst of existing documents? Anything you'd want to see changed?

Seems OK to me, but there's already a bunch of bike-shedding in this thread.

#9 lore raw
Quoted 28 lines · Peter Zijlstra
Quoted 27 lines · Daniel Vetter

Hi Peter,

Quoted 23 lines · Daniel Vetter

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.

v2:
- Mention that existing headings should be kept when converting existing .txt files (Mauro).
- Explain that we prefer :: for quoting code, it's easier on the eyes (Mauro).
- Explain that blindly converting outdated docs is harmful. Motived by comments Peter did in our discussion.

Cc Jonathan Corbet <[email protected]>
Cc Christoph Hellwig <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Jani Nikula <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Quoted 6 lines
Quoted 3 lines

Since this was motivated by a discussion you've (re)started, does this sufficiently address your concerns for conversion from plain text .txt to plain text .rst of existing documents? Anything you'd want to see changed?

Seems OK to me, but there's already a bunch of bike-shedding in this thread.

Thanks for taking a look, I'll resend trying to address the other feedback and make everyone happy.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch