Repository: clap-rs/clap (language: rust)

Issue:
Documentation issue: clap::_derive::_tutorial::chapter_* links to clap::_tutorial instead of clap::_derive::_tutorial
### Please complete the following tasks

- [X] I have searched the [discussions](https://github.com/clap-rs/clap/discussions)
- [X] I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues

### Rust Version

rustc 1.72.0 (5680fa18f 2023-08-23) (built from a source tarball)

### Clap Version

4.5.3

### Minimal reproducible code

it's a documentation bug

### Steps to reproduce the bug with the above code

it's a documentation bug

go to https://docs.rs/clap/latest/clap/_derive/_tutorial/chapter_4/index.html and scroll to the bottom, then click the link labed table_of_contents

### Actual Behaviour

this takes you to the table of contents for the builder tutorial

### Expected Behaviour

this should take you to the table of contents for the derive tutorial

### Additional Context

_No response_

### Debug Output

_No response_


Discussion / hints:

Fix patch:
diff --git a/src/_derive/_tutorial/chapter_0.rs b/src/_derive/_tutorial/chapter_0.rs
index d6806949c81..ab2cdbb7379 100644
--- a/src/_derive/_tutorial/chapter_0.rs
+++ b/src/_derive/_tutorial/chapter_0.rs
@@ -22,4 +22,4 @@
 use crate::builder::*;
 
 pub use super::chapter_1 as next;
-pub use crate::_tutorial as table_of_contents;
+pub use crate::_derive::_tutorial as table_of_contents;
diff --git a/src/_derive/_tutorial/chapter_1.rs b/src/_derive/_tutorial/chapter_1.rs
index 3fabc171525..aafd7040237 100644
--- a/src/_derive/_tutorial/chapter_1.rs
+++ b/src/_derive/_tutorial/chapter_1.rs
@@ -26,4 +26,4 @@ use crate::builder::*;
 
 pub use super::chapter_0 as previous;
 pub use super::chapter_2 as next;
-pub use crate::_tutorial as table_of_contents;
+pub use crate::_derive::_tutorial as table_of_contents;
diff --git a/src/_derive/_tutorial/chapter_2.rs b/src/_derive/_tutorial/chapter_2.rs
index 95d02f8513b..4178f579790 100644
--- a/src/_derive/_tutorial/chapter_2.rs
+++ b/src/_derive/_tutorial/chapter_2.rs
@@ -100,4 +100,4 @@ use crate::builder::*;
 
 pub use super::chapter_1 as previous;
 pub use super::chapter_3 as next;
-pub use crate::_tutorial as table_of_contents;
+pub use crate::_derive::_tutorial as table_of_contents;
diff --git a/src/_derive/_tutorial/chapter_3.rs b/src/_derive/_tutorial/chapter_3.rs
index 16004fcdcdd..15dab45c7a4 100644
--- a/src/_derive/_tutorial/chapter_3.rs
+++ b/src/_derive/_tutorial/chapter_3.rs
@@ -75,4 +75,4 @@ use crate::builder::*;
 
 pub use super::chapter_2 as previous;
 pub use super::chapter_4 as next;
-pub use crate::_tutorial as table_of_contents;
+pub use crate::_derive::_tutorial as table_of_contents;
diff --git a/src/_derive/_tutorial/chapter_4.rs b/src/_derive/_tutorial/chapter_4.rs
index 86c5368e9af..56ae6beda89 100644
--- a/src/_derive/_tutorial/chapter_4.rs
+++ b/src/_derive/_tutorial/chapter_4.rs
@@ -12,4 +12,4 @@ use crate::builder::*;
 
 pub use super::chapter_3 as previous;
 pub use super::chapter_5 as next;
-pub use crate::_tutorial as table_of_contents;
+pub use crate::_derive::_tutorial as table_of_contents;
diff --git a/src/_derive/_tutorial/chapter_5.rs b/src/_derive/_tutorial/chapter_5.rs
index c5863928721..08ff984da58 100644
--- a/src/_derive/_tutorial/chapter_5.rs
+++ b/src/_derive/_tutorial/chapter_5.rs
@@ -11,4 +11,4 @@
 use crate::builder::*;
 
 pub use super::chapter_4 as previous;
-pub use crate::_tutorial as table_of_contents;
+pub use crate::_derive::_tutorial as table_of_contents;


Test patch: