[Moin-user] Integrating external docs into moin

Andrew Durdin me at andy.durdin.net
Thu Jan 29 09:27:46 EST 2009

We've just migrated our aging and neglected internal company wiki from DocuWiki to MoinMoin.  So now we've got a wiki that's easy to use and to write plugins for, I would like to know if the following is possible with plugins:

I've got a bunch of ReST text files in a Subversion repository, that are documenting some of our code libraries.  I'd like to be able to have these files displayed through the wiki, so that we have a single point for viewing, searching, linking to both our wiki content and these docs.

Is this feasible to do with MoinMoin plugins? Ideally every 'page' under, say, /Documentation would appear in the wiki as read-only, and would have its content fetched dynamically from Subversion and parsed with text_rst.  It appears that this might be possible by writing a 'show' action plugin that would handle the /Documentation pages itself, but delegate back to the builtin show action for all other pages; but this solution smells a little.  Is there a better approach?  Would there be any gotchas doing it this way?  Would this also require me to override most other builtin actions in a similar way to avoid them trying to work on the non-exist /Documentation/whatever wiki page?



More information about the Moin-user mailing list