Remove legacy code relate to documentation generation

Closes #65