create doc for model