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 efc395e commit ba74ab0Copy full SHA for ba74ab0
cmd/tools/vdoc/utils.v
@@ -30,7 +30,7 @@ fn get_node_id(dn doc.DocNode) string {
30
}
31
32
fn is_module_readme(dn doc.DocNode) bool {
33
- return dn.comments.len > 0 && dn.content == 'module ${dn.name}'
+ return dn.comments.len > 0 && (dn.content == 'module ${dn.name}' || dn.name == 'README')
34
35
36
fn trim_doc_node_description(desc string) string {
0 commit comments