yard
yard copied to clipboard
Class List is missing entries
Up to c26eedab (shortly after v0.9.16), YARD showed all the modules and classes as expected in the Class List for my project. The next commit, 92c1f875 (which fixed #1209), caused the Class List to show only one branch of the module/class hierarchy.
It seems this problem also occurs at rubydoc.info, because all versions of the stupidedi gem now show the incomplete class list. My guess is rubydoc.info is on a version newer than v0.9.16.
Steps to reproduce
$ git clone --depth 1 https://github.com/irobayna/stupidedi
$ cd stupidedi
$ <edit Gemfile to use gem "yard", github: "lsegal/yard", ref: "92c1f875">
$ bundle install
$ bundle exec rake yard
$ open build/generated/doc/class_list.html
Actual Output
Expected Output
Rolling back one commit,
$ <edit Gemfile to use gem "yard", github: "lsegal/yard", ref: "c26eedab">
$ bundle install
$ bundle exec rake yard
$ open build/generated/doc/class_list.html
The "Class List" should show all the classes that were shown in c26eedab, before 92c1f875:
Environment details:
- OS: macOS 10.14.6
- Ruby version (
ruby -v): ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18] - YARD version (
yard -v): see above - Relevant software dependency/versions:
- I haven't tried to reproduce this with projects other than stupidedi, so it might be some kind of interaction between that project and the change made in 92c1f875.
I have read the Contributing Guide.