Skip to content

Commit

Permalink
use correct code-links schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle committed Sep 12, 2023
1 parent eeb87b6 commit cbca94e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9686,7 +9686,7 @@ var require_yaml_intelligence_resources = __commonJS({
anyOf: [
"boolean",
{
ref: "other-links"
ref: "code-links-schema"
}
]
},
Expand Down Expand Up @@ -14745,7 +14745,7 @@ var require_yaml_intelligence_resources = __commonJS({
]
},
{
ref: "other-links"
ref: "code-links-schema"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions src/resources/editor/tools/yaml/web-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2658,7 +2658,7 @@
"anyOf": [
"boolean",
{
"ref": "other-links"
"ref": "code-links-schema"
}
]
},
Expand Down Expand Up @@ -7717,7 +7717,7 @@
]
},
{
"ref": "other-links"
"ref": "code-links-schema"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/resources/schema/definitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion src/resources/schema/document-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/resources/types/schema-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */;
Expand Down

0 comments on commit cbca94e

Please sign in to comment.