From: paulmck at linux.ibm.com (Paul E. McKenney)
Subject: [Linux-kernel-mentees] [PATCH v3 5/6] Documentation: RCU: Add links to rcu.rst
Date: Tue, 25 Jun 2019 14:17:40 -0700 [thread overview]
Message-ID: <20190625211740.GQ26519@linux.ibm.com> (raw)
In-Reply-To: <20190625150155.5c9b8880@lwn.net>
On Tue, Jun 25, 2019 at 03:01:55PM -0600, Jonathan Corbet wrote:
> On Tue, 25 Jun 2019 08:56:23 -0700
> "Paul E. McKenney" <paulmck at linux.ibm.com> wrote:
>
> > > - See the UP.txt file in this directory.
> > > + See :ref:`up_rcu` for more information.
> >
> > This rendered as straight text after "make htmldocs" instead of producing
> > a link in the HTML output. The HTML itself is:
> >
> > <span class="xref std std-ref">up_rcu</span>
> >
> > This doesn't look like something that would create a link, though I
> > freely admit that my HTML is rather outdated.
>
> The problem is that the reference target isn't called "up_rcu" in the file
> itself:
>
> > diff --git a/Documentation/RCU/UP.txt b/Documentation/RCU/UP.txt
> > index 53bde717017b..67715a47ae89 100644
> > --- a/Documentation/RCU/UP.txt
> > +++ b/Documentation/RCU/UP.txt
> > @@ -1,17 +1,19 @@
> > -RCU on Uniprocessor Systems
> > +.. _up_doc:
>
> Certainly "up_rcu" seems like a better name. I do believe, though, that
> you can also use the title directly:
>
> See `RCU on Uniprocessor Systems`_ for more information
That does look prettier, though we might want to do something more
directly mapped for people directly reading the .rst files.
> > > - How can I see where RCU is currently used in the Linux kernel?
> > >
> > > @@ -67,7 +67,7 @@ Frequently Asked Questions
> > >
> > > - Why the name "RCU"?
> > >
> > > - "RCU" stands for "read-copy update". The file listRCU.txt has
> > > + "RCU" stands for "read-copy update". :ref:`list_rcu` has
> >
> > Same here for list_rcu.
>
> And the problem is the same, it's list_rcu_doc in the actual source file.
>
> Jiang, as with so many things in software, if you haven't tested it, it
> probably doesn't work. Please actually run "make htmldocs" and look at
> the results to be sure that they are what you expect. (Along those lines,
> it would also be good to add the new directory to Documentation/index.rst
> so that it gets built with the rest).
What Jon said on the "haven't test it, it probably doesn't work" thought.
Sometimes I fear that my own work could be all too accurately modeled as
random mutations with rcutorture providing needed natural selection. :-/
Thanx, Paul
WARNING: multiple messages have this Message-ID (diff)
From: paulmck@linux.ibm.com (Paul E. McKenney)
Subject: [Linux-kernel-mentees] [PATCH v3 5/6] Documentation: RCU: Add links to rcu.rst
Date: Tue, 25 Jun 2019 14:17:40 -0700 [thread overview]
Message-ID: <20190625211740.GQ26519@linux.ibm.com> (raw)
Message-ID: <20190625211740.puquG6ORTXMrXT8po6t_vYu8JDFn4QbK-4VcjGRIF9k@z> (raw)
In-Reply-To: <20190625150155.5c9b8880@lwn.net>
On Tue, Jun 25, 2019 at 03:01:55PM -0600, Jonathan Corbet wrote:
> On Tue, 25 Jun 2019 08:56:23 -0700
> "Paul E. McKenney" <paulmck at linux.ibm.com> wrote:
>
> > > - See the UP.txt file in this directory.
> > > + See :ref:`up_rcu` for more information.
> >
> > This rendered as straight text after "make htmldocs" instead of producing
> > a link in the HTML output. The HTML itself is:
> >
> > <span class="xref std std-ref">up_rcu</span>
> >
> > This doesn't look like something that would create a link, though I
> > freely admit that my HTML is rather outdated.
>
> The problem is that the reference target isn't called "up_rcu" in the file
> itself:
>
> > diff --git a/Documentation/RCU/UP.txt b/Documentation/RCU/UP.txt
> > index 53bde717017b..67715a47ae89 100644
> > --- a/Documentation/RCU/UP.txt
> > +++ b/Documentation/RCU/UP.txt
> > @@ -1,17 +1,19 @@
> > -RCU on Uniprocessor Systems
> > +.. _up_doc:
>
> Certainly "up_rcu" seems like a better name. I do believe, though, that
> you can also use the title directly:
>
> See `RCU on Uniprocessor Systems`_ for more information
That does look prettier, though we might want to do something more
directly mapped for people directly reading the .rst files.
> > > - How can I see where RCU is currently used in the Linux kernel?
> > >
> > > @@ -67,7 +67,7 @@ Frequently Asked Questions
> > >
> > > - Why the name "RCU"?
> > >
> > > - "RCU" stands for "read-copy update". The file listRCU.txt has
> > > + "RCU" stands for "read-copy update". :ref:`list_rcu` has
> >
> > Same here for list_rcu.
>
> And the problem is the same, it's list_rcu_doc in the actual source file.
>
> Jiang, as with so many things in software, if you haven't tested it, it
> probably doesn't work. Please actually run "make htmldocs" and look at
> the results to be sure that they are what you expect. (Along those lines,
> it would also be good to add the new directory to Documentation/index.rst
> so that it gets built with the rest).
What Jon said on the "haven't test it, it probably doesn't work" thought.
Sometimes I fear that my own work could be all too accurately modeled as
random mutations with rcutorture providing needed natural selection. :-/
Thanx, Paul
next prev parent reply other threads:[~2019-06-25 21:17 UTC|newest]
Thread overview: 94+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-22 7:02 [Linux-kernel-mentees] [PATCH 2/3] Documentation: RCU: Convert RCU linked list to ReST c0d1n61at3
2019-06-22 7:02 ` Jiunn Chang
2019-06-22 15:00 ` corbet
2019-06-22 15:00 ` Jonathan Corbet
2019-06-23 8:14 ` [Linux-kernel-mentees] [PATCH v2 0/7] Documentation: RCU: Convert to c0d1n61at3
2019-06-23 8:14 ` Jiunn Chang
2019-06-23 23:39 ` joel
2019-06-23 23:39 ` Joel Fernandes
2019-06-24 0:39 ` corbet
2019-06-24 0:39 ` Jonathan Corbet
2019-06-25 6:26 ` [Linux-kernel-mentees] [PATCH v3 0/6] Documentation: RCU: Convert to reST c0d1n61at3
2019-06-25 6:26 ` Jiunn Chang
2019-06-26 19:12 ` [Linux-kernel-mentees] [PATCH v4 0/5] " c0d1n61at3
2019-06-26 19:12 ` Jiunn Chang
2019-06-26 20:07 ` [Linux-kernel-mentees] [PATCH v5 " c0d1n61at3
2019-06-26 20:07 ` Jiunn Chang
2019-06-26 20:07 ` [Linux-kernel-mentees] [PATCH v5 1/5] Documentation: RCU: Convert RCU basic concepts " c0d1n61at3
2019-06-26 20:07 ` Jiunn Chang
2019-06-27 14:34 ` corbet
2019-06-27 14:34 ` Jonathan Corbet
2019-06-27 15:13 ` rostedt
2019-06-27 15:13 ` Steven Rostedt
2019-06-27 16:48 ` skhan
2019-06-27 16:48 ` Shuah Khan
2019-06-27 16:26 ` paulmck
2019-06-27 16:26 ` Paul E. McKenney
2019-06-27 16:47 ` c0d1n61at3
2019-06-27 16:47 ` Jiunn Chang
2019-06-26 20:07 ` [Linux-kernel-mentees] [PATCH v5 2/5] Documentation: RCU: Convert RCU linked list " c0d1n61at3
2019-06-26 20:07 ` Jiunn Chang
2019-06-26 20:07 ` [Linux-kernel-mentees] [PATCH v5 3/5] Documentation: RCU: Convert RCU UP systems " c0d1n61at3
2019-06-26 20:07 ` Jiunn Chang
2019-06-26 20:07 ` [Linux-kernel-mentees] [PATCH v5 4/5] Documentation: RCU: Rename txt files to rst c0d1n61at3
2019-06-26 20:07 ` Jiunn Chang
2019-06-26 20:07 ` [Linux-kernel-mentees] [PATCH v5 5/5] Documentation: RCU: Add TOC tree hooks c0d1n61at3
2019-06-26 20:07 ` Jiunn Chang
2019-06-26 19:12 ` [Linux-kernel-mentees] [PATCH v4 1/5] Documentation: RCU: Convert RCU basic concepts to reST c0d1n61at3
2019-06-26 19:12 ` Jiunn Chang
2019-06-26 19:12 ` [Linux-kernel-mentees] [PATCH v4 2/5] Documentation: RCU: Convert RCU linked list " c0d1n61at3
2019-06-26 19:12 ` Jiunn Chang
2019-06-26 19:12 ` [Linux-kernel-mentees] [PATCH v4 3/5] Documentation: RCU: Convert RCU UP systems " c0d1n61at3
2019-06-26 19:12 ` Jiunn Chang
2019-06-26 19:12 ` [Linux-kernel-mentees] [PATCH v4 4/5] Documentation: RCU: Rename txt files to rst c0d1n61at3
2019-06-26 19:12 ` Jiunn Chang
2019-06-26 19:12 ` [Linux-kernel-mentees] [PATCH v4 5/5] Documentation: RCU: Add TOC tree hooks c0d1n61at3
2019-06-26 19:12 ` Jiunn Chang
2019-06-25 6:26 ` [Linux-kernel-mentees] [PATCH v3 1/6] Documentation: RCU: Convert RCU basic concepts to reST c0d1n61at3
2019-06-25 6:26 ` Jiunn Chang
2019-06-25 6:26 ` [Linux-kernel-mentees] [PATCH v3 2/6] Documentation: RCU: Convert RCU linked list " c0d1n61at3
2019-06-25 6:26 ` Jiunn Chang
2019-06-25 6:26 ` [Linux-kernel-mentees] [PATCH v3 3/6] Documentation: RCU: Convert RCU UP systems " c0d1n61at3
2019-06-25 6:26 ` Jiunn Chang
2019-06-25 16:03 ` paulmck
2019-06-25 16:03 ` Paul E. McKenney
2019-06-25 6:26 ` [Linux-kernel-mentees] [PATCH v3 4/6] Documentation: RCU: Rename txt files to rst c0d1n61at3
2019-06-25 6:26 ` Jiunn Chang
2019-06-25 6:26 ` [Linux-kernel-mentees] [PATCH v3 5/6] Documentation: RCU: Add links to rcu.rst c0d1n61at3
2019-06-25 6:26 ` Jiunn Chang
2019-06-25 15:56 ` paulmck
2019-06-25 15:56 ` Paul E. McKenney
2019-06-25 21:01 ` corbet
2019-06-25 21:01 ` Jonathan Corbet
2019-06-25 21:17 ` paulmck [this message]
2019-06-25 21:17 ` Paul E. McKenney
2019-06-25 21:40 ` corbet
2019-06-25 21:40 ` Jonathan Corbet
2019-06-25 21:45 ` paulmck
2019-06-25 21:45 ` Paul E. McKenney
2019-06-25 6:26 ` [Linux-kernel-mentees] [PATCH v3 6/6] Documentation: RCU: Add TOC tree hooks c0d1n61at3
2019-06-25 6:26 ` Jiunn Chang
2019-06-23 8:14 ` [Linux-kernel-mentees] [PATCH v2 1/7] Documentation: RCU: Convert RCU basic concepts to ReST c0d1n61at3
2019-06-23 8:14 ` Jiunn Chang
2019-06-23 23:34 ` joel
2019-06-23 23:34 ` Joel Fernandes
2019-06-23 8:14 ` [Linux-kernel-mentees] [PATCH v2 2/7] Documentation: RCU: Rename " c0d1n61at3
2019-06-23 8:14 ` Jiunn Chang
2019-06-23 8:14 ` [Linux-kernel-mentees] [PATCH v2 3/7] Documentation: RCU: Convert RCU linked list " c0d1n61at3
2019-06-23 8:14 ` Jiunn Chang
2019-06-23 23:31 ` joel
2019-06-23 23:31 ` Joel Fernandes
2019-06-24 0:43 ` corbet
2019-06-24 0:43 ` Jonathan Corbet
2019-06-23 8:14 ` [Linux-kernel-mentees] [PATCH v2 4/7] Documentation: RCU: Rename " c0d1n61at3
2019-06-23 8:14 ` Jiunn Chang
2019-06-23 8:14 ` [Linux-kernel-mentees] [PATCH v2 5/7] Documentation: RCU: Convert RCU UP systems " c0d1n61at3
2019-06-23 8:14 ` Jiunn Chang
2019-06-23 23:27 ` joel
2019-06-23 23:27 ` Joel Fernandes
2019-06-24 0:45 ` corbet
2019-06-24 0:45 ` Jonathan Corbet
2019-06-23 8:14 ` [Linux-kernel-mentees] [PATCH v2 6/7] Documentation: RCU: Rename " c0d1n61at3
2019-06-23 8:14 ` Jiunn Chang
2019-06-23 8:14 ` [Linux-kernel-mentees] [PATCH v2 7/7] Documentation: RCU: Add links to rcu.rst c0d1n61at3
2019-06-23 8:14 ` Jiunn Chang
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=20190625211740.GQ26519@linux.ibm.com \
--to=linux-kernel-mentees@lists.linux-foundation.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