diff --git a/.roadsignrc b/.roadsignrc new file mode 100644 index 0000000..6b3ea6d --- /dev/null +++ b/.roadsignrc @@ -0,0 +1,13 @@ +{ + "sync": { + "region": "goatpedia", + "configPath": "roadsign.toml" + }, + "deployments": [ + { + "region": "goatpedia", + "site": "goatpedia-web", + "path": "dist" + } + ] +} diff --git a/astro.config.mjs b/astro.config.mjs index 13fa3b0..b9f7d44 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -4,6 +4,7 @@ import starlight from "@astrojs/starlight"; // https://astro.build/config export default defineConfig({ + site: "https://kb.solsynth.dev", integrations: [ starlight({ title: "Goatpedia", diff --git a/roadsign.toml b/roadsign.toml new file mode 100644 index 0000000..0f9a49b --- /dev/null +++ b/roadsign.toml @@ -0,0 +1,9 @@ +id = "goatpedia" + +[[locations]] +id = "goatpedia" +hosts = ["kb.solsynth.dev"] +paths = ["/"] +[[locations.destinations]] +id = "goatpedia-web" +uri = "files:///workdir/goatpedia?fallback=404.html&index=index.html" diff --git a/src/content/docs/zh-cn/index.mdx b/src/content/docs/zh-cn/index.mdx index 4b8960a..145cdeb 100644 --- a/src/content/docs/zh-cn/index.mdx +++ b/src/content/docs/zh-cn/index.mdx @@ -3,7 +3,7 @@ title: 欢迎来到山羊维基 description: 关于索尔幸茨的产品的官方知识库。 template: splash hero: - tagline: Congrats on setting up a new Starlight project! + tagline: 关于索尔幸茨产品的所有信息,都在这里。 image: file: https://solsynth.dev/favicon.png actions: