From 490a014bf6511786d0cae0d600053dd5e54cf990 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sat, 29 Jul 2023 14:21:15 +0200 Subject: [PATCH] tools: support a toc for projects, with single exposing module, in `v doc` (#19001) --- cmd/tools/vdoc/html.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/vdoc/html.v b/cmd/tools/vdoc/html.v index 8fc4dd5b02..e3597e4d79 100644 --- a/cmd/tools/vdoc/html.v +++ b/cmd/tools/vdoc/html.v @@ -261,7 +261,7 @@ fn (vd VDoc) gen_html(d doc.Doc) string { } else { symbols_toc_str }).replace('{{ contents }}', contents.str()).replace('{{ right_content }}', if cfg.is_multi - && vd.docs.len > 1 && d.head.name != 'README' { + && d.head.name != 'README' { '