It's transclusion-based/index-based so essentially you crate a master-index (a shelve of books) and start develop books chapters, you can split them in as many pages as you like, combine pages by transclusion, linking subpages etc still maintaining a kind of tree-like structure. Of course with full-text search, multi-user support etc like MediaWiki.