Skip to content

Commit 43f93e1

Browse files
committed
fix: use "- path: <path> or - <path>"
Fixes #12267
1 parent d6302ce commit 43f93e1

File tree

5 files changed

+21
-17
lines changed

5 files changed

+21
-17
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12499,7 +12499,7 @@ var require_yaml_intelligence_resources = __commonJS({
1249912499
}
1250012500
]
1250112501
},
12502-
description: "The font files to include as an array (*i.e.*, `- path: <path>`). These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs.\n"
12502+
description: "The font files to include as an array (`- path: <path>` or `- <path>`). These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs.\n"
1250312503
}
1250412504
},
1250512505
required: [
@@ -21900,7 +21900,7 @@ var require_yaml_intelligence_resources = __commonJS({
2190021900
"The font display method, determines how a font face is font face is\nshown depending on its download status and readiness for use.",
2190121901
"A method for providing font files directly, either locally or from an\nonline location.",
2190221902
"The font family name.",
21903-
"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.",
21903+
"The font files to include as an array (<em>i.e.</em>,\n<code>- path: &lt;path&gt;</code>). These can be local or online. Local\nfile paths should be relative to the <code>brand.yml</code> file. Online\npaths should be complete URLs.",
2190421904
"The path to the font file. This can be a local path or a URL.",
2190521905
"A locally-installed font family name. When used, the end-user is\nresponsible for ensuring that the font is installed on their system.",
2190621906
{
@@ -23623,6 +23623,7 @@ var require_yaml_intelligence_resources = __commonJS({
2362323623
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
2362423624
"Manuscript configuration",
2362523625
"internal-schema-hack",
23626+
"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.",
2362623627
{
2362723628
short: "Include an automatically generated table of contents",
2362823629
long: ""
@@ -24204,12 +24205,12 @@ var require_yaml_intelligence_resources = __commonJS({
2420424205
mermaid: "%%"
2420524206
},
2420624207
"handlers/mermaid/schema.yml": {
24207-
_internalId: 194322,
24208+
_internalId: 194332,
2420824209
type: "object",
2420924210
description: "be an object",
2421024211
properties: {
2421124212
"mermaid-format": {
24212-
_internalId: 194314,
24213+
_internalId: 194324,
2421324214
type: "enum",
2421424215
enum: [
2421524216
"png",
@@ -24225,7 +24226,7 @@ var require_yaml_intelligence_resources = __commonJS({
2422524226
exhaustiveCompletions: true
2422624227
},
2422724228
theme: {
24228-
_internalId: 194321,
24229+
_internalId: 194331,
2422924230
type: "anyOf",
2423024231
anyOf: [
2423124232
{

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

Lines changed: 6 additions & 5 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: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5471,7 +5471,7 @@
54715471
}
54725472
]
54735473
},
5474-
"description": "The font files to include as an array (*i.e.*, `- path: <path>`). These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs.\n"
5474+
"description": "The font files to include as an array (`- path: <path>` or `- <path>`). These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs.\n"
54755475
}
54765476
},
54775477
"required": [
@@ -14872,7 +14872,7 @@
1487214872
"The font display method, determines how a font face is font face is\nshown depending on its download status and readiness for use.",
1487314873
"A method for providing font files directly, either locally or from an\nonline location.",
1487414874
"The font family name.",
14875-
"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.",
14875+
"The font files to include as an array (<em>i.e.</em>,\n<code>- path: &lt;path&gt;</code>). These can be local or online. Local\nfile paths should be relative to the <code>brand.yml</code> file. Online\npaths should be complete URLs.",
1487614876
"The path to the font file. This can be a local path or a URL.",
1487714877
"A locally-installed font family name. When used, the end-user is\nresponsible for ensuring that the font is installed on their system.",
1487814878
{
@@ -16595,6 +16595,7 @@
1659516595
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
1659616596
"Manuscript configuration",
1659716597
"internal-schema-hack",
16598+
"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’.",
1659816599
{
1659916600
"short": "Include an automatically generated table of contents",
1660016601
"long": ""
@@ -17176,12 +17177,12 @@
1717617177
"mermaid": "%%"
1717717178
},
1717817179
"handlers/mermaid/schema.yml": {
17179-
"_internalId": 194322,
17180+
"_internalId": 194332,
1718017181
"type": "object",
1718117182
"description": "be an object",
1718217183
"properties": {
1718317184
"mermaid-format": {
17184-
"_internalId": 194314,
17185+
"_internalId": 194324,
1718517186
"type": "enum",
1718617187
"enum": [
1718717188
"png",
@@ -17197,7 +17198,7 @@
1719717198
"exhaustiveCompletions": true
1719817199
},
1719917200
"theme": {
17200-
"_internalId": 194321,
17201+
"_internalId": 194331,
1720117202
"type": "anyOf",
1720217203
"anyOf": [
1720317204
{

src/resources/schema/definitions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,8 @@
29542954
# string:
29552955
# pattern: '^U\+[0-9A-F]{4}(?:-[0-9A-F]{4})?(?:,U\+[0-9A-F]{4}(?:-[0-9A-F]{4})?)*$'
29562956
description: >
2957-
The font files to include as an array (*i.e.*, `- path: <path>`). These can be local or online.
2957+
The font files to include as an array (`- path: <path>` or `- <path>`).
2958+
These can be local or online.
29582959
Local file paths should be relative to the `brand.yml` file.
29592960
Online paths should be complete URLs.
29602961
required: [files, family, source]

src/resources/types/schema-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ export type BrandFontFile = {
14691469
path: string;
14701470
style?: BrandFontStyle;
14711471
weight?: BrandFontWeight;
1472-
}))[] /* The font files to include as an array (*i.e.*, `- path: <path>`). These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs. */;
1472+
}))[] /* The font files to include as an array (`- path: <path>` or `- <path>`). These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs. */;
14731473
source: "file";
14741474
}; /* A method for providing font files directly, either locally or from an online location. */
14751475

0 commit comments

Comments
 (0)