From 0a9bfb030555df1d2bfe145580720d4a5654d388 Mon Sep 17 00:00:00 2001 From: Hendrik Erz Date: Sat, 28 Dec 2024 14:52:49 +0100 Subject: [PATCH] chore: Add robots.txt to docs --- assets/robots.txt | 6 ++++++ scripts/build.sh | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 assets/robots.txt diff --git a/assets/robots.txt b/assets/robots.txt new file mode 100644 index 00000000..8a1dab90 --- /dev/null +++ b/assets/robots.txt @@ -0,0 +1,6 @@ +User-agent: * +Allow: / +Host: https://docs.zettlr.com/ + +User-agent: GPTBot +Disallow: / diff --git a/scripts/build.sh b/scripts/build.sh index 1bc82558..ab35973f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,3 +19,5 @@ done cp ./assets/index.html ./build # ... as well as the logo cp ./assets/logo.png ./build +# ... and the robots.txt +cp ./assets/robots.txt ./build