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

This commit is contained in:
zzak 2023-02-10 17:31:25 +09:00 committed by GitHub
parent 0e25d8e01b
commit d40d4958da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -105,17 +105,16 @@ 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.