Skip to content

Commit

Permalink
feat:docs robots.txt (#4406)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy365 committed Dec 12, 2023
1 parent c9527a7 commit ad77db0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/website/docusaurus.config.js
Expand Up @@ -6,7 +6,7 @@ const generateAlgoliKey = () => "ce5b8e1e4d0d35ff587caf75ac404df4"
const config = {
title: "Sealos: 专为云原生开发打造的以 K8s 为内核的云操作系统",
tagline: "Kubernetes-kernel-based cloud os! Let's sealos run kubernetes",
url: "https://sealos.io/",
url: process.env.SEALOS_LANG === "zh-Hans" ? "https://sealos.run/" : "https://sealos.io/",
baseUrl: "/",
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "warn",
Expand Down
7 changes: 7 additions & 0 deletions docs/website/static/robots.txt
@@ -0,0 +1,7 @@
User-agent: *
Disallow:

Sitemap: https://sealos.io/sitemap.xml
Sitemap: https://sealos.io/zh-Hans/sitemap.xml
Sitemap: https://sealos.run/sitemap.xml
Sitemap: https://sealos.run/en/sitemap.xml

0 comments on commit ad77db0

Please sign in to comment.