You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested Pelican with #1927 merged and found one breaking difference with Pelican 3.6.3.
In Pelican 3.6.3 extensions is list, which passed to Markdown as is (with 'meta' added) and all extensions initialized in order. Now it can be dictionary extension_configs or list extensions. But in any way it will passed through list(set(settings['extensions'])). So extensions initialized in arbitrary order and a new order for each Pelican execution. Looks like such behaviour starts even before, with #1638.
I have extensions that depend on some internal parsers and ones from 'abbr' and 'meta' extensions. I can add my parser before or after some internal one, but now I cannot add my parser after one from 'meta' or 'abbr'.
I suggest to removing repeated extensions w/o changing its order or don’t do it at all (just carefully add keys from 'extension_configs' to end of 'extension'). The second way looks better for me.
@Scheirle, do you have time to fix it? I can make PR if it’s needed. Hope it should be fixed before 3.7 will released.
The text was updated successfully, but these errors were encountered:
I tested Pelican with #1927 merged and found one breaking difference with Pelican 3.6.3.
In Pelican 3.6.3 extensions is list, which passed to Markdown as is (with 'meta' added) and all extensions initialized in order. Now it can be dictionary
extension_configs
or listextensions
. But in any way it will passed throughlist(set(settings['extensions']))
. So extensions initialized in arbitrary order and a new order for each Pelican execution. Looks like such behaviour starts even before, with #1638.I have extensions that depend on some internal parsers and ones from 'abbr' and 'meta' extensions. I can add my parser before or after some internal one, but now I cannot add my parser after one from 'meta' or 'abbr'.
I suggest to removing repeated extensions w/o changing its order or don’t do it at all (just carefully add keys from 'extension_configs' to end of 'extension'). The second way looks better for me.
@Scheirle, do you have time to fix it? I can make PR if it’s needed. Hope it should be fixed before 3.7 will released.
The text was updated successfully, but these errors were encountered: