yard
yard copied to clipboard
parsing /doc
i started to generate the docs with
yard doc --output-dir doc/yard/doc/whatever app
and got the warning for [warn]: In file `README.pdf':23: Cannot resolve link to ??,?E????A?? from text:
but this file is located in /doc, but as it should only parse app and comile to doc/yard/doc/whatever this behavior is not expected. is there any possibility to not let yard parse /doc ?
There are a couple of reasons this could be happening:
- README.pdf is also located in your root project directory. YARD looks for any README.* file in the root directory to use as the main readme file by default. In this case you will want to pass
--main SomeOtherFileto have YARD not try to use your pdf. - You have a .yardopts file that is explicitly asking YARD to parse the README.pdf file.
If you have a .yardopts file, can you list it here?
I just moved the README* - Files from the root-dir and i am fine.
thanks a lot!