Skip to content

Commit 90852f2

Browse files
committed
Appease the schema
1 parent ecaee29 commit 90852f2

File tree

7 files changed

+107
-126
lines changed

7 files changed

+107
-126
lines changed

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

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8016,7 +8016,17 @@ var require_yaml_intelligence_resources = __commonJS({
80168016
]
80178017
},
80188018
schema: {
8019-
ref: "output-location-schema"
8019+
enum: [
8020+
"default",
8021+
"fragment",
8022+
"slide",
8023+
"column",
8024+
"column-fragment"
8025+
]
8026+
},
8027+
description: {
8028+
short: "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)",
8029+
long: "Location of output relative to the code that generated it. The possible values are as follows:\n\n- `default`: Normal flow of the slide after the code\n- `fragment`: In a fragment (not visible until you advance)\n- `slide`: On a new slide after the curent one\n- 'column': In an adjacent column \n- `column-fragment`: In an adjacent column (not visible until you advance)\n\nNote that this option is supported only for the `revealjs` format.\n"
80208030
}
80218031
},
80228032
{
@@ -11092,22 +11102,6 @@ var require_yaml_intelligence_resources = __commonJS({
1109211102
}
1109311103
}
1109411104
}
11095-
},
11096-
{
11097-
id: "output-location-schema",
11098-
schema: {
11099-
enum: [
11100-
"default",
11101-
"fragment",
11102-
"slide",
11103-
"column",
11104-
"column-fragment"
11105-
],
11106-
description: {
11107-
short: "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)",
11108-
long: "Location of output relative to the code that generated it. The possible values are as follows:\n\n- `default`: Normal flow of the slide after the code\n- `fragment`: In a fragment (not visible until you advance)\n- `slide`: On a new slide after the curent one\n- 'column': In an adjacent column \n- `column-fragment`: In an adjacent column (not visible until you advance)\n\nNote that this option is supported only for the `revealjs` format.\n"
11109-
}
11110-
}
1111111105
}
1111211106
],
1111311107
"schema/document-about.yml": [
@@ -15686,7 +15680,17 @@ var require_yaml_intelligence_resources = __commonJS({
1568615680
]
1568715681
},
1568815682
schema: {
15689-
ref: "output-location-schema"
15683+
enum: [
15684+
"default",
15685+
"fragment",
15686+
"slide",
15687+
"column",
15688+
"column-fragment"
15689+
]
15690+
},
15691+
description: {
15692+
short: "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)",
15693+
long: "Location of output relative to the code that generated it. The possible values are as follows:\n\n- `default`: Normal flow of the slide after the code\n- `fragment`: In a fragment (not visible until you advance)\n- `slide`: On a new slide after the curent one\n- 'column': In an adjacent column \n- `column-fragment`: In an adjacent column (not visible until you advance)\n\nNote that this option is supported only for the `revealjs` format.\n"
1569015694
}
1569115695
}
1569215696
],
@@ -19410,10 +19414,6 @@ var require_yaml_intelligence_resources = __commonJS({
1941019414
"Include errors in the output (note that this implies that errors\nexecuting code will not halt processing of the document).",
1941119415
"Catch all for preventing any output (code or results) from being\nincluded in output.",
1941219416
"Panel type for cell output (<code>tabset</code>, <code>input</code>,\n<code>sidebar</code>, <code>fill</code>, <code>center</code>)",
19413-
{
19414-
short: "Location of output relative to the code that generated it\n(<code>default</code>, <code>fragment</code>, <code>slide</code>,\n<code>column</code>, or <code>column-location</code>)",
19415-
long: "Location of output relative to the code that generated it. The\npossible values are as follows:"
19416-
},
1941719417
"Include messages in rendered output.",
1941819418
{
1941919419
short: "How to display text results",
@@ -19663,7 +19663,7 @@ var require_yaml_intelligence_resources = __commonJS({
1966319663
},
1966419664
{
1966519665
short: "Default height for figures generated by Matplotlib or R graphics",
19666-
long: "Default width for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when\nprovided at the cell level; it can only be provided with document or\nproject metadata."
19666+
long: "Default height for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when\nprovided at the cell level; it can only be provided with document or\nproject metadata."
1966719667
},
1966819668
"Default format for figures generated by Matplotlib or R graphics\n(<code>retina</code>, <code>png</code>, <code>jpeg</code>,\n<code>svg</code>, or <code>pdf</code>)",
1966919669
{
@@ -21030,11 +21030,7 @@ var require_yaml_intelligence_resources = __commonJS({
2103021030
long: "Title of the volume of the item or container holding the item.\nAlso use for titles of periodical special issues, special sections,\nand the like."
2103121031
},
2103221032
"Disambiguating year suffix in author-date styles (e.g.&nbsp;\u201Ca\u201D in \u201CDoe,\n1999a\u201D).",
21033-
"internal-schema-hack",
21034-
{
21035-
short: "Location of output relative to the code that generated it\n(<code>default</code>, <code>fragment</code>, <code>slide</code>,\n<code>column</code>, or <code>column-location</code>)",
21036-
long: "Location of output relative to the code that generated it. The\npossible values are as follows:"
21037-
}
21033+
"internal-schema-hack"
2103821034
],
2103921035
"schema/external-schemas.yml": [
2104021036
{
@@ -21259,12 +21255,12 @@ var require_yaml_intelligence_resources = __commonJS({
2125921255
mermaid: "%%"
2126021256
},
2126121257
"handlers/mermaid/schema.yml": {
21262-
_internalId: 152009,
21258+
_internalId: 151940,
2126321259
type: "object",
2126421260
description: "be an object",
2126521261
properties: {
2126621262
"mermaid-format": {
21267-
_internalId: 152001,
21263+
_internalId: 151932,
2126821264
type: "enum",
2126921265
enum: [
2127021266
"png",
@@ -21280,7 +21276,7 @@ var require_yaml_intelligence_resources = __commonJS({
2128021276
exhaustiveCompletions: true
2128121277
},
2128221278
theme: {
21283-
_internalId: 152008,
21279+
_internalId: 151939,
2128421280
type: "anyOf",
2128521281
anyOf: [
2128621282
{

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

Lines changed: 27 additions & 31 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: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,17 @@
992992
]
993993
},
994994
"schema": {
995-
"ref": "output-location-schema"
995+
"enum": [
996+
"default",
997+
"fragment",
998+
"slide",
999+
"column",
1000+
"column-fragment"
1001+
]
1002+
},
1003+
"description": {
1004+
"short": "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)",
1005+
"long": "Location of output relative to the code that generated it. The possible values are as follows:\n\n- `default`: Normal flow of the slide after the code\n- `fragment`: In a fragment (not visible until you advance)\n- `slide`: On a new slide after the curent one\n- 'column': In an adjacent column \n- `column-fragment`: In an adjacent column (not visible until you advance)\n\nNote that this option is supported only for the `revealjs` format.\n"
9961006
}
9971007
},
9981008
{
@@ -4068,22 +4078,6 @@
40684078
}
40694079
}
40704080
}
4071-
},
4072-
{
4073-
"id": "output-location-schema",
4074-
"schema": {
4075-
"enum": [
4076-
"default",
4077-
"fragment",
4078-
"slide",
4079-
"column",
4080-
"column-fragment"
4081-
],
4082-
"description": {
4083-
"short": "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)",
4084-
"long": "Location of output relative to the code that generated it. The possible values are as follows:\n\n- `default`: Normal flow of the slide after the code\n- `fragment`: In a fragment (not visible until you advance)\n- `slide`: On a new slide after the curent one\n- 'column': In an adjacent column \n- `column-fragment`: In an adjacent column (not visible until you advance)\n\nNote that this option is supported only for the `revealjs` format.\n"
4085-
}
4086-
}
40874081
}
40884082
],
40894083
"schema/document-about.yml": [
@@ -8662,7 +8656,17 @@
86628656
]
86638657
},
86648658
"schema": {
8665-
"ref": "output-location-schema"
8659+
"enum": [
8660+
"default",
8661+
"fragment",
8662+
"slide",
8663+
"column",
8664+
"column-fragment"
8665+
]
8666+
},
8667+
"description": {
8668+
"short": "Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)",
8669+
"long": "Location of output relative to the code that generated it. The possible values are as follows:\n\n- `default`: Normal flow of the slide after the code\n- `fragment`: In a fragment (not visible until you advance)\n- `slide`: On a new slide after the curent one\n- 'column': In an adjacent column \n- `column-fragment`: In an adjacent column (not visible until you advance)\n\nNote that this option is supported only for the `revealjs` format.\n"
86668670
}
86678671
}
86688672
],
@@ -12386,10 +12390,6 @@
1238612390
"Include errors in the output (note that this implies that errors\nexecuting code will not halt processing of the document).",
1238712391
"Catch all for preventing any output (code or results) from being\nincluded in output.",
1238812392
"Panel type for cell output (<code>tabset</code>, <code>input</code>,\n<code>sidebar</code>, <code>fill</code>, <code>center</code>)",
12389-
{
12390-
"short": "Location of output relative to the code that generated it\n(<code>default</code>, <code>fragment</code>, <code>slide</code>,\n<code>column</code>, or <code>column-location</code>)",
12391-
"long": "Location of output relative to the code that generated it. The\npossible values are as follows:"
12392-
},
1239312393
"Include messages in rendered output.",
1239412394
{
1239512395
"short": "How to display text results",
@@ -12639,7 +12639,7 @@
1263912639
},
1264012640
{
1264112641
"short": "Default height for figures generated by Matplotlib or R graphics",
12642-
"long": "Default width for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when\nprovided at the cell level; it can only be provided with document or\nproject metadata."
12642+
"long": "Default height for figures generated by Matplotlib or R graphics.\nNote that with the Jupyter engine, this option has no effect when\nprovided at the cell level; it can only be provided with document or\nproject metadata."
1264312643
},
1264412644
"Default format for figures generated by Matplotlib or R graphics\n(<code>retina</code>, <code>png</code>, <code>jpeg</code>,\n<code>svg</code>, or <code>pdf</code>)",
1264512645
{
@@ -14006,11 +14006,7 @@
1400614006
"long": "Title of the volume of the item or container holding the item.\nAlso use for titles of periodical special issues, special sections,\nand the like."
1400714007
},
1400814008
"Disambiguating year suffix in author-date styles (e.g.&nbsp;“a” in “Doe,\n1999a”).",
14009-
"internal-schema-hack",
14010-
{
14011-
"short": "Location of output relative to the code that generated it\n(<code>default</code>, <code>fragment</code>, <code>slide</code>,\n<code>column</code>, or <code>column-location</code>)",
14012-
"long": "Location of output relative to the code that generated it. The\npossible values are as follows:"
14013-
}
14009+
"internal-schema-hack"
1401414010
],
1401514011
"schema/external-schemas.yml": [
1401614012
{
@@ -14235,12 +14231,12 @@
1423514231
"mermaid": "%%"
1423614232
},
1423714233
"handlers/mermaid/schema.yml": {
14238-
"_internalId": 152009,
14234+
"_internalId": 151940,
1423914235
"type": "object",
1424014236
"description": "be an object",
1424114237
"properties": {
1424214238
"mermaid-format": {
14243-
"_internalId": 152001,
14239+
"_internalId": 151932,
1424414240
"type": "enum",
1424514241
"enum": [
1424614242
"png",
@@ -14256,7 +14252,7 @@
1425614252
"exhaustiveCompletions": true
1425714253
},
1425814254
"theme": {
14259-
"_internalId": 152008,
14255+
"_internalId": 151939,
1426014256
"type": "anyOf",
1426114257
"anyOf": [
1426214258
{

src/resources/schema/cell-textoutput.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,19 @@
5555
tags:
5656
formats: [revealjs]
5757
schema:
58-
ref: output-location-schema
58+
enum: [default, fragment, slide, column, column-fragment]
59+
description:
60+
short: Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)
61+
long: |
62+
Location of output relative to the code that generated it. The possible values are as follows:
63+
64+
- `default`: Normal flow of the slide after the code
65+
- `fragment`: In a fragment (not visible until you advance)
66+
- `slide`: On a new slide after the curent one
67+
- 'column': In an adjacent column
68+
- `column-fragment`: In an adjacent column (not visible until you advance)
69+
70+
Note that this option is supported only for the `revealjs` format.
5971
6072
- name: message
6173
tags:

src/resources/schema/definitions.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2139,19 +2139,3 @@
21392139
properties:
21402140
trace-filters: string
21412141
tests: object
2142-
2143-
- id: output-location-schema
2144-
schema:
2145-
enum: [default, fragment, slide, column, column-fragment]
2146-
description:
2147-
short: Location of output relative to the code that generated it (`default`, `fragment`, `slide`, `column`, or `column-location`)
2148-
long: |
2149-
Location of output relative to the code that generated it. The possible values are as follows:
2150-
2151-
- `default`: Normal flow of the slide after the code
2152-
- `fragment`: In a fragment (not visible until you advance)
2153-
- `slide`: On a new slide after the curent one
2154-
- 'column': In an adjacent column
2155-
- `column-fragment`: In an adjacent column (not visible until you advance)
2156-
2157-
Note that this option is supported only for the `revealjs` format.

0 commit comments

Comments
 (0)