Better doc generator