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:
parent
092c09d81f
commit
31b74f02b6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user