Skip to content

Commit

Permalink
docs images
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Oct 28, 2020
1 parent c5ea91a commit 1e15da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
readme = re.sub(r'(!\[.*.gif\))', '', readme)
for dir_name in (os.path.basename(p) for p in glob.glob(os.path.join(PATH_ROOT, '*'))
if os.path.isdir(p)):
readme = readme.replace('](%s/' % dir_name, '](../../%s/' % dir_name)
readme = readme.replace('](%s/' % dir_name, '](/%s/%s/' % (PATH_ROOT, dir_name))
with open('readme.md', 'w') as fp:
fp.write(readme)

Expand Down

0 comments on commit 1e15da4

Please sign in to comment.