forked from jeremyevans/sequel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup Rakefile and use new rdoc format for website
The website now will have 3 separate rdoc sections, one for core/model, one for adapters, and one for extensions/plugins. I think this will make the RDoc less cluttered and more approachable. The Rakefile website and website_rdoc tasks are now able to generate a fully functional local version of the site. In order for this to work, I changed all of the internal website links to relative links instead of the absolute links used previously. You can now use the Rakefile without rspec installed, though obviously you can't use the spec tasks. I refactored the Rakefile to use lambdas to reduce the amount of work done just by parsing the Rakefile, by only running code inside the tasks that need it. I removed the install_no_docs task. If anyone really wants it I can add it back. I made the .gitignore patterns absolute. I don't think this will cause any problems, and with normal usage of the sequel repository, there should be no effect. This commit changes the website task to only generate the base website, and adds a website_rdoc task to generate the 3 rdoc pages. You now need to use the website_rf task to update the sequel.rubyforge.org site. As I'm the only person that does that, I don't expect any complaints. I'm also switching the website upload to use rsync instead of scp, to improve the speed.
- Loading branch information
1 parent
d2f3b9b
commit c879600
Showing
7 changed files
with
139 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
spec/spec_config.rb | ||
rdoc | ||
pkg | ||
coverage | ||
www/public/*.html | ||
/spec/spec_config.rb | ||
/rdoc | ||
/pkg | ||
/coverage | ||
/www/public/*.html | ||
/www/public/rdoc* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters