Skip to content

Commit

Permalink
Fix addons html page relative link path
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Sep 9, 2022
1 parent fcec283 commit 4fe3a0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions man/build_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ def get_module_man_html_file_path(module):
"""
if addons_path and module in ",".join(addons_man_files):
module_path = os.path.join(addons_path, module)
module_path = module_path.replace(
os.path.commonpath([path, module_path]),
".",
)
else:
module_path = os.path.join(path, module)
return module_path
Expand Down

0 comments on commit 4fe3a0b

Please sign in to comment.