Make `rake doc:guides` works again.  Fix #10384.

Conflicts:
	railties/guides/rails_guides.rb
	railties/lib/rails/tasks/documentation.rake