pub fn create_and_get_documentation_path<T: Into<TypeDefinition>>( base_path: &PathBuf, ty: T, ) -> Result<PathBuf, DocumentationGenerationError>