You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discovered when working on #1300
Currently we need to call `setup` in individual generation methods,
despite having already called it in `RDoc#generate`. This is because
`setup` is lazily called when we run `ri`'s server mode.
By calling `setup` eagerly in `Servlet#generator_for`, we can avoid the
repeated calls to `setup` in individual generation methods.
Right now we can NOT move `setup` into `Darkfish#initialize` yet because
`ri`'s server can[ initialize `Darkfish` with `nil`
store](https://github.com/ruby/rdoc/blob/master/lib/rdoc/servlet.rb#L335).
0 commit comments