1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/generators
Xavier Noria cd7cc5254b Remove documentation tasks
This patch removes the tasks doc:app, doc:rails, and doc:guides.

In our experience applications do not generate APIs using doc:app.
Methods may be certainly documented for maintainers, annotated
with YARD tags, etc. but that is intended to be read with the
source code, not in a separate website. Then, teams also have
typically selected topics written down in Markdown files, or in
a GitHub wiki... that kind of thing.

If a team absolutely needs to generate application documentation
for internal purposes, they can still easily write their own task.

Regarding doc:rails and doc:guides, we live in 2015. We are used
to go to online docs all the time. If you really want access to the
API offline RubyGems generates it for every Rails component unless
you tell it not to, and you can checkout the Rails source code to
read the guides as Markdown, or download them for a Kindle reader.

All in all, maintaining this code does not seem to be worthwhile
anymore.

As a consequence of this, guides (+3 MB uncompressed) won't be
distributed with the rails gem anymore. Of course, guides and API
are going to be still part of releases, since documentation is
maintained alongside code and tests.

Also, time permitting, this will allow us to experiment with novel
ways to generate documentation in the Rails docs server, since
right now we were constrained by being able to generate them in
the user's environment.
2015-02-06 21:04:54 +01:00
..
actions_test.rb Remove some warning with Ruby 2.2 2014-12-29 16:09:59 -03:00
app_generator_test.rb Remove documentation tasks 2015-02-06 21:04:54 +01:00
argv_scrubber_test.rb Revert "Merge pull request #15305 from tgxworld/remove_unnecessary_require" 2014-07-30 09:46:33 -03:00
assets_generator_test.rb Remove unnecessary comment. 2012-05-23 11:45:08 +03:00
controller_generator_test.rb A few more tests asserting the presence of helper test stubs 2014-08-03 15:12:27 -07:00
create_migration_test.rb Add CreateMigration action 2014-01-28 00:01:19 +01:00
generated_attribute_test.rb test, Generators::GeneratedAttribute with references, required, index. 2014-10-16 15:50:13 +02:00
generator_generator_test.rb Stop reading the same file twice for testing different content 2013-07-22 22:43:38 -03:00
generator_test.rb Revert "Merge pull request #15305 from tgxworld/remove_unnecessary_require" 2014-07-30 09:46:33 -03:00
generators_test_helper.rb - Extracted silence_stream method to new module in activesupport/testing. 2015-01-20 22:28:48 +05:30
helper_generator_test.rb Bring back the helpers tests 2014-08-05 14:04:30 +02:00
integration_test_generator_test.rb Remove the laziness from the middleware stack. 2010-06-03 23:32:10 +10:00
job_generator_test.rb Test coverage for ActiveJob generator 2014-12-07 08:29:12 +03:00
mailer_generator_test.rb Add _mailer suffix to i18n path 2015-01-08 22:24:22 -05:00
migration_generator_test.rb Add Secure Token Generator 2015-01-11 14:42:54 -05:00
model_generator_test.rb Add Secure Token Generator 2015-01-11 14:42:54 -05:00
named_base_test.rb Stop requiring mocha automatically 2014-07-19 17:35:12 -03:00
namespaced_generators_test.rb Add _mailer suffix to i18n path 2015-01-08 22:24:22 -05:00
orm_test.rb Use Ruby 1.9 Hash syntax in railties 2012-10-14 18:26:58 +02:00
plugin_generator_test.rb Fixed a few things from ee9e4c3 2015-01-30 15:42:51 -08:00
resource_generator_test.rb A few more tests asserting the presence of helper test stubs 2014-08-03 15:12:27 -07:00
scaffold_controller_generator_test.rb build fix. 2015-01-30 13:35:35 +01:00
scaffold_generator_test.rb Force generated route to be inserted 2015-02-05 17:54:23 +00:00
shared_generator_tests.rb Change option description and update test names 2015-01-29 15:44:26 -05:00
task_generator_test.rb Added test when task generator called on revoke 2013-11-23 17:04:30 +01:00