yard icon indicating copy to clipboard operation
yard copied to clipboard

parsing /doc

Open friedhelm-langhof opened this issue 13 years ago • 2 comments

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 ?

friedhelm-langhof avatar Feb 07 '13 11:02 friedhelm-langhof

There are a couple of reasons this could be happening:

  1. 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 SomeOtherFile to have YARD not try to use your pdf.
  2. 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?

lsegal avatar Feb 07 '13 18:02 lsegal

I just moved the README* - Files from the root-dir and i am fine.

thanks a lot!

friedhelm-langhof avatar Feb 22 '13 14:02 friedhelm-langhof