getnikola / plugins

Extra plugins for Nikola
https://plugins.getnikola.com/
MIT License
59 stars 95 forks source link

Fix #221 -- add dependencies in pkgindex_compiler #222

Closed Kwpolska closed 7 years ago

Kwpolska commented 7 years ago

I’m using add='both' implicitly, because some of those files do not appear in cache/*.html.

felixfontein commented 7 years ago

This is a good start, but there are still things which don't result in proper dependencies, for example config['demo_screenshots_map'] in parse_theme_info: if that changes, no post is being recompiled.

It might be really better to simply do an uptodate dependency in CompilePackageIndexEntries.read_metadata on metadata returned there, since that implicitly covers all the other added dependencies.

felixfontein commented 7 years ago

(And yes, add='both' is best here.)