Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.5.0 fails to properly parse ruby-3.2.0 source directory #959

Open
gromnitsky opened this issue Dec 26, 2022 · 1 comment
Open

6.5.0 fails to properly parse ruby-3.2.0 source directory #959

gromnitsky opened this issue Dec 26, 2022 · 1 comment

Comments

@gromnitsky
Copy link

$ ruby -v
ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux]

$ gem install rdoc -v 6.5.0
$ gem install rdoc -v 6.4.0

$ wget https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.0.tar.gz
$ tar xf ruby-3.2.0.tar.gz
$ cd ruby-3.2.0

Then, testing with v6.5.0 yields:

$ rdoc _6.5.0_ -r -o 650
$ find 650 -type f | wc -l
81

which is obviously not quite right.

But with v6.4.0 everything seems to work fine:

$ rdoc _6.4.0_ -r -o 640
$ find 640 -type f | wc -l
11227
@ruby ruby deleted a comment from Ronny11113 Mar 23, 2023
@mfa777
Copy link

mfa777 commented Aug 14, 2024

I can reproduce this issue.

Ruby version: 3.3.4

rdoc Version 6.4.0:

rdoc _6.4.0_ -o doc334
Parsing sources...
100% [952/952]  yjit.rb

Generating Darkfish format into ruby-3.3.4/doc334...

  Files:        952

  Classes:     1236 ( 295 undocumented)
  Modules:      227 (  71 undocumented)
  Constants:   2328 ( 606 undocumented)
  Attributes:  1448 ( 241 undocumented)
  Methods:    11061 (1583 undocumented)

  Total:      16300 (2796 undocumented)
   82.85% documented

  Elapsed: 42.2s

rdoc Version 6.7.0

rdoc -o doc334
Parsing sources...
100% [73/73]  doc/yjit/yjit_hacking.md

Generating Darkfish format into ruby-3.3.4/doc334...

  Files:      73

  Classes:     2 (0 undocumented)
  Modules:     2 (1 undocumented)
  Constants:   1 (0 undocumented)
  Attributes:  2 (0 undocumented)
  Methods:     7 (0 undocumented)

  Total:      14 (1 undocumented)
   92.86% documented

  Elapsed: 6.1s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants