Skip to content

Commit 76d6f83

Browse files
artifacts
1 parent 899523c commit 76d6f83

File tree

6 files changed

+204
-42
lines changed

6 files changed

+204
-42
lines changed

src/resources/editor/tools/vs-code.mjs

Lines changed: 49 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12544,6 +12544,42 @@ var require_yaml_intelligence_resources = __commonJS({
1254412544
}
1254512545
}
1254612546
},
12547+
{
12548+
id: "brand-path-bool-light-dark",
12549+
anyOf: [
12550+
"string",
12551+
"boolean",
12552+
{
12553+
object: {
12554+
closed: true,
12555+
properties: {
12556+
light: {
12557+
anyOf: [
12558+
"string",
12559+
{
12560+
ref: "brand"
12561+
}
12562+
],
12563+
description: "The path to a light brand file or an inline light brand definition.\n"
12564+
},
12565+
dark: {
12566+
anyOf: [
12567+
"string",
12568+
{
12569+
ref: "brand"
12570+
}
12571+
],
12572+
description: "The path to a dark brand file or an inline dark brand definition.\n"
12573+
}
12574+
}
12575+
}
12576+
},
12577+
{
12578+
ref: "brand"
12579+
}
12580+
],
12581+
description: "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition, or an object with light and dark brand paths or definitions.\n"
12582+
},
1254712583
{
1254812584
id: "brand-defaults",
1254912585
object: {
@@ -16689,15 +16725,9 @@ var require_yaml_intelligence_resources = __commonJS({
1668916725
{
1669016726
name: "brand",
1669116727
schema: {
16692-
anyOf: [
16693-
"string",
16694-
"boolean",
16695-
{
16696-
ref: "brand"
16697-
}
16698-
]
16728+
ref: "brand-path-bool-light-dark"
1669916729
},
16700-
description: "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
16730+
description: "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition, or an object with light and dark brand paths or definitions.\n"
1670116731
},
1670216732
{
1670316733
name: "theme",
@@ -21910,11 +21940,15 @@ var require_yaml_intelligence_resources = __commonJS({
2191021940
"The font files to include. These can be local or online. Local file\npaths should be relative to the <code>brand.yml</code> file. Online\npaths should be complete URLs.",
2191121941
"The path to the font file. This can be a local path or a URL.",
2191221942
"A locally-installed font family name. When used, the end-user is\nresponsible for ensuring that the font is installed on their system.",
21943+
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don\u2019t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
21944+
"The path to a light brand file or an inline light brand\ndefinition.",
21945+
"The path to a dark brand file or an inline dark brand definition.",
2191321946
{
2191421947
short: "Unique label for code cell",
2191521948
long: "Unique label for code cell. Used when other code needs to refer to\nthe cell (e.g.&nbsp;for cross references <code>fig-samples</code> or\n<code>tbl-summary</code>)"
2191621949
},
2191721950
"Classes to apply to cell container",
21951+
"Array of rendering names",
2191821952
"Array of tags for notebook cell",
2191921953
{
2192021954
short: "Notebook cell identifier",
@@ -22879,7 +22913,9 @@ var require_yaml_intelligence_resources = __commonJS({
2287922913
},
2288022914
"If <code>true</code>, force the presence of the OJS runtime. If\n<code>false</code>, force the absence instead. If unset, the OJS runtime\nis included only if OJS cells are present in the document.",
2288122915
"Use the specified file as a style reference in producing a docx,\npptx, or odt file.",
22882-
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don\u2019t use branding on this document. If an\nobject, an inline brand definition.",
22916+
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don\u2019t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
22917+
"The path to a light brand file or an inline light brand\ndefinition.",
22918+
"The path to a dark brand file or an inline dark brand definition.",
2288322919
"Theme name, theme scss file, or a mix of both.",
2288422920
"The light theme name, theme scss file, or a mix of both.",
2288522921
"The light theme name, theme scss file, or a mix of both.",
@@ -23630,6 +23666,7 @@ var require_yaml_intelligence_resources = __commonJS({
2363023666
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2363123667
"Manuscript configuration",
2363223668
"internal-schema-hack",
23669+
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019.",
2363323670
{
2363423671
short: "Include an automatically generated table of contents",
2363523672
long: ""
@@ -23982,7 +24019,6 @@ var require_yaml_intelligence_resources = __commonJS({
2398224019
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2398324020
"Manuscript configuration",
2398424021
"internal-schema-hack",
23985-
"Array of rendering names",
2398624022
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019."
2398724023
],
2398824024
"schema/external-schemas.yml": [
@@ -24212,12 +24248,12 @@ var require_yaml_intelligence_resources = __commonJS({
2421224248
mermaid: "%%"
2421324249
},
2421424250
"handlers/mermaid/schema.yml": {
24215-
_internalId: 194327,
24251+
_internalId: 196120,
2421624252
type: "object",
2421724253
description: "be an object",
2421824254
properties: {
2421924255
"mermaid-format": {
24220-
_internalId: 194319,
24256+
_internalId: 196112,
2422124257
type: "enum",
2422224258
enum: [
2422324259
"png",
@@ -24233,7 +24269,7 @@ var require_yaml_intelligence_resources = __commonJS({
2423324269
exhaustiveCompletions: true
2423424270
},
2423524271
theme: {
24236-
_internalId: 194326,
24272+
_internalId: 196119,
2423724273
type: "anyOf",
2423824274
anyOf: [
2423924275
{

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 49 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 49 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5516,6 +5516,42 @@
55165516
}
55175517
}
55185518
},
5519+
{
5520+
"id": "brand-path-bool-light-dark",
5521+
"anyOf": [
5522+
"string",
5523+
"boolean",
5524+
{
5525+
"object": {
5526+
"closed": true,
5527+
"properties": {
5528+
"light": {
5529+
"anyOf": [
5530+
"string",
5531+
{
5532+
"ref": "brand"
5533+
}
5534+
],
5535+
"description": "The path to a light brand file or an inline light brand definition.\n"
5536+
},
5537+
"dark": {
5538+
"anyOf": [
5539+
"string",
5540+
{
5541+
"ref": "brand"
5542+
}
5543+
],
5544+
"description": "The path to a dark brand file or an inline dark brand definition.\n"
5545+
}
5546+
}
5547+
}
5548+
},
5549+
{
5550+
"ref": "brand"
5551+
}
5552+
],
5553+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition, or an object with light and dark brand paths or definitions.\n"
5554+
},
55195555
{
55205556
"id": "brand-defaults",
55215557
"object": {
@@ -9661,15 +9697,9 @@
96619697
{
96629698
"name": "brand",
96639699
"schema": {
9664-
"anyOf": [
9665-
"string",
9666-
"boolean",
9667-
{
9668-
"ref": "brand"
9669-
}
9670-
]
9700+
"ref": "brand-path-bool-light-dark"
96719701
},
9672-
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition.\n"
9702+
"description": "Branding information to use for this document. If a string, the path to a brand file.\nIf false, don't use branding on this document. If an object, an inline brand\ndefinition, or an object with light and dark brand paths or definitions.\n"
96739703
},
96749704
{
96759705
"name": "theme",
@@ -14882,11 +14912,15 @@
1488214912
"The font files to include. These can be local or online. Local file\npaths should be relative to the <code>brand.yml</code> file. Online\npaths should be complete URLs.",
1488314913
"The path to the font file. This can be a local path or a URL.",
1488414914
"A locally-installed font family name. When used, the end-user is\nresponsible for ensuring that the font is installed on their system.",
14915+
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don’t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
14916+
"The path to a light brand file or an inline light brand\ndefinition.",
14917+
"The path to a dark brand file or an inline dark brand definition.",
1488514918
{
1488614919
"short": "Unique label for code cell",
1488714920
"long": "Unique label for code cell. Used when other code needs to refer to\nthe cell (e.g.&nbsp;for cross references <code>fig-samples</code> or\n<code>tbl-summary</code>)"
1488814921
},
1488914922
"Classes to apply to cell container",
14923+
"Array of rendering names",
1489014924
"Array of tags for notebook cell",
1489114925
{
1489214926
"short": "Notebook cell identifier",
@@ -15851,7 +15885,9 @@
1585115885
},
1585215886
"If <code>true</code>, force the presence of the OJS runtime. If\n<code>false</code>, force the absence instead. If unset, the OJS runtime\nis included only if OJS cells are present in the document.",
1585315887
"Use the specified file as a style reference in producing a docx,\npptx, or odt file.",
15854-
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don’t use branding on this document. If an\nobject, an inline brand definition.",
15888+
"Branding information to use for this document. If a string, the path\nto a brand file. If false, don’t use branding on this document. If an\nobject, an inline brand definition, or an object with light and dark\nbrand paths or definitions.",
15889+
"The path to a light brand file or an inline light brand\ndefinition.",
15890+
"The path to a dark brand file or an inline dark brand definition.",
1585515891
"Theme name, theme scss file, or a mix of both.",
1585615892
"The light theme name, theme scss file, or a mix of both.",
1585715893
"The light theme name, theme scss file, or a mix of both.",
@@ -16602,6 +16638,7 @@
1660216638
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
1660316639
"Manuscript configuration",
1660416640
"internal-schema-hack",
16641+
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’.",
1660516642
{
1660616643
"short": "Include an automatically generated table of contents",
1660716644
"long": ""
@@ -16954,7 +16991,6 @@
1695416991
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
1695516992
"Manuscript configuration",
1695616993
"internal-schema-hack",
16957-
"Array of rendering names",
1695816994
"List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’."
1695916995
],
1696016996
"schema/external-schemas.yml": [
@@ -17184,12 +17220,12 @@
1718417220
"mermaid": "%%"
1718517221
},
1718617222
"handlers/mermaid/schema.yml": {
17187-
"_internalId": 194327,
17223+
"_internalId": 196120,
1718817224
"type": "object",
1718917225
"description": "be an object",
1719017226
"properties": {
1719117227
"mermaid-format": {
17192-
"_internalId": 194319,
17228+
"_internalId": 196112,
1719317229
"type": "enum",
1719417230
"enum": [
1719517231
"png",
@@ -17205,7 +17241,7 @@
1720517241
"exhaustiveCompletions": true
1720617242
},
1720717243
"theme": {
17208-
"_internalId": 194326,
17244+
"_internalId": 196119,
1720917245
"type": "anyOf",
1721017246
"anyOf": [
1721117247
{

0 commit comments

Comments
 (0)