convert: link extension to gitea

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2022-04-28 23:15:52 +02:00
parent 33aaf5175d
commit 1df39c2892
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
find content/qml -type f -name "*.md" -exec sed -i '1 s/#/---\ntitle:/; 1 s/.*[^0-9]\([0-9]\+\)[^0-9]*$/\0\nnumber: \1/;1 s/$/\n---\n/; s|\.\./|/|g' {} \; find content/qml -type f -name "*.md" -exec sed -i '1 s/#/---\ntitle:/; 1 s/.*[^0-9]\([0-9]\+\)[^0-9]*$/\0\nnumber: \1/;1 s/$/\n---\n/; s|\.\./images|/images|g; s|\.\./extensions|https://git\.sgorava\.xyz/Falkon/FalkonTutorials/src/branch/master/python/extensions|g' {} \;
find content/python -type f -name "*.md" -exec sed -i '1 s/#/---\ntitle:/; 1 s/.*[^0-9]\([0-9]\+\)[^0-9]*$/\0\nnumber: \1/;1 s/$/\n---\n/; s|\.\./|/|g' {} \; find content/python -type f -name "*.md" -exec sed -i '1 s/#/---\ntitle:/; 1 s/.*[^0-9]\([0-9]\+\)[^0-9]*$/\0\nnumber: \1/;1 s/$/\n---\n/; s|\.\./images|/images|g; s|\.\./extensions|https://git\.sgorava\.xyz/Falkon/FalkonTutorials/src/branch/master/python/extensions|g' {} \;
exit 0 exit 0