moderncv package is installed in my distribution. But when I try to open documentation using
texdoc moderncv some text are appeared instead of documentation. Why?
texdoc shows you the documentation PDF, or, if not available, the README file.
moderncv has no documentation on CTAN, but a README and that's shown.