Skip to content

Commit a8a138f

Browse files
authored
Merge pull request #7884 from quarto-dev/fix/crossref-schema
Add links to crossref schema
2 parents b7b2dcc + f20373f commit a8a138f

5 files changed

Lines changed: 23 additions & 12 deletions

File tree

src/resources/editor/tools/vs-code.mjs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12432,7 +12432,10 @@ var require_yaml_intelligence_resources = __commonJS({
1243212432
"schema/document-crossref.yml": [
1243312433
{
1243412434
name: "crossref",
12435-
description: "Configuration for crossref labels and prefixes.",
12435+
description: {
12436+
short: "Configuration for cross-reference labels and prefixes.",
12437+
long: "Configuration for cross-reference labels and prefixes. See [Cross-Reference Options](https://quarto.org/docs/reference/metadata/crossref.html) for more details."
12438+
},
1243612439
schema: {
1243712440
anyOf: [
1243812441
{
@@ -12447,7 +12450,7 @@ var require_yaml_intelligence_resources = __commonJS({
1244712450
custom: {
1244812451
arrayOf: {
1244912452
object: {
12450-
description: "A custom cross reference type.",
12453+
description: "A custom cross reference type. See [Custom](https://quarto.org/docs/reference/metadata/crossref.html#custom) for more details.",
1245112454
closed: true,
1245212455
required: [
1245312456
"kind",
@@ -18840,7 +18843,7 @@ var require_yaml_intelligence_resources = __commonJS({
1884018843
title: "Footnotes"
1884118844
},
1884218845
crossref: {
18843-
title: "Crossrefs"
18846+
title: "Cross-References"
1884418847
},
1884518848
citation: {
1884618849
title: "Citation"

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5404,7 +5404,10 @@
54045404
"schema/document-crossref.yml": [
54055405
{
54065406
"name": "crossref",
5407-
"description": "Configuration for crossref labels and prefixes.",
5407+
"description": {
5408+
"short": "Configuration for cross-reference labels and prefixes.",
5409+
"long": "Configuration for cross-reference labels and prefixes. See [Cross-Reference Options](https://quarto.org/docs/reference/metadata/crossref.html) for more details."
5410+
},
54085411
"schema": {
54095412
"anyOf": [
54105413
{
@@ -5419,7 +5422,7 @@
54195422
"custom": {
54205423
"arrayOf": {
54215424
"object": {
5422-
"description": "A custom cross reference type.",
5425+
"description": "A custom cross reference type. See [Custom](https://quarto.org/docs/reference/metadata/crossref.html#custom) for more details.",
54235426
"closed": true,
54245427
"required": [
54255428
"kind",
@@ -11812,7 +11815,7 @@
1181211815
"title": "Footnotes"
1181311816
},
1181411817
"crossref": {
11815-
"title": "Crossrefs"
11818+
"title": "Cross-References"
1181611819
},
1181711820
"citation": {
1181811821
"title": "Citation"

src/resources/schema/document-crossref.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
- name: crossref
2-
description: Configuration for crossref labels and prefixes.
2+
description:
3+
short: Configuration for cross-reference labels and prefixes.
4+
long: Configuration for cross-reference labels and prefixes. See [Cross-Reference Options](https://quarto.org/docs/reference/metadata/crossref.html) for more details.
35
schema:
46
anyOf:
57
- enum: [false]
@@ -9,7 +11,7 @@
911
custom:
1012
arrayOf:
1113
object:
12-
description: A custom cross reference type.
14+
description: A custom cross reference type. See [Custom](https://quarto.org/docs/reference/metadata/crossref.html#custom) for more details.
1315
closed: true
1416
required: ["kind", "reference-prefix", "key"]
1517
properties:

src/resources/schema/groups.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ document:
8585
footnotes:
8686
title: "Footnotes"
8787
crossref:
88-
title: "Crossrefs"
88+
title: "Cross-References"
8989
citation:
9090
title: "Citation"
9191
language:

0 commit comments

Comments
 (0)