fix generating docs