kernel_optimize_test/Documentation/RCU
Mauro Carvalho Chehab ccc9971e21 docs: rcu: convert some articles from html to ReST
There are 4 RCU articles that are written on html format.

The way they are, they can't be part of the Linux Kernel
documentation body nor share the styles and pdf output.

So, convert them to ReST format.

This way, make htmldocs and make pdfdocs will produce a
documentation output that will be like the original ones, but
will be part of the Linux Kernel documentation body.

Part of the conversion was done with the help of pandoc, but
the result had some broken things that had to be manually
fixed.

Following are manual changes Mauro made when doing the automatic conversion:
Quoting from: https://lore.kernel.org/rcu/20190726154550.5eeae294@coco.lan/

> > At least the pandoc's version I used here has a bug: its conversion
> > from html to ReST on those files only start after a <body> tag - or
> > when the first quiz table starts. I only discovered that adding a
> > <body> at the beginning of the file solve this book at the last
> > conversions.
> >
> > So, for most html->ReST conversions, I manually converted the first
> > part of the document, basically stripping html paragraph tags and
> > by replacing highlights by the ReST syntax.
> >
> > Also, all the quiz tables seem to assume some javascript macro or
> > css style that would be hiding the answer part until the mouse moves
> > to it. Such macro/css was not there at the kernel tree. So, the quiz
> > answers have the same color as the background, making them invisible.
> > Even if we had such macro/css, this is not portable for pdf/LaTeX output
> > (and I'm not sure if this would work with ePub).
> >
> > So, I ended by manually doing the table conversion.
> >
> > Finally, I double-checked if the conversions ended ok, addressing any
> > issues that might have heppened.
> >
> > So, after both automatic conversion and manual fixes, I opened both the
> > html files produced by Sphinx and the original ones and compared them
> > line per line (except for the indexes, as Sphinx produces them
> > automatically), in order to see if all information from the original
> > files will be there on a format close to what we have on other ReST
> > files, fixing any pending issues if any.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2019-10-29 02:48:12 -07:00
..
Design docs: rcu: convert some articles from html to ReST 2019-10-29 02:48:12 -07:00
arrayRCU.txt documentation: RCU-protected array indexes no longer supported 2015-05-27 12:56:17 -07:00
checklist.txt doc: Fix typos and otherwise modernize checklist.txt 2019-03-26 14:37:06 -07:00
index.rst docs: rcu: convert some articles from html to ReST 2019-10-29 02:48:12 -07:00
listRCU.rst Documentation: RCU: Rename txt files to rst 2019-06-27 08:19:02 -06:00
lockdep-splat.txt Documentation/locking/lockdep: Drop last two chars of sample states 2019-03-04 12:55:18 -07:00
lockdep.txt documentation: RCU-protected array indexes no longer supported 2015-05-27 12:56:17 -07:00
NMI-RCU.txt doc: Remove obsolete RCU update functions from RCU documentation 2019-03-26 14:37:06 -07:00
rcu_dereference.txt doc: Describe choice of rcu_dereference() APIs and __rcu usage 2019-03-26 14:37:06 -07:00
rcu.rst Documentation: RCU: Rename txt files to rst 2019-06-27 08:19:02 -06:00
rcubarrier.txt doc: Remove obsolete RCU update functions from RCU documentation 2019-03-26 14:37:06 -07:00
rculist_nulls.txt docs: fix broken doc references due to renames 2019-07-17 06:57:51 -03:00
rcuref.txt doc/rcuref: Document real world examples in kernel 2019-05-28 09:02:16 -07:00
RTFP.txt Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
stallwarn.txt doc: Add rcutree.kthread_prio pointer to stallwarn.txt 2019-08-01 14:07:41 -07:00
torture.txt RCU/torture.txt: Remove section MODULE PARAMETERS 2019-01-25 15:37:14 -08:00
UP.rst doc: RCU callback locks need only _bh, not necessarily _irq 2019-06-28 09:10:40 -06:00
whatisRCU.txt docs: rcu: convert some articles from html to ReST 2019-10-29 02:48:12 -07:00