Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:docs robots.txt #4406

Merged
merged 1 commit into from Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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