doc: handle submodules
parent
092c09d81f
commit
31b74f02b6
|
@ -26,7 +26,7 @@ pub fn doc(mod string, table &table.Table) string {
|
||||||
mod: mod
|
mod: mod
|
||||||
}
|
}
|
||||||
mods_path := filepath.dir(vexe_path()) + '/vlib'
|
mods_path := filepath.dir(vexe_path()) + '/vlib'
|
||||||
path := filepath.join(mods_path,mod)
|
path := filepath.join(mods_path,mod).replace('.', filepath.separator)
|
||||||
if !os.exists(path) {
|
if !os.exists(path) {
|
||||||
println('module "$mod" not found')
|
println('module "$mod" not found')
|
||||||
println(path)
|
println(path)
|
||||||
|
|
Loading…
Reference in New Issue