We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db8a22d commit c66af8bCopy full SHA for c66af8b
scripts/mdbook-forc-documenter/src/lib.rs
@@ -67,13 +67,14 @@ impl Preprocessor for ForcDocumenter {
67
for sub_sub_item in &mut plugin_chapter.sub_items {
68
if let BookItem::Chapter(ref mut plugin_sub_chapter) = sub_sub_item
69
{
70
+ // Skip validation for nested documentation entries
71
+ // These are documentation-only entries that don't correspond to actual commands
72
if let Some(content) =
73
plugin_contents.remove(&plugin_sub_chapter.name)
74
75
inject_content(plugin_sub_chapter, &content, &examples);
- } else {
- removed_commands.push(plugin_sub_chapter.name.clone());
76
- };
+ }
77
+ // Don't mark nested entries as removed - they're documentation sections
78
}
79
80
0 commit comments