[framework] [fix] don't clear in sync if no docs
Merge branch 'master' of github.com:webnotes/wnframework