You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/resources/editor/tools/vs-code.mjs
+43-6Lines changed: 43 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -9428,10 +9428,27 @@ var require_yaml_intelligence_resources = __commonJS({
9428
9428
description: "Enable Google Analytics for this website"
9429
9429
},
9430
9430
"plausible-analytics": {
9431
-
schema: "string",
9431
+
anyOf: [
9432
+
"string",
9433
+
{
9434
+
object: {
9435
+
closed: true,
9436
+
properties: {
9437
+
path: {
9438
+
path: {
9439
+
description: "Path to a file containing the Plausible Analytics script snippet"
9440
+
}
9441
+
}
9442
+
},
9443
+
required: [
9444
+
"path"
9445
+
]
9446
+
}
9447
+
}
9448
+
],
9432
9449
description: {
9433
-
short: "Enable Plausible Analytics for this website",
9434
-
long: "Enable Plausible Analytics for this website by pasting the script snippet from your Plausible dashboard.\n\nPlausible is a privacy-friendly, GDPR-compliant web analytics service that does not use cookies and does not require cookie consent.\n\nTo get your script snippet:\n\n1. Log into your Plausible account at <https://plausible.io>\n2. Go to your site settings\n3. Copy the JavaScript snippet provided\n4. Paste it here\n\nFor more information, see <https://plausible.io/docs/plausible-script>\n"
9450
+
short: "Enable Plausible Analytics for this website by providing a script snippet or path to snippet file",
9451
+
long: 'Enable Plausible Analytics for this website by pasting the script snippet from your Plausible dashboard,\nor by providing a path to a file containing the snippet.\n\nPlausible is a privacy-friendly, GDPR-compliant web analytics service that does not use cookies and does not require cookie consent.\n\n**Option 1: Inline snippet**\n\n```yaml\nwebsite:\n plausible-analytics: |\n <script async src="https://plausible.io/js/script.js"><\/script>\n```\n\n**Option 2: File path**\n\n```yaml\nwebsite:\n plausible-analytics:\n path: _plausible_snippet.html\n```\n\nTo get your script snippet:\n\n1. Log into your Plausible account at <https://plausible.io>\n2. Go to your site settings\n3. Copy the JavaScript snippet provided\n4. Either paste it directly in your configuration or save it to a file\n\nFor more information, see <https://plausible.io/docs/plausible-script>\n'
9435
9452
}
9436
9453
},
9437
9454
announcement: {
@@ -21520,6 +21537,11 @@ var require_yaml_intelligence_resources = __commonJS({
21520
21537
short: "The version number of Google Analytics to use.",
21521
21538
long: "The version number of Google Analytics to use."
21522
21539
},
21540
+
{
21541
+
short: "Enable Plausible Analytics for this website by providing a script\nsnippet or path to snippet file",
21542
+
long: "Enable Plausible Analytics for this website by pasting the script\nsnippet from your Plausible dashboard, or by providing a path to a file\ncontaining the snippet.\nPlausible is a privacy-friendly, GDPR-compliant web analytics service\nthat does not use cookies and does not require cookie consent.\n<strong>Option 1: Inline snippet</strong>"
21543
+
},
21544
+
"Path to a file containing the Plausible Analytics script snippet",
21523
21545
"Provides an announcement displayed at the top of the page.",
21524
21546
"The content of the announcement",
21525
21547
"Whether this announcement may be dismissed by the user.",
@@ -21681,6 +21703,11 @@ var require_yaml_intelligence_resources = __commonJS({
21681
21703
short: "The version number of Google Analytics to use.",
21682
21704
long: "The version number of Google Analytics to use."
21683
21705
},
21706
+
{
21707
+
short: "Enable Plausible Analytics for this website by providing a script\nsnippet or path to snippet file",
21708
+
long: "Enable Plausible Analytics for this website by pasting the script\nsnippet from your Plausible dashboard, or by providing a path to a file\ncontaining the snippet.\nPlausible is a privacy-friendly, GDPR-compliant web analytics service\nthat does not use cookies and does not require cookie consent.\n<strong>Option 1: Inline snippet</strong>"
21709
+
},
21710
+
"Path to a file containing the Plausible Analytics script snippet",
21684
21711
"Provides an announcement displayed at the top of the page.",
21685
21712
"The content of the announcement",
21686
21713
"Whether this announcement may be dismissed by the user.",
@@ -24067,6 +24094,11 @@ var require_yaml_intelligence_resources = __commonJS({
24067
24094
short: "The version number of Google Analytics to use.",
24068
24095
long: "The version number of Google Analytics to use."
24069
24096
},
24097
+
{
24098
+
short: "Enable Plausible Analytics for this website by providing a script\nsnippet or path to snippet file",
24099
+
long: "Enable Plausible Analytics for this website by pasting the script\nsnippet from your Plausible dashboard, or by providing a path to a file\ncontaining the snippet.\nPlausible is a privacy-friendly, GDPR-compliant web analytics service\nthat does not use cookies and does not require cookie consent.\n<strong>Option 1: Inline snippet</strong>"
24100
+
},
24101
+
"Path to a file containing the Plausible Analytics script snippet",
24070
24102
"Provides an announcement displayed at the top of the page.",
24071
24103
"The content of the announcement",
24072
24104
"Whether this announcement may be dismissed by the user.",
@@ -24417,6 +24449,11 @@ var require_yaml_intelligence_resources = __commonJS({
24417
24449
short: "The version number of Google Analytics to use.",
24418
24450
long: "The version number of Google Analytics to use."
24419
24451
},
24452
+
{
24453
+
short: "Enable Plausible Analytics for this website by providing a script\nsnippet or path to snippet file",
24454
+
long: "Enable Plausible Analytics for this website by pasting the script\nsnippet from your Plausible dashboard, or by providing a path to a file\ncontaining the snippet.\nPlausible is a privacy-friendly, GDPR-compliant web analytics service\nthat does not use cookies and does not require cookie consent.\n<strong>Option 1: Inline snippet</strong>"
24455
+
},
24456
+
"Path to a file containing the Plausible Analytics script snippet",
24420
24457
"Provides an announcement displayed at the top of the page.",
24421
24458
"The content of the announcement",
24422
24459
"Whether this announcement may be dismissed by the user.",
@@ -24940,12 +24977,12 @@ var require_yaml_intelligence_resources = __commonJS({
24940
24977
mermaid: "%%"
24941
24978
},
24942
24979
"handlers/mermaid/schema.yml": {
24943
-
_internalId: 197475,
24980
+
_internalId: 197491,
24944
24981
type: "object",
24945
24982
description: "be an object",
24946
24983
properties: {
24947
24984
"mermaid-format": {
24948
-
_internalId: 197467,
24985
+
_internalId: 197483,
24949
24986
type: "enum",
24950
24987
enum: [
24951
24988
"png",
@@ -24961,7 +24998,7 @@ var require_yaml_intelligence_resources = __commonJS({
0 commit comments