DemoCards.jl
DemoCards.jl copied to clipboard
The cover image was not properly handled when using a relative path
When the image path referenced in the example is a relative path, it cannot be processed correctly. For example,

Will produce an error, and the result will be like
┌ Warning: cover file doesn't exists
│ cover_path = "<CARD_PATH>/../figures/cover.png"
└ @ DemoCards ~/.julia/packages/DemoCards/ZgH8l/src/generate.jl:358
I think the problem arises from https://github.com/JuliaDocs/DemoCards.jl/blob/53ac68a4caafc62b5e02ddf5817204d26d2e8d00/src/generate.jl#L356
This report is a bit unclear. Does cover_path
really exist on your system? Does it print literally "<CARD_PATH>" or is that your own replacement?