1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix for mut arg in cmd/tools/vdoc.v

This commit is contained in:
Delyan Angelov 2020-09-27 16:58:36 +03:00
parent 220f3cc2b9
commit 7305b2c401

View File

@ -463,7 +463,7 @@ fn (cfg DocConfig) gen_html(idx int) string {
// generate toc first // generate toc first
contents.writeln(doc_node_html(dcs.head, '', true, dcs.table)) contents.writeln(doc_node_html(dcs.head, '', true, dcs.table))
for cn in dcs.contents { for cn in dcs.contents {
cfg.write_content(&cn, &dcs, &contents) cfg.write_content(&cn, &dcs, mut contents)
if cn.attrs['parent'] == 'Constants' || cn.attrs['category'] == 'Methods' { if cn.attrs['parent'] == 'Constants' || cn.attrs['category'] == 'Methods' {
continue continue
} }