-
Notifications
You must be signed in to change notification settings - Fork 439
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
Reduce document difference between RDoc::Parser::Ruby and RDoc::Parser::PrismRuby #1284
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 👍
2 questions wrt the Prism-based parser:
- Do you think we should automate the diff comparison on CI?
- Are we close to turning on Prism Ruby parser by default? Since
rdoc
is now a bundled gem and theprism
gem is pretty stable, I think adding it as a dependency may be easier now.
I used merge commit for this PR because the changes are cleanly separated (❤️) and I think these context will be valuable for future development. |
About diff between master and pull-request: About comparing
I think it's almost ready for switching. |
Fix these bugs/incompatibilities which was making makes many differences between two parsers
Diff
Diff of generating html files in ruby/ruby between RDoc::Parser::Ruby and RDoc::Parser::PrismRuby
Some link of constant names in document text are removed/added
CGI/Util.html
Exception.html
Gem/DefaultUserInteraction.html
Gem/Security.html
MakeMakefile.html
NEWS/NEWS-3_2_0_md.html
Net/HTTPHeader.html
OpenSSL/Buffering.html
OpenSSL/PKey/DSA.html
OpenSSL/PKey/EC.html
OpenSSL/PKey/RSA.html
Ripper/Filter.html
UnicodeNormalize.html
Trailing garbage text removed from meta tag
Fiddle/DLError.html
Prism/ConstantPathNode.html
Prism/ParenthesesNode.html
Call-seq improved or changed(space added/removed)
Delegator.html
Fiddle/Error.html
FileUtils.html
Gem/Commands/QueryCommand.html
MonitorMixin/ConditionVariable.html
Net/HTTPHeader.html
YAMLTree.html
SyntaxSuggest/CleanDocument.html
YAML/DBM.html
Wrong include/extend removed
CGI.html
ERB/Util.html
Gem/BasicSpecification.html
Gem/Commands/SetupCommand.html
Gem/Platform.html
Gem/Util.html
MakeMakefile.html
OpenURI/Meta.html
Missing constant added
DidYouMean.html
Gem/Validator.html
Missing document comment added
DidYouMean.html
Missing method added
Digest/SHA2.html
ERB/Util.html
Method source improved
Gem/Commands/SetupCommand.html
Method visibility improved
Gem/Commands/SetupCommand.html
IPSocket.html
Ractor.html
Wrong method removed
Resolv/SZ.html
SyntaxSuggest.html
Wrong metaprogramming comment treated as method comment
Gem/Specification.html
Object.html
Wrong comment removed
Net/HTTP.html
Net.html
RDoc bug was suppressed by another bug, but not supperssed anymore
Net/HTTPFatalError.html
Method added
Pathname.html
Comment
# -> path # :nodoc:
is not considered to be a :nodoc: comment in PrismRuby.index.html
Link to Gem::Request and UnicodeNormalize is added (unknown)
Ripper::Lexer is removed (it has
#:nodoc: internal use only comment
comment)EXCEPTION_TYPE added (RDoc::Parser::Ruby does not handle
EXCEPTION_TYPE = HTTPError #
)