qt-material/docs/fix_readme.py

9 lines
265 B
Python
Raw Normal View History

2020-12-11 20:12:23 -05:00
import os
2020-12-13 14:48:18 -05:00
with open('../README.md', 'r') as file:
2020-12-11 20:12:23 -05:00
content = file.read()
2020-12-13 16:39:36 -05:00
content = content.replace('_images/', 'https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/')
2020-12-13 14:48:18 -05:00
with open('../README.md', 'w') as file:
file.write(content)