Closed ivanhercaz closed 3 years ago
Hey Ivan. 👋🏻 According to the relevant docs, the short name should be accepted just fine, so the reason for this proposed change is not clear to me.
But even the existing docs here shouldn’t be necessary since namespace plugins should be automatically registered, so I think the entire PLUGINS and PLUGIN_PATH setting-related stuff can be removed from the README.
Ups! Really interesting. I really like this new plugins system. I proposed it because I tried the name of the plugin in PLUGINS
and it didn't works, but I don't tried to just write the configuration. Tomorrow I will try it.
And you are agree, according to the docs, both settings should be removed from the example so I can adapt this PR or close it and open a new one.
Thank you for the information, @justinmayer !
No need to open a new PR — re-purposing this one would be just fine. As noted above, I recommend removing the outdated information, such that the first line of the displayed default setting would be: SITEMAP = {
@justinmayer I just downloaded this in a Pelican 4.5.4 project, added just the SITEMAP setting to my pelicanconf.py file but it doesn't do anything, no sitemap is created. Any ideas?
EDIT: sorry, stupid mistake (didn't pop up as a new file in git since output/ isn't being tracked), works great!
Addressed via c2c15f3.
Hi everyone, If the plugin is installed with
pip
it should be inserted inPLUGINS
with the valuepelican.plugins.sitemap
. I think it should be specified in the example, don't you think?I am open to any suggestion!