Skip to content

Conversation

cscheid
Copy link
Collaborator

@cscheid cscheid commented Oct 10, 2025

@github-actions github-actions bot temporarily deployed to pull request October 10, 2025 00:20 Inactive
Copy link
Contributor

📝 Preview Deployment

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

🔄 Modified Documents

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 10, 2025

(the feature needs to be in quarto-cli before this PR will build correctly.)

@github-actions github-actions bot temporarily deployed to pull request October 10, 2025 19:01 Inactive
Copy link
Contributor

📝 Preview Deployment

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

🔄 Modified Documents

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 10, 2025

/deploy-preview

(edit: I guess the bot doesn't listen to me 😢)

@github-actions github-actions bot temporarily deployed to pull request October 10, 2025 19:12 Inactive
Copy link
Contributor

📝 Preview Deployment

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

🔄 Modified Documents

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 10, 2025

@cderv This is weird - I can't get the preview to show my changes..

@cderv
Copy link
Collaborator

cderv commented Oct 13, 2025

Usually, when this happens, this is a freeze topic:

This file has some computation code cell

```{python}
#| label: tbl-planets
#| tbl-cap: "Astronomical object"
#| echo: fenced
from IPython.display import Markdown
from tabulate import tabulate
table = [["Sun","696,000",1.989e30],
["Earth","6,371",5.972e24],
["Moon","1,737",7.34e22],
["Mars","3,390",6.39e23]]
Markdown(tabulate(
table,
headers=["Astronomical object","R (km)", "mass (kg)"]
))
```

So freeze needs to be updated locally and commited. See in _freeze directory _freeze/docs/authoring/tables/execute-results

So locally you need to quarto render docs/authoring/tables.qmd using the venv for quarto-web. If you're not setup locally, I can run it for you (I haven't made the switch to uv here yet, so we are using pipenv (https://github.com/quarto-dev/quarto-web#python-environment-for-jupyter-engine-and-knitr-through-reticulate)

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 14, 2025

Ahhhhhh you're right, thank you!! 🤦 How much work would it be for the CI to warn when we make .qmd changes to a file that has freeze output?

@cderv
Copy link
Collaborator

cderv commented Oct 14, 2025

How much work would it be for the CI to warn when we make .qmd changes to a file that has freeze output?

That's a good question. I'll think about it. If we report in quarto inspect that the document is frozen, then it could be quite easy.

Otherwise, I can find some heuristic.

@cscheid
Copy link
Collaborator Author

cscheid commented Oct 14, 2025

I'll think about it. If we report in quarto inspect that the document is frozen, then it could be quite easy.

Very good idea. Tracking here: quarto-dev/quarto-cli#13554

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