-
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.
Add README and script to build docs in development
- Loading branch information
1 parent
43280b7
commit c6fd922
Showing
2 changed files
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# RorVsWild theme for RDoc | ||
|
||
## Usage | ||
|
||
``` | ||
gem install rorvswild_theme_rdoc | ||
rdoc --root path/source/code --template=rorvswild | ||
``` | ||
|
||
## Development | ||
|
||
Call the custom `rdoc.rb` script which automatically loads RorVsWild'd theme. | ||
|
||
``` | ||
./rdoc.rb --root path/source/code --template rorvswild | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env ruby | ||
|
||
$LOAD_PATH.prepend(File.expand_path(File.dirname(__FILE__)) + "/lib") | ||
|
||
require "rdoc" | ||
require "rorvswild_theme_rdoc" | ||
|
||
RDoc::RDoc.new.document(ARGV) |