TLDR; right now, since infinite nesting and dynamic document generation is not well supported it’s not quite possible to build public knowledge bases, though Coda will one day be excellent for that!
There are some ways to get around that depending on the amount of work you’re willing to do.
This directly addresses your question and there are some great solutions here:
This is a repository for any tricks that people have collected, I wrote quite a bit about the things that are possible and the shortcomings therein:
Finally, here is a Feature Request for what it seems would be necessary to get a wiki working, if there is anything you see missing there please add it to the thread: