Skip to content

Commit 8e764f6

Browse files
committed
fix schema definition
1 parent 312bf69 commit 8e764f6

File tree

5 files changed

+17
-14
lines changed

5 files changed

+17
-14
lines changed

src/format/html/format-html-axe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function axeFormatDependencies(
1414
temp: TempContext,
1515
options?: unknown,
1616
): FormatExtras {
17-
if (options === undefined) {
17+
if (!options) {
1818
return {};
1919
}
2020

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23759,6 +23759,7 @@ var require_yaml_intelligence_resources = __commonJS({
2375923759
"internal-schema-hack",
2376023760
"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.",
2376123761
"When defined, run axe-core accessibility tests on the document.",
23762+
"If true, output axe-core results on console in JSON format.",
2376223763
"Project configuration.",
2376323764
"Project type (<code>default</code>, <code>website</code>,\n<code>book</code>, or <code>manuscript</code>)",
2376423765
"Files to render (defaults to all files)",
@@ -24333,12 +24334,12 @@ var require_yaml_intelligence_resources = __commonJS({
2433324334
mermaid: "%%"
2433424335
},
2433524336
"handlers/mermaid/schema.yml": {
24336-
_internalId: 196726,
24337+
_internalId: 196509,
2433724338
type: "object",
2433824339
description: "be an object",
2433924340
properties: {
2434024341
"mermaid-format": {
24341-
_internalId: 196718,
24342+
_internalId: 196501,
2434224343
type: "enum",
2434324344
enum: [
2434424345
"png",
@@ -24354,7 +24355,7 @@ var require_yaml_intelligence_resources = __commonJS({
2435424355
exhaustiveCompletions: true
2435524356
},
2435624357
theme: {
24357-
_internalId: 196725,
24358+
_internalId: 196508,
2435824359
type: "anyOf",
2435924360
anyOf: [
2436024361
{
@@ -24400,7 +24401,7 @@ var require_yaml_intelligence_resources = __commonJS({
2440024401
name: "axe",
2440124402
schema: {
2440224403
anyOf: [
24403-
true,
24404+
"boolean",
2440424405
{
2440524406
object: {
2440624407
properties: {

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

Lines changed: 5 additions & 4 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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16731,6 +16731,7 @@
1673116731
"internal-schema-hack",
1673216732
"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’.",
1673316733
"When defined, run axe-core accessibility tests on the document.",
16734+
"If true, output axe-core results on console in JSON format.",
1673416735
"Project configuration.",
1673516736
"Project type (<code>default</code>, <code>website</code>,\n<code>book</code>, or <code>manuscript</code>)",
1673616737
"Files to render (defaults to all files)",
@@ -17305,12 +17306,12 @@
1730517306
"mermaid": "%%"
1730617307
},
1730717308
"handlers/mermaid/schema.yml": {
17308-
"_internalId": 196726,
17309+
"_internalId": 196509,
1730917310
"type": "object",
1731017311
"description": "be an object",
1731117312
"properties": {
1731217313
"mermaid-format": {
17313-
"_internalId": 196718,
17314+
"_internalId": 196501,
1731417315
"type": "enum",
1731517316
"enum": [
1731617317
"png",
@@ -17326,7 +17327,7 @@
1732617327
"exhaustiveCompletions": true
1732717328
},
1732817329
"theme": {
17329-
"_internalId": 196725,
17330+
"_internalId": 196508,
1733017331
"type": "anyOf",
1733117332
"anyOf": [
1733217333
{
@@ -17372,7 +17373,7 @@
1737217373
"name": "axe",
1737317374
"schema": {
1737417375
"anyOf": [
17375-
true,
17376+
"boolean",
1737617377
{
1737717378
"object": {
1737817379
"properties": {

src/resources/schema/document-a11y.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- name: axe
22
schema:
33
anyOf:
4-
- true
4+
- boolean
55
- object:
66
properties:
77
output:

0 commit comments

Comments
 (0)