rcu.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] RCU docs toctree cleanup
@ 2025-08-19  1:26 Bagas Sanjaya
  2025-08-19  1:26 ` [PATCH 1/2] Documentation: RCU: Reduce toctree depth Bagas Sanjaya
  2025-08-19  1:26 ` [PATCH 2/2] Documentation: RCU: Retitle toctree index Bagas Sanjaya
  0 siblings, 2 replies; 4+ messages in thread
From: Bagas Sanjaya @ 2025-08-19  1:26 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux RCU
  Cc: Paul E. McKenney, Frederic Weisbecker, Neeraj Upadhyay,
	Joel Fernandes, Josh Triplett, Boqun Feng, Uladzislau Rezki,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang,
	Bagas Sanjaya

Hi,

As the subject suggests: a small cleanup on RCU documentation toctree index.
The first patch tidying up toctree by not spoiling the full hierarchy
by means of reducing its depth. The second one edits the index title to
reflect nature of the toctree.

Enjoy!

This series is based on kvm-remote.sh wrap patch [1].

[1]: https://lore.kernel.org/linux-doc/20250819004559.11429-1-bagasdotme@gmail.com/

Bagas Sanjaya (2):
  Documentation: RCU: Reduce toctree depth
  Documentation: RCU: Retitle toctree index

 Documentation/RCU/index.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] Documentation: RCU: Reduce toctree depth
  2025-08-19  1:26 [PATCH 0/2] RCU docs toctree cleanup Bagas Sanjaya
@ 2025-08-19  1:26 ` Bagas Sanjaya
  2025-08-19  2:36   ` Paul E. McKenney
  2025-08-19  1:26 ` [PATCH 2/2] Documentation: RCU: Retitle toctree index Bagas Sanjaya
  1 sibling, 1 reply; 4+ messages in thread
From: Bagas Sanjaya @ 2025-08-19  1:26 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux RCU
  Cc: Paul E. McKenney, Frederic Weisbecker, Neeraj Upadhyay,
	Joel Fernandes, Josh Triplett, Boqun Feng, Uladzislau Rezki,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang,
	Bagas Sanjaya

toctree index for RCU currently has maximum depth of 3. Since no docs
currently use more than 3 section heading levels, this effectively spills
the entire docs hierarchy.

Tidy up by reducing toctree depth to 2 (only showing docs title and
second-level sections).

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/RCU/index.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/RCU/index.rst b/Documentation/RCU/index.rst
index 84a79903f6a883..e1be5b3c2c6773 100644
--- a/Documentation/RCU/index.rst
+++ b/Documentation/RCU/index.rst
@@ -7,7 +7,7 @@ RCU concepts
 ============
 
 .. toctree::
-   :maxdepth: 3
+   :maxdepth: 2
 
    checklist
    lockdep
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] Documentation: RCU: Retitle toctree index
  2025-08-19  1:26 [PATCH 0/2] RCU docs toctree cleanup Bagas Sanjaya
  2025-08-19  1:26 ` [PATCH 1/2] Documentation: RCU: Reduce toctree depth Bagas Sanjaya
@ 2025-08-19  1:26 ` Bagas Sanjaya
  1 sibling, 0 replies; 4+ messages in thread
From: Bagas Sanjaya @ 2025-08-19  1:26 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux RCU
  Cc: Paul E. McKenney, Frederic Weisbecker, Neeraj Upadhyay,
	Joel Fernandes, Josh Triplett, Boqun Feng, Uladzislau Rezki,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang,
	Bagas Sanjaya

toctree index title ("RCU concepts") is rather a misnomer: RCU concepts
is already described in rcu.rst, whereas the toctree suggests that
the docs themes about handbook on RCU subsystem instead.

Edit the title to reflect the fact.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/RCU/index.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/RCU/index.rst b/Documentation/RCU/index.rst
index e1be5b3c2c6773..ef26c78507d369 100644
--- a/Documentation/RCU/index.rst
+++ b/Documentation/RCU/index.rst
@@ -1,9 +1,9 @@
 .. SPDX-License-Identifier: GPL-2.0
 
-.. _rcu_concepts:
+.. _rcu_handbook:
 
 ============
-RCU concepts
+RCU Handbook
 ============
 
 .. toctree::
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] Documentation: RCU: Reduce toctree depth
  2025-08-19  1:26 ` [PATCH 1/2] Documentation: RCU: Reduce toctree depth Bagas Sanjaya
@ 2025-08-19  2:36   ` Paul E. McKenney
  0 siblings, 0 replies; 4+ messages in thread
From: Paul E. McKenney @ 2025-08-19  2:36 UTC (permalink / raw)
  To: Bagas Sanjaya
  Cc: Linux Kernel Mailing List, Linux Documentation, Linux RCU,
	Frederic Weisbecker, Neeraj Upadhyay, Joel Fernandes,
	Josh Triplett, Boqun Feng, Uladzislau Rezki, Steven Rostedt,
	Mathieu Desnoyers, Lai Jiangshan, Zqiang

On Tue, Aug 19, 2025 at 08:26:19AM +0700, Bagas Sanjaya wrote:
> toctree index for RCU currently has maximum depth of 3. Since no docs
> currently use more than 3 section heading levels, this effectively spills
> the entire docs hierarchy.
> 
> Tidy up by reducing toctree depth to 2 (only showing docs title and
> second-level sections).
> 
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>

I pulled all three in for testing and review, thank you!

							Thanx, Paul

> ---
>  Documentation/RCU/index.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/RCU/index.rst b/Documentation/RCU/index.rst
> index 84a79903f6a883..e1be5b3c2c6773 100644
> --- a/Documentation/RCU/index.rst
> +++ b/Documentation/RCU/index.rst
> @@ -7,7 +7,7 @@ RCU concepts
>  ============
>  
>  .. toctree::
> -   :maxdepth: 3
> +   :maxdepth: 2
>  
>     checklist
>     lockdep
> -- 
> An old man doll... just what I always wanted! - Clara
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-19  2:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19  1:26 [PATCH 0/2] RCU docs toctree cleanup Bagas Sanjaya
2025-08-19  1:26 ` [PATCH 1/2] Documentation: RCU: Reduce toctree depth Bagas Sanjaya
2025-08-19  2:36   ` Paul E. McKenney
2025-08-19  1:26 ` [PATCH 2/2] Documentation: RCU: Retitle toctree index Bagas Sanjaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).