sort plugins by priority, so they are executed in order #478

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Contributor

sillylogger commented Jan 23, 2012

https://github.com/mojombo/jekyll/wiki/Plugins #Flags suggest that the priority flag will be taken into account when loading plugins. Right now they are loaded and then executed in alphabetical order, according to the file system. I dont see them respecting the priority flag at all.

This is an isolated branch for a prior pull request, thanks for looking into it. Tests are passing.

@ghost ghost referenced this pull request May 28, 2012

Closed

Prioritize plugins #564

+ # them with the Site config.
+ #
+ # Returns Array.
+ def build_plugins(plugin_array)
@parkr

parkr Mar 16, 2013

Owner

@mattr- did this too in #841.

Owner

parkr commented Mar 16, 2013

Merged in 7425b2c and caa6a4e

@parkr parkr closed this Mar 16, 2013

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.