--root-relative
sets the prefix for all links (default: /
). This makes it so you can run multiple repos and have them all live inside the same static site.
pgit \
--out ./public/pico \
--label pico \
--home-url "https://git.erock.io" \
--revs main \
--repo ~/pico \
--root-relative "/pico/"
pgit \
--out ./public/starfx \
--label starfx \
--home-url "https://git.erock.io" \
--revs main \
--repo ~/starfx \
--root-relative "/starfx"
echo "<html><body><a href="/pico">pico</a><a href="/starfx">starfx</a></body></html>" > ./public/index.html
Full Changelog: v1.0.2...v1.1.0