Re: [nikola-discuss] Plugins interactions

2020-04-28 Thread Chris Warrick
On Tue, 28 Apr 2020 at 02:48, Roberto Alsina wrote: > > In principle yes, plugins can both import each other and find already > initialized instances of each other (which may be enough?) via > site.plugin_manager > > I can't get site.plugin_manager.getPluginByName() to do something useful but >

Re: [nikola-discuss] Plugins interactions

2020-04-27 Thread Roberto Alsina
In principle yes, plugins can both import each other and find already initialized instances of each other (which may be enough?) via site.plugin_manager I can't get site.plugin_manager.getPluginByName() to do something useful but you can always just use site.plugin_manager.getAllPlugins() That gi

[nikola-discuss] Plugins interactions

2020-04-27 Thread Mathieu Dugue
Can I call a plugin from another plugin ? My idea is to make a unique plugin for reposting the posts to other blogs (medium, devto for example). To avoid merging the two, I was wondering if it was possible to check if they are installed, and if yes call them from this big manager plugin. I'm a