We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a1ee2 commit a492383Copy full SHA for a492383
src/command/render/crossref.ts
@@ -42,7 +42,7 @@ export function crossrefFilterParams(
42
// validation
43
if (option === kNumberOffset) {
44
// coerce scalar number-offset to array
45
- if (typeof (value) === "number") {
+ if (typeof value === "number") {
46
value = [value];
47
}
48
// validate we have an array
@@ -66,7 +66,7 @@ export function crossrefFilterParams(
66
params[kNumberDepth] = metadata?.[kNumberDepth];
67
68
// always create crossref index for projects
69
- if (options.project) {
+ if (!options.project?.isSingleFile) {
70
// if its a book then only write for multi-file (as otherwise all of the
71
// crossref entries will end in a single index file)
72
if (
0 commit comments