What we really want is for all apps to automatically turn all their .markdown files into Statocles::Page::Document objects, turn all other files into Statocles::Page::File objects, and then for some apps to additionally create more pages based on the document pages they found.
This should happen in the Statocles::App role. Then, the Blog app can add its own pages, the Plain app may not need to do anything, the Static app needs to consider everything a file, and the Perldoc app doesn't know what a document is at all.
This is surprisingly not a breaking change, I don't think...
What we really want is for all apps to automatically turn all their .markdown files into Statocles::Page::Document objects, turn all other files into Statocles::Page::File objects, and then for some apps to additionally create more pages based on the document pages they found.
This should happen in the Statocles::App role. Then, the Blog app can add its own pages, the Plain app may not need to do anything, the Static app needs to consider everything a file, and the Perldoc app doesn't know what a document is at all.
This is surprisingly not a breaking change, I don't think...