docs: master detail example with comments