We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I use
--- sql: penguins: /data/penguins.csv ---
the path is constructed from the site root, and this fails when the site is hosted at a non-root URL.
Case in point: https://observablehq.observablehq.cloud/pangea/duckdb/pivot-table was erroring with
stdlib.51b9da18.js:1 Uncaught Error: File not found: ../data/penguins.csv at FileAttachment (stdlib.51b9da18.js:1:655) at pivot-table:36:27
I can fix my page by changing the front-matter to
--- sql: penguins: ../data/penguins.csv ---
The text was updated successfully, but these errors were encountered:
resolve relative paths in sql front-matter table definitions
7d5423c
closes #1796
fb6566c
Successfully merging a pull request may close this issue.
If I use
the path is constructed from the site root, and this fails when the site is hosted at a non-root URL.
Case in point: https://observablehq.observablehq.cloud/pangea/duckdb/pivot-table was erroring with
I can fix my page by changing the front-matter to
The text was updated successfully, but these errors were encountered: