tlienart / Xranklin.jl

Experimental repo for a refactoring of Franklin.jl
https://tlienart.github.io/Xranklin.jl
MIT License
40 stars 1 forks source link

Cells creating / reading folders are not run in the right order? #267

Closed gdalle closed 1 year ago

gdalle commented 1 year ago

Sorry for the endless spam @tlienart. I did a big push today on ModernJuliaWorkflows, and a bug on the following PR is driving me crazy: https://github.com/modernjuliaworkflows/modernjuliaworkflows.github.io/pull/63

It happens on page 2 of the blog (sharing.md). There, I create a package called MyAwesomePackage with PkgTemplates.jl, and then I ]dev it into an environment called MyAwesomeProject. Both are local folders located at the root of the website, created on the fly (and added to .gitignore). In the ]dev step, Xranklin crashes because it can't seem to find the package folder. I tried everything to make sure the cells run in the right order: ignoring the cache for the whole page, and even re-running both guilty cells with double symbols >> and ]]. Still the bug remains but only on CI: locally, it works like a charm.

gdalle commented 1 year ago

By comparison, putting both calls in the same cell works in https://github.com/modernjuliaworkflows/modernjuliaworkflows.github.io/pull/64

EDIT: no it does NOT

gdalle commented 1 year ago

OK this probably had something to do with my lack of use of sitepath and folderpath. Closing for now