Open joelostblom opened 2 days ago
Interesting, thanks for posting the issue @joelostblom ! We'll look into it asap
I think the problem is that it's using an absolute path:
FileNotFoundError: [Errno 2] No such file or directory: '/_static/chart.html'
But what I see in a lot of the html files here is ../_static/chart.html
:
large_datasets.html: <script src="../_static/vendor/fontawesome/6.5.2/js/all.min.js?digest=dfe6caa3a7d634c4db9b"></script>
large_datasets.html: <script src="../_static/documentation_options.js?v=d2f74b0e"></script>
large_datasets.html: <script src="../_static/doctools.js?v=9a2dae69"></script>
large_datasets.html: <script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
large_datasets.html: <script src="../_static/clipboard.min.js?v=a7894cd8"></script>
large_datasets.html: <script src="../_static/copybutton.js?v=f281be69"></script>
large_datasets.html: <script src="../_static/design-tabs.js?v=f930bc37"></script>
I wonder if somehow we've got a bug in filename parsing that breaks on ../
I am trying to use website_diff for reviewing https://github.com/vega/altair/pull/3544, which I am building locally and diffing against main. However, you can reproduce by downloading https://github.com/altair-viz/altair-viz.github.io/archive/master.zip and then extracting it into two folders:
new
andold
, before running:I tried it both with the exact same site and with making some changes in
new
. Both lead to the following error message being raised:It does seem like both directories have a file in that location:
All the other files crawled are in
prerendered_old
; not sure why_static
is not?