Module description being overwritten

閲覧: 6 回
最初の未読メッセージにスキップ

coder...@gmail.com

未読、
2015/03/07 20:52:162015/03/07
To: yar...@googlegroups.com
Most of my libraries have a top-level module in lib/mything.rb. I add the docstring to the module in that file and all is well, until I add a second file that nests things under that namespace. Then I often get docs built that use the "docstring" from lib/mything/whatever.rb which is actually just my license header. How can I make sure that my docs from the main file are used?

Loren Segal

未読、
2015/03/07 21:37:252015/03/07
To: yar...@googlegroups.com
Hi,

This is asked often enough that there should probably be some text about this in the getting started guide, but multiple (2+) newlines separate code comments from objects. See https://github.com/lsegal/yard/issues/689 for more information.

Loren


On 3/7/2015 5:52 PM, coder...@gmail.com wrote:
Most of my libraries have a top-level module in lib/mything.rb. I add the docstring to the module in that file and all is well, until I add a second file that nests things under that namespace. Then I often get docs built that use the "docstring" from lib/mything/whatever.rb which is actually just my license header. How can I make sure that my docs from the main file are used?
--

---
You received this message because you are subscribed to the Google Groups "YARD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yardoc+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

全員に返信
投稿者に返信
転送
新着メール 0 件