Doc generator