Doc: update xblock publish() function signature

Updated version of #2658 

@cpennington