source code for find docs command