Skip to content

Update reference pages for v1.9.27#1929

Merged
cwickham merged 1 commit intoprereleasefrom
auto/prerelease-reference-v1.9.27
Mar 2, 2026
Merged

Update reference pages for v1.9.27#1929
cwickham merged 1 commit intoprereleasefrom
auto/prerelease-reference-v1.9.27

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 2, 2026

Automated update of reference documentation for Quarto prerelease v1.9.27.

Summary

1 file changed, 1 insertion(+), 1 deletion(-)

Changed files

docs/cli/cli-info.json

Scripts run

  • tools/reference.ts - format/cell/project reference JSON
  • tools/reference-cli-generate-md.R - CLI reference markdown

@cderv
Copy link
Collaborator

cderv commented Mar 2, 2026

/deploy-preview

@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 2, 2026

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-1929.quarto.org

@cwickham cwickham merged commit d9c3fb0 into prerelease Mar 2, 2026
@cwickham cwickham deleted the auto/prerelease-reference-v1.9.27 branch March 2, 2026 19:40
@cderv
Copy link
Collaborator

cderv commented Mar 3, 2026

So it is working yeah !!

Idea as I did that for others in the preview deployment workflow: I can add which pages to look at in addition to the main preview link.

I guess the cli-info.json does update pages at https://prerelease.quarto.org/docs/cli/ right?

So I could detect if cli-info.json is in the changed file and if so adds https://deploy-preview-1929.quarto.org//docs/cli/index.tml as page to link to in the comment above.

I have done that for other cases already

@cwickham
Copy link
Collaborator

cwickham commented Mar 4, 2026

@cderv Yes, cli-info.json along with tools/generate-reference-pages.R updates the docs/cli/includes/_xxx.md files which are then used via the include shortcode. How hard would it be to detect changes to the docs/cli/includes/_xxx.md files and give the preview link to the corresponding docs/cli/yyy.qmd page? Some pages, e.g. docs/cli/call.qmd include multiple docs/cli/includes/_xxx.md files.

The same problem occurs for the other reference pages. E.g. changes to reference/**/*.json files indirectly drive changes on reference/**/*.qmd pages and we don't get the preview links. For cells/ and formats/ and metadata/ I think the relationship between .json and .qmd is one to one. For projects/ its a bit more complicated...

@cderv
Copy link
Collaborator

cderv commented Mar 4, 2026

It is not hard if what we want to do is

  • Detect one of these files (like docs/cli/includes/_*.md)
  • If found then show a link for this other one: like docs/cli/includes/index.html

What I did not manage efficiently to do is

  • Detect change in this _*.qmd file => EASY
  • But as this is a _ one then it means it has no HTML page, so find the other page where it is included... => HARD

But for reference pages, if we know whare the link to add, then I think this is easy to add.

Can you help me understand this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants