also link to module source code

This commit is contained in:
Radovan Bast
2015-06-04 20:49:48 +02:00
parent de92f5ced0
commit b5a6748626
3 changed files with 4 additions and 3 deletions

View File

@ -60,6 +60,7 @@ def main():
file_name = ntpath.basename(f)
output.append('\n\n%s' % file_name)
output.append('-'*len(file_name))
output.append('`[Source code] <https://github.com/scisoft/autocmake/blob/master/modules/%s>`_' % file_name)
with open(f, 'r') as s:
s_out = extract_rst_blobs(s.read())
if s_out == '':