We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91f4fdc + 51e9074 commit 351a8d9Copy full SHA for 351a8d9
railties/lib/rails/api/task.rb
@@ -146,8 +146,6 @@ def configure_sdoc
146
end
147
148
def configure_rdoc_files
149
- rdoc_files.include(api_main)
150
-
151
RDOC_FILES.each do |component, cfg|
152
cdr = component_root_dir(component)
153
@@ -172,6 +170,9 @@ def configure_rdoc_files
172
170
# Nothing to do
173
171
exit(0) if rdoc_files.empty?
174
+
+ # This must come after the mtime comparison to ensure the main page is not excluded.
175
+ rdoc_files.include(api_main)
176
177
178
# These variables are used by the sdoc template
0 commit comments