qt-material/docs/fix_readme.py
2020-12-13 16:39:36 -05:00

9 lines
265 B
Python

import os
with open('../README.md', 'r') as file:
content = file.read()
content = content.replace('_images/', 'https://github.com/UN-GCPDS/qt-material/raw/master/docs/source/notebooks/_images/')
with open('../README.md', 'w') as file:
file.write(content)