I made of a mockup of what I think is a good format by using Wordpress.
NOTE: This is not an official site, just a quick mockup I did last night by some light modifications of the standard "Twentyten" theme. The best thing is the Python code syntax highlighting. You just have to surround your code by <pre> tags (example: <pre>myvar = len(some_array)</pre> to get it highlighted.
http://modulecoders.themidithief.com
I took inspiration from the PHP manual at
http://php.net. One great addition in the Wordpress version is the threaded comments which are much easier to follow.
Another idea is the Beta Club. An area where trusted members can beta test each others modules and give feedback before they are released. I have tired a plugin that restricts the area to logged in members with of a certain access level.
This system relies on that a group trusted editors/administrators that contributes with the main pages. Anyone (logged in or not) is able to comment on each page.
Feel free to try it out but keep in mind that it is just a demo / proof of concept.