doc: Removed duplicate contents:: directive
doc: Added API documentation