[doc] Update definition location of attribute_spec in documentation