dogsbay 0.2.0-beta.20 → 0.2.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -524,6 +524,12 @@ function buildConfig(opts) {
|
|
|
524
524
|
cs.search = opts.aiSearch;
|
|
525
525
|
if (Object.keys(cs).length > 0)
|
|
526
526
|
agent.contentSignal = cs;
|
|
527
|
+
// Per-page LLM action cluster + footer llms.txt link. Default-on
|
|
528
|
+
// for fresh scaffolds; matches Vercel/Stripe/Drizzle convention.
|
|
529
|
+
// Authors disable with `enabled: false` (or surgical sub-fields).
|
|
530
|
+
// Empty block = "use defaults" (all four providers, header
|
|
531
|
+
// placement, copy button, footer link).
|
|
532
|
+
agent.pageActions = {};
|
|
527
533
|
const config = {
|
|
528
534
|
schemaVersion: 1,
|
|
529
535
|
site,
|
package/dist/config/defaults.js
CHANGED
|
@@ -45,28 +45,28 @@ export function applyDefaults(config) {
|
|
|
45
45
|
aiInput: config.agent?.contentSignal?.aiInput ?? DEFAULT_CONTENT_SIGNAL.aiInput,
|
|
46
46
|
search: config.agent?.contentSignal?.search ?? DEFAULT_CONTENT_SIGNAL.search,
|
|
47
47
|
},
|
|
48
|
-
// pageActions
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
54
|
-
//
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
48
|
+
// pageActions defaults to ENABLED with all defaults applied,
|
|
49
|
+
// even when the user didn't declare the block. Aligns with
|
|
50
|
+
// Dogsbay's agent-friendly positioning (the "Open in
|
|
51
|
+
// ChatGPT/Claude" cluster + footer llms.txt link is the
|
|
52
|
+
// visible discovery surface; the file emit + Link header are
|
|
53
|
+
// the invisible one). Authors who want a quieter site set
|
|
54
|
+
// `agent.pageActions.enabled: false` (disables the buttons +
|
|
55
|
+
// footer link together) or surgical fields (`copyButton:
|
|
56
|
+
// false`, `footerLink: false`, `providers: []`).
|
|
57
|
+
pageActions: {
|
|
58
|
+
enabled: config.agent?.pageActions?.enabled ?? true,
|
|
59
|
+
providers: config.agent?.pageActions?.providers ?? [
|
|
60
|
+
"claude",
|
|
61
|
+
"chatgpt",
|
|
62
|
+
"perplexity",
|
|
63
|
+
"gemini",
|
|
64
|
+
],
|
|
65
|
+
placement: config.agent?.pageActions?.placement ?? "header",
|
|
66
|
+
copyButton: config.agent?.pageActions?.copyButton ?? true,
|
|
67
|
+
promptTemplate: config.agent?.pageActions?.promptTemplate,
|
|
68
|
+
footerLink: config.agent?.pageActions?.footerLink ?? true,
|
|
69
|
+
},
|
|
70
70
|
},
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -22,6 +22,7 @@ export function configToAstroOptions(config) {
|
|
|
22
22
|
plausibleDomain: config.analytics?.plausible?.domain,
|
|
23
23
|
plausibleScriptUrl: config.analytics?.plausible?.scriptUrl,
|
|
24
24
|
deploy: config.deploy?.target,
|
|
25
|
+
inlineStylesheets: config.build?.inlineStylesheets,
|
|
25
26
|
llmsTxt: config.agent?.llmsTxt,
|
|
26
27
|
mdMirror: config.agent?.mdMirror,
|
|
27
28
|
aiTrain: config.agent?.contentSignal?.aiTrain,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dogsbay",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.22",
|
|
4
4
|
"description": "CLI for Dogsbay — scaffold, build, and serve documentation sites with markdown / MkDocs / Obsidian / OpenAPI sources",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"picocolors": "^1.1.0",
|
|
33
33
|
"prompts": "^2.4.2",
|
|
34
34
|
"yaml": "^2.8.3",
|
|
35
|
-
"@dogsbay/format-mkdocs": "0.2.0-beta.
|
|
36
|
-
"@dogsbay/format-astro": "0.2.0-beta.
|
|
37
|
-
"@dogsbay/format-
|
|
38
|
-
"@dogsbay/format-
|
|
39
|
-
"@dogsbay/format-
|
|
40
|
-
"@dogsbay/format-
|
|
41
|
-
"@dogsbay/
|
|
42
|
-
"@dogsbay/
|
|
35
|
+
"@dogsbay/format-mkdocs": "0.2.0-beta.22",
|
|
36
|
+
"@dogsbay/format-astro": "0.2.0-beta.22",
|
|
37
|
+
"@dogsbay/format-obsidian": "0.2.0-beta.22",
|
|
38
|
+
"@dogsbay/format-mdx": "0.2.0-beta.22",
|
|
39
|
+
"@dogsbay/format-starlight": "0.2.0-beta.22",
|
|
40
|
+
"@dogsbay/format-openapi": "0.2.0-beta.22",
|
|
41
|
+
"@dogsbay/types": "0.2.0-beta.22",
|
|
42
|
+
"@dogsbay/format-dogsbay-md": "0.2.0-beta.22"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^22.0.0",
|