Commit Graph

76 Commits

Author SHA1 Message Date
Rahul Chaudhari 8e5686658e Updated Rakefile as CHANGELOG has been renamed to CHANGELOG.md 2011-11-08 23:20:38 +05:30
Vijay Dev 82de8ad9c1 Use Travis https build status image in order to prevent GitHub from
caching the http version.

The syntax for including an https image url in RDoc taken from
http://about.travis-ci.org/docs/user/status-images. Having this in a
line of its own now to make regex replacement for the API simpler!
2011-09-08 01:27:24 +05:30
Xavier Noria 5aa86f793f let SDoc add a link to the source code in GitHub for each method 2011-08-29 15:47:56 -07:00
Xavier Noria 827a0fee07 use sdoc to generate the API 2011-08-27 03:55:01 -07:00
Anand 71232f5d5d Travis status image added to GitHub README, excluding API pages. 2011-08-22 22:28:02 +05:30
Vijay Dev c3bd6bb75f Fixes readme links better - earlier links broke when the current page is anything other than github.com/rails/rails/. Even github.com/rails/rails (without the trailing slash) broke the readme links. Also change the rakefile that generates the rdoc readme accordingly 2011-08-13 22:14:18 +05:30
Xavier Noria ed4be0a3a4 explains why links are gsub'ed, and changes the regexp delimiters 2011-06-19 11:45:36 +02:00
Vijay Dev 96c57d4bd0 To solve the problem of links being broken in GitHub for the sake of api site, have them replaced at runtime during rdoc generation 2011-06-18 23:45:59 +05:30
Xavier Noria caadef9dd4 backslash insertion for RDoc main page ignores code blocks, also adds comments to explain what's this hack about 2011-06-12 15:03:28 +02:00
Xavier Noria de757af8b0 revises the pattern that excludes generator templates in API generation
With the previous pattern RDoc processed

    railties/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb

and that resulted in a spurious "<" class.
2011-06-12 12:09:08 +02:00
Akira Matsuda 05adf524c6 Ensure RDoc::Task exists even if 'rdoc/task' was not required 2011-05-26 01:37:34 +09:00
Akira Matsuda 24b28a2a0c require 'rake/rdoctask' if failed to require 'rdoc/task'
fixes a regression introduced by b921679d0d
require 'rdoc/task' fails if the system RDoc version is below 2.4.2 (e.g. CRuby 1.8.7)
2011-05-26 00:15:23 +09:00
Xavier Noria e68b7a001d (temporary hack) generate a main file for RDoc escaping "Rails"
RDoc autolinks the word "Rails" to the doc page for the Rails module.
But README.rdoc is displayed in the home page at GitHub and the slashes
are visible there, which is weird. We leave by now the slashes off in
the file, and generate a second file for the API with them.
2011-05-01 13:15:15 +02:00
Diego Carrion f65023cbda expose ActionMailer::MailHelper in the RDoc 2011-03-09 14:56:44 -03:00
Xavier Noria 37bd45f893 upgrades to RDoc ~> 3.4 and removes the gem call in root Rakefile (use bundle exec if needed) 2011-01-12 20:59:31 +01:00
Xavier Noria 55f2e9f898 removes binary? hack for RDoc, API requires RDoc 3 and horo 1.0.3 2010-12-23 00:05:38 +01:00
raggi cb1570936d Rakefiles are executables, and rake loads rake, not rakefile code 2010-11-25 06:49:55 +08:00
Santiago Pastorino 08eee5ce20 Fix stupid error 2010-11-17 20:06:19 -02:00
Santiago Pastorino 884e3506d2 Bump builder to 3.0.0 2010-11-17 19:35:58 -02:00
Santiago Pastorino 646e5202e0 Typo fixed 2010-11-17 10:27:44 -02:00
Carl Lerche c3dd1238c5 Small cleanup of the release task 2010-11-16 17:19:47 -08:00
Carl Lerche 4ff8c59fb7 Update the main Rakefile to use the new release tasks 2010-11-16 17:19:47 -08:00
Carl Lerche 7e4f9dbd67 Remove the old gem release task 2010-11-16 17:19:46 -08:00
Xavier Noria dff0dfb7f8 adds a publish_docs task to force stable docs generation and publishing after a new stable tag has been pushed 2010-11-16 14:07:55 +01:00
Jeremy Kemper b861942691 Update CHANGELOGs for 3.0 release and upcoming 3.1 2010-08-29 22:06:48 -07:00
Xavier Noria f6222ead47 the pdoc task is no longer needed 2010-08-20 13:14:57 +02:00
Santiago Pastorino cad8bef5ea Bump up rdoc to 2.5.10 2010-08-18 11:44:12 -03:00
Xavier Noria 997021eb29 undoes one of the modifications to RDoc::Parser.binary? 2010-08-07 20:10:01 +02:00
Xavier Noria 0953c04cf5 quick hack: hijacks the predicate RDoc::Parser.binary? so that it does not consider a handful of ordinary Ruby files in the Rails tree as binary (and thus excluded from the API) 2010-08-07 15:18:22 +02:00
Xavier Noria aed698a7c8 adds Abstract Controller to the API 2010-08-07 01:42:09 +02:00
Xavier Noria dcb7832ed5 APIs for individual components are no longer published 2010-07-26 00:05:14 +02:00
Xavier Noria 728ba209e7 include the root README.rdoc as main page 2010-07-24 00:35:22 +02:00
Aaron Patterson b50635a59f update Rakefiles for RDoc 2.5 2010-07-23 21:11:29 +02:00
Xavier Noria 2944a79452 bump required RDoc to >= 2.5.9, and replace the 2.2 horo.rb with Aaron's gem 2010-07-22 23:19:01 +02:00
José Valim 508fba9e07 Add .rdoc extension to README files. 2010-07-21 12:51:14 +02:00
Xavier Noria 2aa4e5f3fa pdoc tasks publishe APIs in api.rubyonrails.org 2010-06-16 22:39:13 +02:00
Xavier Noria 07c6b7a6ad migrates the Jamis template to RDoc 2.x, the root Rakefile requires RDoc 2.2
To understand the changes in horo.rb check rdoc/template.rb in a RDoc 2.x
2010-06-16 04:06:20 +02:00
Xavier Noria e3549a8054 get railties/README back to the home page of the API 2010-05-25 17:26:01 +02:00
Andrew White d39ec81955 Make Railties RDoc task work again [#4291 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
2010-03-28 22:45:03 -07:00
Andrew White 26bc5c542e Add ActionDispatch to RDoc task [#4287 state:resolved]
Signed-off-by: wycats <wycats@gmail.com>
2010-03-28 17:09:37 -07:00
José Valim 46b7704b74 Do not need to load ActionPack::VERSION 2010-03-27 12:38:55 +01:00
wycats c428fbdb1d Use the new RAILS_VERSION in rake install (ht: ZhangJinzhu) [#4116 state:resolved] 2010-03-27 04:10:40 -07:00
José Valim bbc4de75d3 Require AP::VERSION in order to install gems. 2010-03-10 14:32:02 +01:00
Bryan Helmkamp deb00bcb8c Read Rails version from a file instead of modifying the load path and doing requires
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-03-04 21:25:52 -08:00
Bryan Helmkamp f221a6f19f Leverage VERSION constants from gemspecs to avoid tedious updates when releasing 2010-03-02 00:32:53 -05:00
Bryan Helmkamp b1769fe0bd Add `rake update_versions` task at root for quickly updating all components 2010-03-02 00:32:41 -05:00
Bryan Helmkamp 11db694e0b Remove cruft in the gem packaging and release code 2010-03-01 19:00:19 -08:00
José Valim 87a011df6f Make install appear on rake -T. 2010-02-21 14:18:40 +01:00
Xavier Noria 9fd9e5d4f7 fixes doc generation
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-02-10 14:37:56 -08:00
Jeremy Kemper 459ecaf95d Submarine the rake-gemcutter dep in Rakefiles 2010-02-05 00:03:03 -08:00