P.S. Perhaps I should mention that if you're using texdoc from the current TL (as opposed to the original 2016 release), I modified it slightly a couple weeks ago to have a builtin viewer for "md" that was equivalent to "txt" (just to stop the useless warning). I don't think this has any bearing on the problem at hand, but just mentioning ... -k