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
Allow calling #write twice #1085
Conversation
4a526b8
to
be6cae3
Compare
0c878e0
to
113c8ed
Compare
22c9ce8
to
6c0b848
Compare
6c0b848
to
b1f1479
Compare
Forward path references continue to be a pain… e.g. compile '/foo.*' do
snapshot :raw
filter :relativize_paths, type: :html unless rep.path.nil?
write item.identifier.without_ext + '.html'
snapshot :last
end ( The issue is here is that Now consider this example, where compile '/foo.*' do
snapshot :raw
write item.identifier.without_ext + '.html'
filter :relativize_paths, type: :html unless rep.path.nil?
snapshot :last
end If |
I’ve decided to not deal with the non-convergence issue yet. I believe this could be detected (i.e. if the paths have not yet converged after two attempts at calculating them, raise an error). |
7e6ee04
to
73f6a82
Compare
Fixes #1037. Allows calling
#write
multiple times.Steps: