Revert "Revert "Configure RDoc in Task#new""

This commit is contained in:
zzak 2023-02-10 17:26:31 +09:00 committed by GitHub
parent 8231a4c61e
commit 0607e5d5a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,16 +105,17 @@ class Task < RDoc::Task
}
def initialize(name)
super
# Every time rake runs this task is instantiated as all the rest.
# Be lazy computing stuff to have as light impact as possible to
# the rest of tasks.
before_running_rdoc do
configure_sdoc
configure_rdoc_files
setup_horo_variables
end
super do
configure_sdoc
end
end
# Hack, ignore the desc calls performed by the original initializer.