-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom site root doesn't work on Windows #1361
Comments
This feels like https://github.com/getzola/zola/blob/master/src/main.rs#L15-L20 should work 🤔 |
Is it still happening with 0.14? |
I had the same problem on master branch [0] and did a little analysis. root_dir: \?\C:\Users\user\my_site My guess is the questionmark in the prefix will later be interpreted as a globbing character. I kinda confirmed this by removing the "canonicalize" call in the root_dir assignment, which fixed the problem for me.
[0] commit 9946506 (HEAD -> master, origin/master, origin/HEAD) |
@warsus thanks for digging! |
@Keats |
From the forums
Windows 10, zola 0.13.0
It appears the
-r
flag is broken on Windows, at least with absolute links, like so:The text was updated successfully, but these errors were encountered: