Comments (7)
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.
This is fixed by #2398, it would be nice to have a patch release with the fix.
from zola.
There's probably going to be a new release anyway since pulldown_cmark was updated
from zola.
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.
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.
@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.
Would https://crates.io/crates/normpath solve the issue?
from zola.
Related Issues (20)
- How to use sort_by to Sort taxonomies in taxonomy_list.html? HOT 6
- Sintax highlighting of `?Sized` rust code is invalid HOT 1
- Internal anchors can be added by templates HOT 1
- support treating standalone .html files as pages HOT 4
- JPEG XL support for image processing? HOT 5
- Improve documentation about enabling Sass
- PR Question - Docs Contributions HOT 6
- Incorrect Plist syntax: UnexpectedXmlCharactersExpectedElement (offset 56) HOT 2
- `zola serve` treats `_` and `-` as equivalent for static assets, other static web servers do not. HOT 1
- `resize_image` default compression parameters for PNG often make files larger HOT 1
- Excerpt separator not compatible with Hugo (or Jekyll), is `<!-- more -->` rather than `<!--more-->` HOT 2
- Shortcode markdown filter results in a superfluous newline at end HOT 2
- get_url generates http url during serve, even though base_url defines https HOT 3
- Feature request: Proper support for GitHub Codespaces / dev containers HOT 5
- Section links refer to permalink#section
- Search question: is it possible to set search weight per page HOT 1
- 0.18.0 `zola serve` requires restart to complete Getting Started Overview HOT 1
- Content from theme is not loaded? HOT 5
- Option to invalidate template cache after specified time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zola.