mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-05 03:29:33 +00:00
builder-tools: fixed links for github
This commit is contained in:
@@ -96,7 +96,7 @@ class DocsGenerator:
|
||||
relpath = os.path.sep.join(
|
||||
os.path.relpath(module.__file__, output_path).split(os.path.sep)[1:]
|
||||
)
|
||||
docs = self.get_full_markdown(module, relpath)
|
||||
docs = self.get_full_markdown(module, relpath.replace(os.path.sep, "/"))
|
||||
with open(output_path, 'w') as f:
|
||||
for line in docs:
|
||||
f.write(line.replace("\n", os.linesep) + '\n')
|
||||
|
||||
Reference in New Issue
Block a user