From cb4d2323bcd127c7e37544a2777f43fb648cb97d Mon Sep 17 00:00:00 2001 From: Romain Lenzotti Date: Tue, 17 Dec 2024 07:59:22 +0100 Subject: [PATCH] docs: update documentation configuration --- docs/.vuepress/config.base.js | 3 ++- docs/.vuepress/public/robots.txt | 2 ++ package.json | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docs/.vuepress/public/robots.txt diff --git a/docs/.vuepress/config.base.js b/docs/.vuepress/config.base.js index 5d753bd7bd0..24056fabddc 100644 --- a/docs/.vuepress/config.base.js +++ b/docs/.vuepress/config.base.js @@ -25,7 +25,8 @@ module.exports = ({title, description, base = "", url, apiRedirectUrl = "", them ["meta", {property: "og:image:height", content: "1024"}], ["meta", {name: "twitter:title", content: title}], ["meta", {name: "twitter:description", content: description}], - ["meta", {name: "twitter:card", content: "summary"}] + ["meta", {name: "twitter:card", content: "summary"}], + ["meta", {name: "robots", content: "noindex, nofollow"}] ], themeConfig: { shortTitle: "Ts.ED", diff --git a/docs/.vuepress/public/robots.txt b/docs/.vuepress/public/robots.txt new file mode 100644 index 00000000000..1f53798bb4f --- /dev/null +++ b/docs/.vuepress/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/package.json b/package.json index 1a5e9ab41ce..3d51c36d63a 100644 --- a/package.json +++ b/package.json @@ -196,6 +196,7 @@ "productionBranch": "6.x", "developBranch": "6.x", "npmAccess": "public", + "npmDistTag": "v6-latest", "ignoreSyncDependencies": [ "express", "@types/express"