Closed Fil closed 3 weeks ago
Sorry for the delay. I plan to review this tomorrow.
@Fil is there anything more you want to do on this PR before merging it? It would be nice to have this in Framework's main branch for further development.
Not on my side; I just wanted to give Mike a chance to review.
Annotations are now conditioned on the ANNOTATE_FILES=true
environment variable. (Any other value throws an error.)
We should probably make that OBSERVABLE_ANNOTATE_FILES
?
Sure, or OBSERVABLE_ANNOTATE
for short. I don't have an opinion on this :)
I'd prefer if all environment variables that need to be set in Cloud Builds begin with OBSERVABLE_
. I don't have a preference for OBSERVABLE_ANNOTATE
vs OBSERVABLE_ANNOTATE_FILES
.
paths to local files in transpiled JavaScript modules are postfixed with a comment
For example, when building the documentation, we now have in docs/.observablehq/dist/_import/chart.95e875cf.js
in lieu of
The annotate.js scripts lists a few cases that can be annotated.