added an api for obsidian integration

This commit is contained in:
venus
2026-09-14 00:47:08 -05:00
parent 9aa0ada81d
commit 3a21998d60
4 changed files with 409 additions and 9 deletions
+4 -4
View File
@@ -40,7 +40,7 @@ test("Site Config: correctly parses SITE_DOMAIN and derives service subdomains",
// Verify dynamic subdomains
const gitService = site.services.find((s) => s.name === "Gitea");
assert.ok(gitService, "Gitea service exists");
assert.equal(gitService.url, "https://git.testcluster.internal");
assert.equal(gitService.url, "https://git.riverrooks.dev/venus");
assert.equal(gitService.tag, "git.testcluster.internal:2222");
const chefService = site.services.find((s) => s.name === "CyberChef");
@@ -52,9 +52,9 @@ test("Site Config: correctly parses SITE_DOMAIN and derives service subdomains",
assert.ok(navHome, "Nav Home link exists");
assert.equal(navHome.url, "/");
const navGit = site.nav.find((n) => n.label === "Gitea");
assert.ok(navGit, "Nav Gitea link exists");
assert.equal(navGit.url, "https://git.testcluster.internal");
const navCode = site.nav.find((n) => n.label === "Code");
assert.ok(navCode, "Nav Code link exists");
assert.equal(navCode.url, "https://git.riverrooks.dev/venus");
});
test("Site Config: respects explicit SITE_URL override", async () => {