Skip to content

Commit 9d671f1

Browse files
authored
Merge pull request rails#52225 from Earlopain/rdoc-hanging
Don't make rdoc generation take an unreasonable amount of time
2 parents 9f31032 + 979e308 commit 9d671f1

File tree

1 file changed

+3
-0
lines changed
  • actionpack/lib/action_controller

1 file changed

+3
-0
lines changed

actionpack/lib/action_controller/base.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ def self.without_modules(*modules)
266266
ParamsWrapper
267267
]
268268

269+
# Note: Documenting these severely degrates the performance of rdoc
270+
# :stopdoc:
269271
include AbstractController::Rendering
270272
include AbstractController::Translation
271273
include AbstractController::AssetPaths
@@ -309,6 +311,7 @@ def self.without_modules(*modules)
309311
# Params wrapper should come before instrumentation so they are properly showed
310312
# in logs
311313
include ParamsWrapper
314+
# :startdoc:
312315
setup_renderer!
313316

314317
# Define some internal variables that should not be propagated to the view.

0 commit comments

Comments
 (0)