Merge pull request #52225 from Earlopain/rdoc-hanging

Don't make rdoc generation take an unreasonable amount of time
This commit is contained in:
Rafael Mendonça França 2024-06-26 15:59:42 -04:00 committed by GitHub
commit 9d671f17c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -266,6 +266,8 @@ def self.without_modules(*modules)
ParamsWrapper
]
# Note: Documenting these severely degrates the performance of rdoc
# :stopdoc:
include AbstractController::Rendering
include AbstractController::Translation
include AbstractController::AssetPaths
@ -309,6 +311,7 @@ def self.without_modules(*modules)
# Params wrapper should come before instrumentation so they are properly showed
# in logs
include ParamsWrapper
# :startdoc:
setup_renderer!
# Define some internal variables that should not be propagated to the view.