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

doc: handle submodules

This commit is contained in:
Alexander Medvednikov 2020-02-19 16:21:46 +01:00
parent 092c09d81f
commit 31b74f02b6

View File

@ -26,7 +26,7 @@ pub fn doc(mod string, table &table.Table) string {
mod: mod
}
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) {
println('module "$mod" not found')
println(path)