restore autogenerated links to module source code; fixes #132
This commit is contained in:
parent
22b2b30b0a
commit
60e2c4dc75
@ -66,6 +66,8 @@ def main():
|
|||||||
file_name = ntpath.basename(f)
|
file_name = ntpath.basename(f)
|
||||||
if relative_path != '.':
|
if relative_path != '.':
|
||||||
full_file_name = '%s/%s' % (relative_path, file_name)
|
full_file_name = '%s/%s' % (relative_path, file_name)
|
||||||
|
else:
|
||||||
|
full_file_name = file_name
|
||||||
with open(f, 'r') as s:
|
with open(f, 'r') as s:
|
||||||
s_out = extract_rst_blobs(s.read())
|
s_out = extract_rst_blobs(s.read())
|
||||||
if s_out != '':
|
if s_out != '':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user