Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/core/brand/brand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,10 @@ export function fillLogoPaths(
}
return undefined;
}
if (!spec || typeof spec === "string") {
if (!spec) {
return undefined;
}
if (typeof spec === "string") {
return spec;
}
if ("light" in spec || "dark" in spec) {
Expand Down
83 changes: 41 additions & 42 deletions src/resources/editor/tools/vs-code.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12221,8 +12221,13 @@ var require_yaml_intelligence_resources = __commonJS({
},
{
id: "logo-light-dark-specifier-path-optional",
description: "Any of the ways a logo can be specified: string, object, or light/dark object of string or object\n",
description: "Any of the ways a logo can be specified: string, object, or light/dark object of string or object. Use `false` to explicitly disable the logo.\n",
anyOf: [
{
enum: [
false
]
},
{
ref: "logo-specifier-path-optional"
},
Expand Down Expand Up @@ -14590,42 +14595,6 @@ var require_yaml_intelligence_resources = __commonJS({
},
description: "Contributors to this publication."
},
{
name: "subject",
tags: {
formats: [
"$epub-all"
]
},
schema: {
anyOf: [
"string",
{
object: {
closed: true,
properties: {
text: {
string: {
description: "The subject text."
}
},
authority: {
string: {
description: "An EPUB reserved authority value."
}
},
term: {
string: {
description: "The subject term (defined by the schema)."
}
}
}
}
}
]
},
description: "The subject of the publication."
},
{
name: "type",
tags: {
Expand Down Expand Up @@ -17269,12 +17238,39 @@ var require_yaml_intelligence_resources = __commonJS({
},
{
name: "subject",
schema: "string",
schema: {
anyOf: [
"string",
{
object: {
closed: true,
properties: {
text: {
string: {
description: "The subject text."
}
},
authority: {
string: {
description: "An EPUB reserved authority value."
}
},
term: {
string: {
description: "The subject term (defined by the schema)."
}
}
}
}
}
]
},
tags: {
formats: [
"$pdf-all",
"$office-all",
"odt"
"odt",
"$epub-all"
]
},
description: "The document subject"
Expand Down Expand Up @@ -20738,6 +20734,9 @@ var require_yaml_intelligence_resources = __commonJS({
comments: {
title: "Comments"
},
a11y: {
title: "Accessibility"
},
includes: {
title: "Includes"
},
Expand Down Expand Up @@ -25375,12 +25374,12 @@ var require_yaml_intelligence_resources = __commonJS({
mermaid: "%%"
},
"handlers/mermaid/schema.yml": {
_internalId: 222774,
_internalId: 222775,
type: "object",
description: "be an object",
properties: {
"mermaid-format": {
_internalId: 222766,
_internalId: 222767,
type: "enum",
enum: [
"png",
Expand All @@ -25396,7 +25395,7 @@ var require_yaml_intelligence_resources = __commonJS({
exhaustiveCompletions: true
},
theme: {
_internalId: 222773,
_internalId: 222774,
type: "anyOf",
anyOf: [
{
Expand Down

Large diffs are not rendered by default.

83 changes: 41 additions & 42 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.

Loading
Loading