Replacing Document-class: Byebug with Document-module: Byebug in ext/byebug/byebug.c fixes yard doc. Without this, it appears that YARD clobbers everything except what's in the C files. At the time of writing, https://rubydoc.info/gems/byebug contains only the following:
Byebug (module)
DebugThread < Thread
ThreadsTable < Object
Context < Object
Exception
Kernel
ThreadsTable < Object
This is missing almost all the Ruby classes. This change un-confuses YARD, resulting in documentation for the Ruby code.
Replacing
Document-class: Byebug
withDocument-module: Byebug
inext/byebug/byebug.c
fixesyard doc
. Without this, it appears that YARD clobbers everything except what's in the C files. At the time of writing, https://rubydoc.info/gems/byebug contains only the following:This is missing almost all the Ruby classes. This change un-confuses YARD, resulting in documentation for the Ruby code.