Revert "Revert "Configure RDoc in Task#new""
This commit is contained in:
parent
8231a4c61e
commit
0607e5d5a6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user