Bug #9228

rdoc can't generate documentation for ext/thread/thread.c on trunk

Added by Kazuki Tsujimoto over 1 year ago. Updated over 1 year ago.

[ruby-core:58962]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
ruby -v:ruby 2.1.0dev (2013-12-08 trunk 44065) [x86_64-linux] Backport:1.9.3: DONTNEED, 2.0.0: DONE

Description

=begin
$ rm -rf .ext/rdoc
$ make rdoc
$ ls -d .ext/rdoc/Queue
ls: cannot access .ext/rdoc/Queue: No such file or directory

When "ext/thread/thread.c" is specified as rdoc command option, it works.

$ ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- \
--disable-gems "./bin/rdoc" --root "." --page-dir "./doc" --encoding=UTF-8 \
--no-force-update --all --ri --op ".ext/rdoc" --debug ext/thread/thread.c
$ ls -d .ext/rdoc/Queue
.ext/rdoc/Queue
=end

Associated revisions

Revision 44082
Added by Eric Hodel over 1 year ago

  • ext/.document: Add syslog/lib and thread/thread.c to documentable items. [ruby-trunk - Bug #9228]

Revision 44082
Added by Eric Hodel over 1 year ago

  • ext/.document: Add syslog/lib and thread/thread.c to documentable items. [ruby-trunk - Bug #9228]

History

#1 Updated by Eric Hodel over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r44082.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • ext/.document: Add syslog/lib and thread/thread.c to documentable items. [ruby-trunk - Bug #9228]

#2 Updated by Eric Hodel over 1 year ago

  • Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: REQUIRED

This is only required in part for Ruby 2.0.0, ext/syslog/lib exists in ruby_2_0_0 branch but ext/thread/thread.c does not.

#3 Updated by Tomoyuki Chikanaga over 1 year ago

  • Backport changed from 1.9.3: DONTNEED, 2.0.0: REQUIRED to 1.9.3: DONTNEED, 2.0.0: DONE

r44082 was partially (only for ext/syslog/lib) backported to ruby_2_0_0 at r45052.

Also available in: Atom PDF