The webby not check dependencies of partials.
Reported by Hcc | December 18th, 2008 @ 08:48 AM
I think dependency check will be needed in Webby. For example, a.txt file depend to _b.txt .
$cat A.txt
---
title: foofoo
extension: html
filter: erb
---
<%= render :partial => "b" %>
$cat _b.txt
This is changed often. hogehoge.
$webby build
update output/A.html
Next, I modify _b.txt
$cat _b.txt
This is changed often. foofoo222.
$webby build
identical output/A.html
Ouch, no udates!
I want to propose. Please, try to add a partial attribute, if it is difficult to determine automatically.
$cat A.txt
---
title: foofoo
extension: html
filter: erb
partial:
- b
---
Comments and changes to this ticket
-
TwP January 23rd, 2009 @ 08:21 PM
- State changed from new to open
- Assigned user set to TwP
Thanks for the patch. It is difficult to make the partial detection automatic, but the solution is halfway there already. The other half is persisting the rendering graph to disk and using the graph to figure who depends on what.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Static website generate (ASCII Alchemy)