File: fix_readme.py

package info (click to toggle)
qt-material 2.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 33,000 kB
  • sloc: python: 1,153; xml: 261; makefile: 22; sh: 8
file content (8 lines) | stat: -rw-r--r-- 269 bytes parent folder | download
1
2
3
4
5
6
7
8
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)