Skip to content

Commit 5a921c6

Browse files
update reference tool for 1.8
1 parent b8606b1 commit 5a921c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/reference.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ writeMetadataTable("citation", "Citation", citationOptions);
376376
// Filter `definitions` to items with an id field starting with `brand-`
377377
const brandDefinitions = definitions.filter(item => item.id.startsWith("brand-"));
378378

379-
const brandOptions = readDefinitionsId("brand",{
379+
const brandOptions = readDefinitionsId("brand-unified",{
380380
"meta": "Metadata for a brand, including the brand name and important links. See [Meta](#meta) for more information.",
381381
"logo": "Provide definitions and defaults for brand's logo in various formats and sizes. See [Logo](#logo) for more information.",
382382
"color": "The brand's custom color palette and theme. See [Color](#color) for more information.",
@@ -413,17 +413,17 @@ const brandMetadata = [
413413
{
414414
"name": "brand-logo",
415415
"title": "Logo",
416-
"options": readDefinitionsId("brand-logo")
416+
"options": readDefinitionsId("brand-logo-unified")
417417
},
418418
{
419419
"name": "brand-color",
420420
"title": "Color",
421-
"options": readDefinitionsId("brand-color")
421+
"options": readDefinitionsId("brand-color-unified")
422422
},
423423
{
424424
"name": "brand-typography",
425425
"title": "Typography",
426-
"options": readTypographyOptions("brand-typography", toFollow)
426+
"options": readTypographyOptions("brand-typography-unified", toFollow)
427427
},
428428
{
429429
"name": "font-resource-definitions",
@@ -578,7 +578,7 @@ writeProjectTable("algolia-index-fields", algoliaIndexFieldsOptions);
578578
const utterancesOptions = readProjectProperties(findVal(definitions, "utterances")!["object"]["properties"]);
579579
writeProjectTable("utterances", utterancesOptions);
580580

581-
const giscussOptions = readProjectProperties(findVal(definitions, "giscus")!["object"]["properties"]);
581+
const giscussOptions = readDefinitionsId("giscus-configuration");
582582
writeProjectTable("giscus", giscussOptions);
583583

584584
const hypothesisSchema = findVal(definitions, "hypothesis")!["anyOf"][1]["object"]["properties"];

0 commit comments

Comments
 (0)