Code Monkey home page Code Monkey logo

Comments (7)

wold5 avatar wold5 commented on June 25, 2024

Can confirm this, with 0.18 for Windows. The files are actually present in the output directory, but not loaded.

Ignore the latter re Linux: I accidentally used 0.17 (system installed). This might be another issue, TBC.

from zola.

pietroalbini avatar pietroalbini commented on June 25, 2024

This is fixed by #2398, it would be nice to have a patch release with the fix.

from zola.

Keats avatar Keats commented on June 25, 2024

There's probably going to be a new release anyway since pulldown_cmark was updated

from zola.

maghoff avatar maghoff commented on June 25, 2024

A workaround for this problem is to give the absolute path of the output directory on the command line, ie instead of --output-dir docs, --output-dir /full/path/to/docs.

from zola.

wold5 avatar wold5 commented on June 25, 2024

A workaround for this problem is to give the absolute path of the output directory on the command line, ie instead of --output-dir docs, --output-dir /full/path/to/docs.

This didn't solve it on Windows - and I always use the full path to a ramdisk.

Current next with #2398 fails to run for me on Windows, further comments will follow in that thread.

My earlier comment re Linux can be ignored BTW. I usually write on Windows and compile on Linux. I forget --drafts... after a long day, when converting shortcodes to macros turned up all kinds of issues to do with scope overlap, etc, etc. (since solved) ;)

from zola.

maghoff avatar maghoff commented on June 25, 2024

@wold5 You'd need to format the path exactly like fs::canonicalize does. I think you'd get paths that start with \\?\ in that syntax. But I'm no Windows guru. If you need the workaround, the simplest way is probably to write a test program just to canonicalize the path correctly :)

from zola.

Keats avatar Keats commented on June 25, 2024

Would https://crates.io/crates/normpath solve the issue?

from zola.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.