Closed ghost closed 4 years ago
Hi,
Thanks for you report. Did you already test this? Do you want to make a merge request?
If not I will do this asap.
I tested it locally on my Windows device. I'd be happy to submit a merge request if you can test it on non-Windows devices.
HI,
yes, I could test it on OS X and Linux.
I am using MkDocs with mkdocs-build-plantuml-plugin on a Windows device. Everything seems to work well except that the output folder structure does not mirror the input folder structure as documented. When files are stored in the
input_folder
, their images are generated to theoutput_folder
. But when files are stored in a subfolder ofinput_folder
, their images are generated to a like-named subfolder ofC:/
.Example...
I am not a Python developer but I believe the cause of the issue to be at line 47 of plantuml.py.
The last function call,
split("/")
doesn't work on Windows. If does work if you replace it withsplit(os.sep)
.