docs site: serve a robots.txt at the site root

This commit is contained in:
inference-bot committed 2026-11-03 19:31:12 +00:00
1 parent 44f040c27f
commit fa1f38ced2
2 files changed
+6

No files matched your search

+3
View File
@@ -41,6 +41,9 @@ tar cf - \
--exclude='requirements.txt' \
. | tar xf - -C "$SITE_SRC"
# A file that must sit at the site root (crawler rules), not under publishing/.
cp publishing/robots.txt "$SITE_SRC/robots.txt"
# 2. Build.
if [ ! -x "$VENV/bin/mkdocs" ]; then
echo "Creating build venv at $VENV"