Replies: 1 comment 15 replies
-
We need an actual repository with the code to be able to help - a description like this is not enough to reproduce. |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi everyone,
I have an interesting challenge with generating Quarto reports using Python. Here’s the setup:
Files:
MainCode.py: Handles data collection, formatting, and generates variables for _quarto.yml.
Create_Lot_Summary.ipynb: Contains the core Python code for calculations and plots.
_quarto.yml: Configuration file for the Quarto dashboard.
Code Overview:
MainCode.py generates the _quarto.yml file with the following content:
After generating _quarto.yml, the following command renders the Quarto dashboard:
The Problem:
When "embed-resources": False, the rendering creates an HTML file and a folder with supporting files.
When "embed-resources": True, the rendering creates a single HTML file with all resources embedded, but it requires an active internet connection to download files like jquery.min.js, require.min.js and may be more .
Question:
How can I ensure the rendering works without an internet connection, especially when "embed-resources": True?
Looking forward to your suggestions and solutions!
Beta Was this translation helpful? Give feedback.
All reactions