1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-12-09 09:56:01 +02:00
imgproxy/build-docs-sitemap.sh

6 lines
192 B
Bash
Raw Normal View History

2022-02-16 16:54:37 +02:00
#!/bin/sh
echo "https://docs.imgproxy.net" > docs/sitemap.txt
RE='^\* \[.+\]\((.+)\)'
grep -E "$RE" docs/_sidebar.md | sed -E "s/$RE/https:\\/\\/docs.imgproxy.net\\/\\1/" >> docs/sitemap.txt