posit-dev / publisher

MIT License
3 stars 0 forks source link

Connect quarto does not render notebooks #1863

Closed mmarchetti closed 4 days ago

mmarchetti commented 6 days ago

If you deploy a .qmd file with app type quarto, Connect will execute the code when rendering. But if you deploy a .ipynb file, it will convert the notebook to HTML without executing the code cells.

On the publisher side, we should stop detecting .ipynb files as possible quarto type documents. The user can set the type to quarto if they really want this mode.

mmarchetti commented 6 days ago

See the quarto docs here.

mmarchetti commented 6 days ago

Potentially we could inject the execute flag in the notebook YAML front matter, or better communicate to the user whether the notebook will execute in Connect or not.

dotNomad commented 4 days ago

Verified that you are no longer prompted to select Quarto as an option when creating a configuration for a .ipynb file.