add why.md; update

This commit is contained in:
rskntroot
2026-02-14 09:04:53 +00:00
parent f73b9dfe86
commit bf918a3aa8
4 changed files with 92 additions and 44 deletions

17
mkdocs/scripts/update.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
set -e
repos=("oxpasta" "r53-ddns")
user="rskntroot"
dest_dir="docs/code"
mkdir -p "$dest_dir"
for repo in "${repos[@]}"; do
url="https://raw.githubusercontent.com/$user/$repo/main/README.md"
dest_file="$dest_dir/$repo.md"
echo "Fetching $url -> $dest_file"
curl -sSfL "$url" -o "$dest_file"
done