wip: doc generation