|
From: will kahn-g. <wi...@bl...> - 2011-11-09 12:33:15
|
I can't remember if I mentioned it or not, yet, but this is one of the other things I changed last week: all core plugins have documentation in the Pyblosxom manual now. It's all in "part 2" of the manual: http://pyblosxom.bluesock.org/1.5/index.html#part-2-core-plugin-documentation The documentation is extracted from the docstring at the top of the file with a script. In this way, we can update the plugins and the documentation for the plugins all at once and then it gets pulled into the manual automatically. This also solves the problem of "Where's the damn docs for this plugin I enabled with 'Pyblosxom.plugins.xyz'?" Also, I did some minor renaming: * rst -> rst_parser * markdown -> markdown_parser Changes are covered in the updated WHATSNEW section for 1.5rc4 (which might end up being 1.5final--we'll see): http://pyblosxom.bluesock.org/1.5/whatsnew.html#what-s-new-in-1-5-rc4-in-development /will On 11/09/2011 07:26 AM, will kahn-greene wrote: > The comments plugin requires more setup than just adding it to the > load_plugins list. There's documentation here: > > http://pyblosxom.bluesock.org/1.5/plugins/comments.html > > Hope that helps! > > /will > > > On Tue 08 Nov 2011 08:18:56 PM EST, Akai wrote: >> Mostly tried to see if there was any change. I can't figure out how to >> get comments on my blog and I assumed that adding a comments plugin >> would do something >> >> >> >> On 11/9/2011 3:14 AM, Will Kahn-Greene wrote: >>> >>> There really isn't a "new" method. The only thing that changed last >>> week is that a bunch of plugins are now in the Pyblosxom.plugins >>> package. Because of that, they're already on sys.path and you can just >>> refer to them as "Pyblosxom.plugins.xyz" without specifying additional >>> directories in your plugin_dirs. >>> >>> Thus, to use comments with what's in git master, you can do: >>> >>> py["plugin_dirs"] = [] >>> py["load_plugins"] = ["Pyblosxom.plugins.comments"] >>> >>> >>> The things you've done in your plugin_dirs in this case won't help, >>> but probably won't hinder you either. >>> >>> Why do you think this isn't loading plugins? What did you do to see >>> if the plugins were being loaded or not? >>> >>> /will >>> >>> >>> On Wed, 9 Nov 2011, Akai wrote: >>>> >>>> Hi everyone, >>>> >>>> Sorry to be bugging you guys.. >>>> I can't manage to install any plugins >>>> I tried the "new" method from the WHATSNEW file and the old ones from >>>> the other docs >>>> some of my attempts: >>>> >>>> py["load_plugins"] = ["Pyblosxom.plugins.comments"] >>>> py["plugin_dirs"] = [os.path.join(blogdir, >>>> "plugins"),"/home/sites/bloxblog/Pyblosxom/plugins"] >>>> etc.. >>>> >>>> I'm running the current GIT head version if that helps, using CGI >>>> rendering (though I tried Paste as well) >>>> >>>> -Akai >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> RSA(R) Conference 2012 >>>> Save $700 by Nov 18 >>>> Register now >>>> http://p.sf.net/sfu/rsa-sfdev2dev1 >>>> _______________________________________________ >>>> Pyblosxom-devel mailing list >>>> Pyb...@li... >>>> https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel >>>> |