fauno / jekyll-pandoc-multiple-formats

Use pandoc on jekyll to generate posts in multiple formats. Development has moved to https://0xacab.org/edsl/jekyll-pandoc-multiple-formats
https://endefensadelsl.org
Other
89 stars 28 forks source link

skip already built files #17

Open fauno opened 9 years ago

fauno commented 9 years ago

i'm wondering what would the best approach to make this plugin skip already built files (edsl.org post list is growing!). first it should skip building if the destfile (ie a pdf) is older than the corresponding post, no? but what about included files and templates? if i make a change to the template or header (edsl.org uses latex with --include-in-header=, --include-before-body= and even --bibliography) all posts should be rebuilt, but if none is touched the destfile is assumed to be the same.

should _config.yml have a list of files that should be older than the source file to check for? any ideas? :)

fauno commented 7 years ago

same as #23

dananjohnson commented 7 years ago

+1 for this enhancement! We are using the plugin to generate outputs for over 600 documents in a collection. It's a godsend, but each build takes nearly an hour at this point.

Like your idea to check _config.yml for a set of template/header files used by posts that will be run through the plugin.

fauno commented 7 years ago

oooh what collection is that?

-- D

dananjohnson commented 7 years ago

We are using Jekyll's Collections feature to publish an anthology of poems from the Buddhist Canon.

fauno commented 7 years ago

sounds great! i'd like to see the site up too :)

this feature is on my priorities for next versions of the plugin, but i'm not finding the time to actually do it. i'm swamped at work and other projects!

dananjohnson commented 7 years ago

I know how that goes 🙄 Thanks for all the great work!

We have a beta site up and running. Testing it with a group of students this fall.