Closed BaronBonet closed 2 months ago
As far as I can tell Model-view also doesn't work.
I signed up for D2 Studio and tried it there. I'm getting the same error as above.
@BaronBonet Oops this is just a documentation mistake from a refactor. Thank you for this catch, it's been fixed.
First and foremost thanks to everyone working on this project! D2 has been a game changer in my documentation workflow and I've loved working with it.
Problem
In the docs there is a section on Partial imports.
I've tried copying this example exactly i.e. in the same directory make 2 files:
Then I use the cli command
d2 donut-flowchart.d2
and get the following error:If I modify the
donut-flowchart.svg
file to remove the targeted imports i.e.Then everything renders as expected. However, I'm hoping the partial imports functionally will work since it makes larger d2 projects more manageable.
I am using d2 version 0.6.6 on a Mac M2 Pro.