you are already in $S, dodoc -r doc is sufficient