Merge pull request #1012 from yongbozhang/issue-423

Remind not to put block in if statements in doc