-
Notifications
You must be signed in to change notification settings - Fork 394
[backport] Add page-numbering to schema #13858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cderv
wants to merge
2
commits into
v1.8
Choose a base branch
from
backport/page-numbering
base: v1.8
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+98
−16
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17215,6 +17215,24 @@ var require_yaml_intelligence_resources = __commonJS({ | |
| long: "Shift heading levels by a positive or negative integer.\nFor example, with `shift-heading-level-by: -1`, level 2\nheadings become level 1 headings, and level 3 headings\nbecome level 2 headings. Headings cannot have a level\nless than 1, so a heading that would be shifted below level 1\nbecomes a regular paragraph. Exception: with a shift of -N,\na level-N heading at the beginning of the document\nreplaces the metadata title.\n" | ||
| } | ||
| }, | ||
| { | ||
| name: "page-numbering", | ||
| schema: { | ||
| anyOf: [ | ||
| "boolean", | ||
| "string" | ||
| ] | ||
| }, | ||
| tags: { | ||
| formats: [ | ||
| "typst" | ||
| ] | ||
| }, | ||
| description: { | ||
| short: "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n", | ||
| long: "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n\nSee [Typst Numbering](https://typst.app/docs/reference/model/numbering/) \nfor additional information.\n" | ||
| } | ||
| }, | ||
| { | ||
| name: "pagenumbering", | ||
| schema: { | ||
|
|
@@ -21908,7 +21926,7 @@ var require_yaml_intelligence_resources = __commonJS({ | |
| "The path to an XML stylesheet (XSL file) used to style the RSS\nfeed.", | ||
| { | ||
| short: "The date format to use when displaying dates (e.g. d-M-yyy).", | ||
| long: 'The date format to use when displaying dates (e.g. d-M-yyy). Learn\nmore about supported date formatting values <a href="https://quarto.org/docs/reference/dates.html">here</a>.' | ||
| long: 'The date format to use when displaying dates (e.g. d-M-yyy). Learn\nmore about supported date formatting values <a href="https://deno.land/[email protected]/datetime">here</a>.' | ||
| }, | ||
| { | ||
| short: "The maximum length (in characters) of the description displayed in\nthe listing.", | ||
|
|
@@ -24698,7 +24716,11 @@ var require_yaml_intelligence_resources = __commonJS({ | |
| "Disambiguating year suffix in author-date styles (e.g. \u201Ca\u201D in \u201CDoe,\n1999a\u201D).", | ||
| "Manuscript configuration", | ||
| "internal-schema-hack", | ||
| "List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019." | ||
| "List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto\u2019s default order\nis \u2018knitr\u2019, \u2018jupyter\u2019, \u2018markdown\u2019, \u2018julia\u2019.", | ||
| { | ||
| short: "Schema to use for numbering pages, e.g. <code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.", | ||
| long: 'Schema to use for numbering pages, e.g. <code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.\nSee <a href="https://typst.app/docs/reference/model/numbering/">Typst\nNumbering</a> for additional information.' | ||
| } | ||
| ], | ||
| "schema/external-schemas.yml": [ | ||
| { | ||
|
|
@@ -24927,12 +24949,12 @@ var require_yaml_intelligence_resources = __commonJS({ | |
| mermaid: "%%" | ||
| }, | ||
| "handlers/mermaid/schema.yml": { | ||
| _internalId: 197474, | ||
| _internalId: 197484, | ||
| type: "object", | ||
| description: "be an object", | ||
| properties: { | ||
| "mermaid-format": { | ||
| _internalId: 197466, | ||
| _internalId: 197476, | ||
| type: "enum", | ||
| enum: [ | ||
| "png", | ||
|
|
@@ -24948,7 +24970,7 @@ var require_yaml_intelligence_resources = __commonJS({ | |
| exhaustiveCompletions: true | ||
| }, | ||
| theme: { | ||
| _internalId: 197473, | ||
| _internalId: 197483, | ||
| type: "anyOf", | ||
| anyOf: [ | ||
| { | ||
|
|
||
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10187,6 +10187,24 @@ | |
| "long": "Shift heading levels by a positive or negative integer.\nFor example, with `shift-heading-level-by: -1`, level 2\nheadings become level 1 headings, and level 3 headings\nbecome level 2 headings. Headings cannot have a level\nless than 1, so a heading that would be shifted below level 1\nbecomes a regular paragraph. Exception: with a shift of -N,\na level-N heading at the beginning of the document\nreplaces the metadata title.\n" | ||
| } | ||
| }, | ||
| { | ||
| "name": "page-numbering", | ||
| "schema": { | ||
| "anyOf": [ | ||
| "boolean", | ||
| "string" | ||
| ] | ||
| }, | ||
| "tags": { | ||
| "formats": [ | ||
| "typst" | ||
| ] | ||
| }, | ||
| "description": { | ||
| "short": "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n", | ||
| "long": "Schema to use for numbering pages, e.g. `1` or `i`, or `false` to omit page numbering.\n\nSee [Typst Numbering](https://typst.app/docs/reference/model/numbering/) \nfor additional information.\n" | ||
| } | ||
| }, | ||
| { | ||
| "name": "pagenumbering", | ||
| "schema": { | ||
|
|
@@ -14880,7 +14898,7 @@ | |
| "The path to an XML stylesheet (XSL file) used to style the RSS\nfeed.", | ||
| { | ||
| "short": "The date format to use when displaying dates (e.g. d-M-yyy).", | ||
| "long": "The date format to use when displaying dates (e.g. d-M-yyy). Learn\nmore about supported date formatting values <a href=\"https://quarto.org/docs/reference/dates.html\">here</a>." | ||
| "long": "The date format to use when displaying dates (e.g. d-M-yyy). Learn\nmore about supported date formatting values <a href=\"https://deno.land/[email protected]/datetime\">here</a>." | ||
| }, | ||
| { | ||
| "short": "The maximum length (in characters) of the description displayed in\nthe listing.", | ||
|
|
@@ -17670,7 +17688,11 @@ | |
| "Disambiguating year suffix in author-date styles (e.g. “a” in “Doe,\n1999a”).", | ||
| "Manuscript configuration", | ||
| "internal-schema-hack", | ||
| "List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’." | ||
| "List execution engines you want to give priority when determining\nwhich engine should render a notebook. If two engines have support for a\nnotebook, the one listed earlier will be chosen. Quarto’s default order\nis ‘knitr’, ‘jupyter’, ‘markdown’, ‘julia’.", | ||
| { | ||
| "short": "Schema to use for numbering pages, e.g. <code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.", | ||
| "long": "Schema to use for numbering pages, e.g. <code>1</code> or\n<code>i</code>, or <code>false</code> to omit page numbering.\nSee <a href=\"https://typst.app/docs/reference/model/numbering/\">Typst\nNumbering</a> for additional information." | ||
| } | ||
| ], | ||
| "schema/external-schemas.yml": [ | ||
| { | ||
|
|
@@ -17899,12 +17921,12 @@ | |
| "mermaid": "%%" | ||
| }, | ||
| "handlers/mermaid/schema.yml": { | ||
| "_internalId": 197474, | ||
| "_internalId": 197484, | ||
| "type": "object", | ||
| "description": "be an object", | ||
| "properties": { | ||
| "mermaid-format": { | ||
| "_internalId": 197466, | ||
| "_internalId": 197476, | ||
| "type": "enum", | ||
| "enum": [ | ||
| "png", | ||
|
|
@@ -17920,7 +17942,7 @@ | |
| "exhaustiveCompletions": true | ||
| }, | ||
| "theme": { | ||
| "_internalId": 197473, | ||
| "_internalId": 197483, | ||
| "type": "anyOf", | ||
| "anyOf": [ | ||
| { | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was wrongly modified in another backport
https://github.com/quarto-dev/quarto-cli/pull/13544/files
So rebuilding fixed it.
For 1.9 it has been modified in #13492