doc: handle submodules

pull/3785/head
Alexander Medvednikov 2020-02-19 16:21:46 +01:00
parent 092c09d81f
commit 31b74f02b6
1 changed files with 1 additions and 1 deletions

View File

@ -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)