extract pages into static_docs gem