Merge pull request #50882 from sato11/rdoc-main-page

Prevent rdoc task from excluding the main page
This commit is contained in:
Rafael Mendonça França 2024-01-26 13:31:53 -05:00 committed by GitHub
commit 351a8d9bc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -146,8 +146,6 @@ def configure_sdoc
end
def configure_rdoc_files
rdoc_files.include(api_main)
RDOC_FILES.each do |component, cfg|
cdr = component_root_dir(component)
@ -172,6 +170,9 @@ def configure_rdoc_files
# Nothing to do
exit(0) if rdoc_files.empty?
end
# This must come after the mtime comparison to ensure the main page is not excluded.
rdoc_files.include(api_main)
end
# These variables are used by the sdoc template