Fix generated docs path
This commit is contained in:
Родитель
15418ab29b
Коммит
56c922a494
|
@ -85,7 +85,7 @@ def main():
|
||||||
# remove empty strings from path parts
|
# remove empty strings from path parts
|
||||||
path_parts = list(filter(None, root.split(os.sep)))
|
path_parts = list(filter(None, root.split(os.sep)))
|
||||||
name = path_parts[-1]
|
name = path_parts[-1]
|
||||||
path = Path(os.sep.join(path_parts[:-1]))
|
path = Path(os.sep.join(path_parts[1:-1]))
|
||||||
|
|
||||||
if os.path.split(root)[1] == "":
|
if os.path.split(root)[1] == "":
|
||||||
# project level-doc file
|
# project level-doc file
|
||||||
|
|
Загрузка…
Ссылка в новой задаче