From cbca94e55be59b9f775b4cf5af0d113693d45590 Mon Sep 17 00:00:00 2001 From: Charles Teague Date: Tue, 12 Sep 2023 16:09:13 -0400 Subject: [PATCH] use correct code-links schema --- src/resources/editor/tools/vs-code.mjs | 4 ++-- src/resources/editor/tools/yaml/web-worker.js | 4 ++-- .../editor/tools/yaml/yaml-intelligence-resources.json | 4 ++-- src/resources/schema/definitions.yml | 2 +- src/resources/schema/document-links.yml | 2 +- src/resources/types/schema-types.ts | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/resources/editor/tools/vs-code.mjs b/src/resources/editor/tools/vs-code.mjs index 3076ced8aa..e425575264 100644 --- a/src/resources/editor/tools/vs-code.mjs +++ b/src/resources/editor/tools/vs-code.mjs @@ -9686,7 +9686,7 @@ var require_yaml_intelligence_resources = __commonJS({ anyOf: [ "boolean", { - ref: "other-links" + ref: "code-links-schema" } ] }, @@ -14745,7 +14745,7 @@ var require_yaml_intelligence_resources = __commonJS({ ] }, { - ref: "other-links" + ref: "code-links-schema" } ] }, diff --git a/src/resources/editor/tools/yaml/web-worker.js b/src/resources/editor/tools/yaml/web-worker.js index a8ef69f743..195095b1b0 100644 --- a/src/resources/editor/tools/yaml/web-worker.js +++ b/src/resources/editor/tools/yaml/web-worker.js @@ -9687,7 +9687,7 @@ try { anyOf: [ "boolean", { - ref: "other-links" + ref: "code-links-schema" } ] }, @@ -14746,7 +14746,7 @@ try { ] }, { - ref: "other-links" + ref: "code-links-schema" } ] }, diff --git a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json index df0b63934d..9b0595e321 100644 --- a/src/resources/editor/tools/yaml/yaml-intelligence-resources.json +++ b/src/resources/editor/tools/yaml/yaml-intelligence-resources.json @@ -2658,7 +2658,7 @@ "anyOf": [ "boolean", { - "ref": "other-links" + "ref": "code-links-schema" } ] }, @@ -7717,7 +7717,7 @@ ] }, { - "ref": "other-links" + "ref": "code-links-schema" } ] }, diff --git a/src/resources/schema/definitions.yml b/src/resources/schema/definitions.yml index 48396ed7a2..4d7381a9c6 100644 --- a/src/resources/schema/definitions.yml +++ b/src/resources/schema/definitions.yml @@ -1022,7 +1022,7 @@ schema: anyOf: - boolean - - ref: other-links + - ref: code-links-schema tags: formats: [$html-doc] description: "A list of codes links to appear with this document." diff --git a/src/resources/schema/document-links.yml b/src/resources/schema/document-links.yml index 759c7f97b9..6a41a218b5 100644 --- a/src/resources/schema/document-links.yml +++ b/src/resources/schema/document-links.yml @@ -81,7 +81,7 @@ schema: anyOf: - enum: [false] - - ref: other-links + - ref: code-links-schema description: "A list of links that should be displayed below the table of contents in an `Code Links` section." - name: notebook-subarticles diff --git a/src/resources/types/schema-types.ts b/src/resources/types/schema-types.ts index 08c60703b3..41fefe6c49 100644 --- a/src/resources/types/schema-types.ts +++ b/src/resources/types/schema-types.ts @@ -406,7 +406,7 @@ The user’s cookie preferences will automatically control Google Analytics (if | boolean | TwitterCardConfig /* Publish twitter card metadata */; "other-links"?: OtherLinks; - "code-links"?: boolean | OtherLinks; + "code-links"?: boolean | CodeLinksSchema; comments?: Comments; description?: string /* Website description */; favicon?: string /* The path to the favicon for this website */;