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