vdoc: show the V commit hash too, not just 0.2.4
parent
191e99c248
commit
7f70493e1d
|
@ -254,7 +254,8 @@ fn (vd VDoc) gen_html(d doc.Doc) string {
|
||||||
write_toc(cn, mut symbols_toc)
|
write_toc(cn, mut symbols_toc)
|
||||||
} // write head
|
} // write head
|
||||||
// write css
|
// write css
|
||||||
version := if vd.manifest.version.len != 0 { vd.manifest.version } else { '' }
|
mut version := if vd.manifest.version.len != 0 { vd.manifest.version } else { '' }
|
||||||
|
version = [version, @VHASH].join(' ')
|
||||||
header_name := if cfg.is_multi && vd.docs.len > 1 {
|
header_name := if cfg.is_multi && vd.docs.len > 1 {
|
||||||
os.file_name(os.real_path(cfg.input_path))
|
os.file_name(os.real_path(cfg.input_path))
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue