Skip to contentSkip to conversation

docs: fix WARNING document not included in any toctree

PATCH Applied SurajSonawane2415 3 participants 8 messages Oct 2, 2024 – Oct 11, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: fix WARNING document not included in any toctree

Add debugging.rst to the relevant toctree to fix warning about missing documentation inclusion in toctree.

---
 Documentation/trace/index.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/trace/index.rst +1 -0
index 0b300901f..2c991dc96 100644
@@ -24,6 +24,7 @@ Linux Tracing Technologies
    histogram
    histogram-design
    boottime-trace
+   debugging
    hwlat_detector
    osnoise-tracer
    timerlat-tracer
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 13 lines · SurajSonawane2415 <[email protected]> writes:

Add debugging.rst to the relevant toctree to fix warning about missing documentation inclusion in toctree.

---
 Documentation/trace/index.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/trace/index.rst +0 -0
index 0b300901f..2c991dc96 100644

Documentation/trace/index.rst Linux Tracing Technologies · line 28

Quoted 5 lines
Documentation/trace/index.rst +1 -0
@@ -24,6 +24,7 @@ Linux Tracing Technologies
    histogram
    histogram-design
    boottime-trace
+   debugging
    hwlat_detector

Applied, thanks.

For future reference, please use your proper name in your signed-off-by line.

jon

maintainer
#2 lore raw
In reply to SurajSonawane2415
Quoted 13 lines · On Thu, 3 Oct 2024 01:28:17 +0530 SurajSonawane2415…

Add debugging.rst to the relevant toctree to fix warning about missing documentation inclusion in toctree.

---
 Documentation/trace/index.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/trace/index.rst +0 -0
index 0b300901f..2c991dc96 100644

Documentation/trace/index.rst Linux Tracing Technologies · line 27

Quoted 4 lines
Documentation/trace/index.rst +1 -0
@@ -24,6 +24,7 @@ Linux Tracing Technologies
    histogram
    histogram-design
    boottime-trace
+   debugging

If order matters here, I'd like the debugging to be at the top. As I plan on it being more of a tutorial for using tracing, and should be the first document people see.

I need to take some time out and start filling it up!

-- Steve

Quoted 3 lines
Documentation/trace/index.rst +0 -0
    hwlat_detector
    osnoise-tracer
    timerlat-tracer
maintainer
#3 lore raw
Quoted 25 lines · Steven Rostedt
Quoted 13 lines · On Thu, 3 Oct 2024 01:28:17 +0530 SurajSonawane2415…

Add debugging.rst to the relevant toctree to fix warning about missing documentation inclusion in toctree.

---
 Documentation/trace/index.rst | 1 +
 1 file changed, 1 insertion(+)
Documentation/trace/index.rst +0 -0
index 0b300901f..2c991dc96 100644

Documentation/trace/index.rst Linux Tracing Technologies · line 27

Quoted 4 lines
Documentation/trace/index.rst +1 -0
@@ -24,6 +24,7 @@ Linux Tracing Technologies
    histogram
    histogram-design
    boottime-trace
+   debugging

If order matters here, I'd like the debugging to be at the top. As I plan on it being more of a tutorial for using tracing, and should be the first document people see.

Quoted 1 line

I need to take some time out and start filling it up!

That's the order that the links will show up in the rendered page, so yes, it matters.

jon

#4 lore raw
Quoted 13 lines · Jonathan Corbet
Quoted 11 lines · Steven Rostedt
Quoted 8 lines · On Thu, 3 Oct 2024 01:28:17 +0530 SurajSonawane2415…

Add debugging.rst to the relevant toctree to fix warning about missing documentation inclusion in toctree.

---
  Documentation/trace/index.rst | 1 +
  1 file changed, 1 insertion(+)
Quoted 14 lines
Quoted 5 lines
Quoted 5 lines
Documentation/trace/index.rst +0 -0
index 0b300901f..2c991dc96 100644
@@ -24,6 +24,7 @@ Linux Tracing Technologies
Quoted 9 lines

Documentation/trace/index.rst Linux Tracing Technologies · line 27

Quoted 4 lines
Documentation/trace/index.rst +1 -0
     histogram
     histogram-design
     boottime-trace
+   debugging

If order matters here, I'd like the debugging to be at the top. As I plan on it being more of a tutorial for using tracing, and should be the first document people see.

Thanks for the feedback!

Quoted 6 lines
Quoted 1 line

I need to take some time out and start filling it up!

That's the order that the links will show up in the rendered page, so yes, it matters.

jon

Can I send an updated patch with this change (moving debugging section to the top)?

Best,
Suraj

maintainer
#5 lore raw
Quoted 2 lines · Suraj Sonawane

Can I send an updated patch with this change (moving debugging section to the top)?

The patch is already applied, so no. You can send a new patch against docs-next if that sort of movement is warranted.

Honestly, though, just shuffling one file around only seems so useful. What would be nice would be to turn index.rst into a good starting point for people wanting to learn about tracing, rather than just a jumble of files. It needs organization into sections and some connecting text; as an example, see the (minimal) organizational work that I did for Documentation/process/index.rst.

It's more work, but would certainly pay off.

Thanks,

jon

maintainer
#6 lore raw
Quoted 8 lines · On Fri, 11 Oct 2024 07:28:40 -0600 Jonathan Corbet <[email protected]> wrote:
Quoted 2 lines · Suraj Sonawane

Can I send an updated patch with this change (moving debugging section to the top)?

The patch is already applied, so no. You can send a new patch against docs-next if that sort of movement is warranted.

Quoted 8 lines

Honestly, though, just shuffling one file around only seems so useful. What would be nice would be to turn index.rst into a good starting point for people wanting to learn about tracing, rather than just a jumble of files. It needs organization into sections and some connecting text; as an example, see the (minimal) organizational work that I did for Documentation/process/index.rst.

It's more work, but would certainly pay off.

I'm still new to how the Documentation directory is set up. But I agree with Jon. It's been on my todo list to make the tracing directory more of a tutorial. I just need to find the time to do so.

-- Steve

#7 lore raw
In reply to Jonathan Corbet
Quoted 7 lines · Jonathan Corbet
Quoted 2 lines · Suraj Sonawane

Can I send an updated patch with this change (moving debugging section to the top)?

The patch is already applied, so no. You can send a new patch against docs-next if that sort of movement is warranted.

Sure! I will send a patch against docs-next to move the debugging section to the top.

Quoted 8 lines

Honestly, though, just shuffling one file around only seems so useful. What would be nice would be to turn index.rst into a good starting point for people wanting to learn about tracing, rather than just a jumble of files. It needs organization into sections and some connecting text; as an example, see the (minimal) organizational work that I did for Documentation/process/index.rst.

Quoted 5 lines

It's more work, but would certainly pay off.

Thanks,

jon

I’ve also seen the structure in Documentation/process/index.rst with the clear titles and descriptions.

Thanks,
Suraj Sonawane