Skip to content

Commit e39db0a

Browse files
committed
feat: switch canonical base URL to docs.chinmina.dev
Updates the Astro site config so all builds emit canonical link tags pointing to https://docs.chinmina.dev rather than chinmina.github.io. Adds a vitest test asserting the site field value.
1 parent 9689169 commit e39db0a

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const sidebar = [
6767

6868
// https://astro.build/config
6969
export default defineConfig({
70-
site: "https://chinmina.github.io",
70+
site: "https://docs.chinmina.dev",
7171
trailingSlash: "never",
7272

7373
integrations: [

astro.config.test.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { describe, expect, it } from "vitest"
2+
import config from "./astro.config.mjs"
3+
4+
describe("astro.config.mjs", () => {
5+
it("sets canonical base URL to docs.chinmina.dev", () => {
6+
expect(config.site).toBe("https://docs.chinmina.dev")
7+
})
8+
})

0 commit comments

Comments
 (0)